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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -