Chartjs-Strange lines between horizontal bars in Chart.js 2.0

0👍

So I tried your code with some sample data, I am getting the proper result, I am using the latest Chart.js (Version 2.7.0) and it works fine when I set barPercentage and the categoryPercentage to 1, If you still face this issue,

My major point in this answer is!

The values barPercentage and the categoryPercentage can be
increased above 1 so you can give 1.05 to resolve this problem.

Here is a JSFiddle with some sample data I mocked up to show solution.

JSFiddle Demo

Please feel free to try this solution, if the above suggestions don’t work, please replicate the problem in the JSFiddle I provided and show me the issue again!

Leave a comment