kasia
Posts: 3
Joined: Fri Jul 22, 2022 6:10 am

Plot band not fully visible (max beyond the chart)

Hello everyone,

I coded a chart like this one and provided:
plot band min= 200
plat band max= 300
max value on the line chart = 245

My issue is that a user can't see what the plot band max is. Could I somehow zoom out or force Y axis to show also higher values?

Image
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Plot band not fully visible (max beyond the chart)

Hello Kasia!

The easiest way to achieve that would be to set yAxis.max to 300 (or any desired value).
Include that property in your code and let me know if that worked for you.

DEMO: https://jsfiddle.net/BlackLabel/p84chkos/

Best regards!
Kamil Musiałowski
Highcharts Developer
kasia
Posts: 3
Joined: Fri Jul 22, 2022 6:10 am

Re: Plot band not fully visible (max beyond the chart)

Thats exactly what I was looking for! Thanks a lot Kamil
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Plot band not fully visible (max beyond the chart)

Great to hear that!

Do not hesitate to contact us in the future,
Have a good day!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Stock”