I have time-based data that ranges from 1 to 500. Time is plotted on the x axis and the values are on the y axis.
When the range between the minimum and maximum data-points is great the y-axis’ start label is 0. I can tell Highcharts not to display the label by setting yAxis.startOnTick = false; but that’s is not really what I’m after.
Here is a jsfiddle of the problem where you cannot tell if the first point is 0 or some other value. Having 0 here also looks like the min range for y is
0, not 1.
Can Highcharts display the first label and the first label should always be set to the minimum value in the dataset (relative to its axis).
I am amazed how difficult this is. Not an optimal solution, but the best I can dream up with HighChart’s api: