chart js 2 how to set bar width : <p>I'm using Chart js version: 2.1.4 and I'm not able to limit the bar width. I found two options on stackoverflow</p>

<pre><code>barPercentage: 0.5
</code></pre>

<p>or</p>

<pre><code>categorySpacing: 0
</code></pre>

<p>but neither of one works with the mentioned version. Is there a way to solve this issue without manually modifying the chart.js core library?</p>

<p>thanks</p>
