Chartjs-Line chart is drawing before first point in Chart.js

1πŸ‘

Is it possible you have a problem with input values, not with chart options? I.e. some duplicate values.

0πŸ‘

To achieve expected result, add below to options

scaleStartValue: 0

0πŸ‘

I added the latest versions of chart.js (2.2.1) on my project and it worked, dunno why 2.0 didn’t, but thanks for your time!

Leave a comment