Hi,
Welcome to our forum & thanks for the question!
In Highcharts Core you can use:
-
yAxis.max to set the maximum value for the y axis
-
yAxis.endOnTick to make sure that the last tick is shown
In Highcharts Stock these properties work the same but the last tick value cannot be shown as it would cover the range-selection.
There are a few workarounds around this:
1. You could use
chart.renderer.text to render a custom SVG label in this place with a smaller font
2. You could increase the
yAxis.max by 10 and then you would see the value 30 (but the last value would still be hidden).
Here's an example
demo: https://jsfiddle.net/BlackLabel/8jem9fy1/
Let me know if that helps!
Best regards,
Jakub