michoc
Posts: 1
Joined: Tue Sep 18, 2018 9:48 pm

Centered Plot Area

I have a bar chart where in some cases the plat area - the actual bars - end up centered within the plot area. They bars are still accurate lengths but there is a huge, equal amount of space on both sides.

We want the base of the bars to be aligned with the axis.

These seems to happen only when the values in the chart are between 0.0 and 1.0, e.g. 0.533, 0.743, etc. In this case the only values on the x-axis are 0 and 1. However, the same chart also plots much larger values, so I need a config that works for both.

thanks!
Attachments
Capture.PNG
Capture.PNG (8.15 KiB) Viewed 207 times
bastss
Site Admin
Posts: 1192
Joined: Wed Oct 17, 2018 10:59 am

Re: Centered Plot Area

Hello michoc!

Could you send a simple demo(jsFiddle) of your example? Without it, it's really hard to say what could be wrong.

Best regards!
Sebastian Wędzel,
Highcharts Developer

Return to “Highcharts Usage”