Decrease columns ChartJs Bar Chart

1

Does anyone know how I can work with the size and width of the blue columns within the Chart Chart Bar Chart? Follow example image.

I would like to leave the columns thinner and more distant from each other .....

    
asked by anonymous 26.04.2016 / 13:56

1 answer

1

What I was able to find in the documentation was to tinker with the xAxes option.

options: {
    scales: {
        xAxes: [{
          categoryPercentage: 0.9,
          barPercentage: 0.7
      }],
      ...
    }

As can be seen in this example link by changing values between 0-1.

Hope you can help with what you need.

    
26.04.2016 / 19:37