Can’t remove space between bars in bar chart

Hi,

If I create a bar chart with the scales option:

{
 scales: {
                xAxes: [{
                    barThickness : 45,
                    barPercentage: 1.0,
                    categoryPercentage: 1.0,
                }],   
 }
}

Here is the fiddle https://jsfiddle.net/07pzys9t/ .

barPercentage: 1.0 and categoryPercentage: 1.0 don’t remove the space between the bars in the chart, although, as I understood, they should, as it’s said here:

http://stackoverflow.com/questions/39879445/chart-js-bar-chart-how-to-remove-space-between-the-bars-in-v2-3#answer-40411121

Any advice on how to achieve this on ChartJS 2.5.0?

Author: Fantashit

1 thought on “Can’t remove space between bars in bar chart

Comments are closed.