You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more complicated than it appears. Since the axis is not tied to any data series, it automatically ranges from -1 to 1. In this context the ticks are correct; 0 (A) appears in the middle of the axis. If you set min: 0, max: 3 in the axis options, then all the ticks appear.
This is probably the wrong behavior - if ticks are provided, one would expect their x-values to influence the min/max - but determining the correct behavior needs more thought.
There's also another problem: since the second axis isn't associated with a bar series, its ticks aren't offset as per the 'align' property, even though the axis has alignTicksWithAxis specified. This is a more straightforward bug, but the fix requires a bit of work.
I'm moving this to the 0.9 milestone, since it will take more time to address, and it is possible to work around the issue once one understands the underlying (confusing and undocumented) behavior.
I'm trying to use the x2axis with a bar chart, but there seems to be a bug that prevents the correct number of ticks to be displayed. See
http://jsfiddle.net/paaland/4RwYX/2/
The text was updated successfully, but these errors were encountered: