How to prevent bars overlapping eachother in Highcharts? -
high charts
please @ jsfiddle. here bars overlap each other. how prevent resizing bar width dynamically.
if happens because set bar width fixed value. if want bars take available place width, instead of using pointwidth
, set pointpadding
0, grouppadding
0 , borderwidth
0.
api reference:
http://api.highcharts.com/highcharts/plotoptions.bar.pointpadding
http://api.highcharts.com/highcharts/plotoptions.bar.grouppadding
http://api.highcharts.com/highcharts/plotoptions.bar.borderwidth
example:
http://jsfiddle.net/yek6g5vy/
Comments
Post a Comment