Ahmed
Posts: 4
Joined: Thu Sep 23, 2021 9:12 am

how to divide area of chart equally

marketdepth.png
marketdepth.png (9.45 KiB) Viewed 474 times
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: how to divide area of chart equally

Hi,

Thanks for contacting us with your question!

Here is an official demo showing how to create chart as you need:
https://www.highcharts.com/demo/stock/depth-chart

Let me know if you have any further questions!
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer
Ahmed
Posts: 4
Joined: Thu Sep 23, 2021 9:12 am

Re: how to divide area of chart equally

Thanks for your reply.. how can i set max width so it should not cross mid point
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: how to divide area of chart equally

Hi,

You need to add additional xAxis and set width: 50% for each one of them. The following demo should clarify this:

Demo
https://jsfiddle.net/BlackLabel/xaudgobf/

Let me know if that was what you were looking for!
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Stock”