Valerio.81
Posts: 3
Joined: Thu Feb 03, 2022 5:11 pm

Chart with zones

Hi, I have to plot a chart that has the last point connected with the dotted line but it not works.
I reproduced my chat in this fiddle: http://jsfiddle.net/Lnzjcp51/
User avatar
dawid.d
Posts: 837
Joined: Thu Oct 06, 2022 11:31 am

Re: Chart with zones

Hello,

Thanks for contacting us with your question!

Note that the default axis for setting zones is the y-axis. To change this, use the zoneAxis: 'x' option.
API: https://api.highcharts.com/highcharts/s ... e.zoneAxis
Demo: http://jsfiddle.net/BlackLabel/df9bjt2u/

I hope you will find it useful
Best regards!
Dawid Draguła
Highcharts Developer
Valerio.81
Posts: 3
Joined: Thu Feb 03, 2022 5:11 pm

Re: Chart with zones

dawid.d wrote: Tue Dec 06, 2022 5:18 pm Hello,

Thanks for contacting us with your question!

Note that the default axis for setting zones is the y-axis. To change this, use the zoneAxis: 'x' option.
API: https://api.highcharts.com/highcharts/s ... e.zoneAxis
Demo: http://jsfiddle.net/BlackLabel/df9bjt2u/

I hope you will find it useful
Best regards!
Thank you. It works. :)
User avatar
dawid.d
Posts: 837
Joined: Thu Oct 06, 2022 11:31 am

Re: Chart with zones

You're welcome! In case of any further questions, feel free to contact us again.
Best regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Usage”