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!
- Chartjs-Changing chart data dynamically with C# from SQL database
- Chartjs-Chartjs β how do I add border radius on bottom corners
Source:stackexchange.com