Reputation: 20192
We are using high stock and I was trying to combine these two examples
such that zoom can be used with multiple axis. This is the result where the y-axis is now all screwed up
my merged example with literally just one tweak to highcharts code
Is there any way to get zoom with multiple axis working in one chart? This would seem like a pretty common desire. (The thing that breaks is the y-axis starts overlapping and stepping on each other when these examples were combined)
thanks, Dean
Upvotes: 2
Views: 1680
Reputation: 45079
Since you have Highstock loaded to the site, you can create simple Highcharts chart, and enable features from Highstock, for example: http://jsfiddle.net/rP5su/1/
navigator: {
enabled: true
},
rangeSelector: {
enabled: true
},
scrollbar: {
enabled: true
},
Of course that solution requires Highstock to work, simple Highcharts library doesn't contain navigator, scrollbar etc.
Upvotes: 1
Reputation: 20192
Well, I am not sure why the merge doesn't work, but the work around was to specify an offset on each y-axis, 100 for the first axis, 200 for the second axis, etc. which worked around the issue.
Upvotes: 0