user281867 user281867 - 1 year ago 101
Javascript Question

Highcharts show the same yAxis start and end value with multiple data series

I’m trying to get both the left and right yAxis to show the same start and end.
Is it possible to show the same increment on yAxis with multiple data series? If so could you provide a sample code or point to an example. Here’s what I’m trying to achieve.

enter image description here

Thank you in advance for your help!

Answer Source

Yes it is possible. You can control the axis labels by using the same min, max, and tickInterval for both axis. In the following example I use the following on both series:

min: 0,
max: 600,
tickInterval: 50,