I am using chart.js and i have line chart with values from 10 to 100.
My top point have value 100, but that is incorrect for my data. For me 100 is the bad result. Is there a way to revert x-axe to start from 100 to 10.
If its not possible, can someone recommend javascript (NO jQuery) chart, that can resolve my problem?
Try this in your chart options :
scaleOverride: true,
scaleSteps: 10,
scaleStartValue: 100,
scaleStepWidth: -10
it shoud just do the trick.
See a jsfiddle of it here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With