Space between columns

I have a column chart where for each X value I have two series. But the graph shows a wide interval between each X value.

Q: How can I do in Highchart to have 1px space between the columns and the y axis?

+6
source share
2 answers

Update pointPadding :0.2 to pointPadding :0 in

 plotOptions: { column: { pointPadding: 0, borderWidth: 0 } }, 
+14
source
 chart: { marginBottom: 1, marginLeft: 0, marginRight: 0, marginTop: 0, renderTo: container, type: 'column', }, 

Demo

Also check out GroupPadding and PointPadding

+3
source

All Articles