[Chartjs]-Add custom data scale to Chart.js

2👍

Check out my question and answer HERE

You need to set the scaleSteps,scaleStepWidth and scaleStartValue. In the above example it is:

scaleSteps: 4,
scaleStepWidth: 5,
scaleStartValue: 0

Which added to a total of 20 with 4 lines through. You can play about with these values to get your desired effect.

Leave a comment