Chartjs-How to reduce the gap between bars on bar chart

0👍

You could try using the bar width argument within the options section.
Example from: https://js.devexpress.com/Demos/WidgetsGallery/Demo/Charts/CustomBarWidth/AngularJS/Contrast/

 scope.chartOptions = {
        palette: "soft",
        dataSource: dataSource,

        //THIS COMMAND
        barWidth: 0.5,

        commonSeriesSettings: {
            argumentField: "state",
            type: "bar"
        },

Leave a comment