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

Centered Plot Area

Tue Nov 27, 2018 5:26 pm

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.

Capture.PNG (8.15 KiB) Viewed 28 times

Posts: 134
Joined: Wed Oct 17, 2018 10:59 am

Re: Centered Plot Area

Tue Nov 27, 2018 5:36 pm

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!

Return to “Highcharts Usage”