Closed (duplicate)
Project:
Highcharts
Version:
7.x-1.x-dev
Component:
API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2012 at 22:54 UTC
Updated:
4 Sep 2012 at 11:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
somimi commentedI get the same error, and my Y-axis doesn't get saved either. Neither do my data labels for the X-axis seem to work, though I see that that's already been submitted as a separate issue,
Comment #2
somimi commentedThis issue seems to be caused by mismatched labeling between these two files: views_highcharts.theme.inc and views_highcharts_plugin_style_highcharts.inc.
I made a patch that solves the y-Axis labeling, but I still can't get the x-axis labels to show appropriately. I've got a date field for each node that's being graphed, and each group of bars should be labelled with their respective date on the x-axis. Any ideas? I imagine it's got to do with lines 38-70 or so of views_highcharts.theme.inc, but I need more help figuring out how to retrieve the appropriate field label from the view and populating the array with those values.
Comment #3
somimi commentedHey stovak, have you had a chance to look at this issue? The latest alpha release still shows the same error that prevents the y-axis label from rendering appropriately. Take a look at line 148 of views_highcharts_plugin_style_highcharts.inc. It should be
'#default_value' => $this->options['y_axis']['title']instead of'#default_value' => $this->options['yAxis']['title_text']And lines 28-29 of views_highcharts.theme.inc also use
$options['yAxis']instead of$options['y_axis'].Comment #4
stovak commentedadded and re-released as alpha 3.
Comment #5
wormz30 commentedI'm experiencing the same error and I have the latest 7.x version.
Comment #6
stovak commentedI believe this was fixed and remains fixed in Alpha 5...???
Comment #7
stovak commentedComment #9
larskleiner commentedThis one seems to have been fixed only in 7.x-1.0-alpha6 but not in 7.x-1.x-dev.
Comment #10
larskleiner commentedSee http://drupal.org/node/1773498 for the underlying issue with #9.