Closed aliou closed 10 years ago
Actually never mind, this seems to not show the right scale values... (this should be from one to five)
For some reason, these lines always returns the scaleStepWidth
. Any idea?
Thanks. Good catch!
// Is `i`, not `1`.
value: (cfg.scaleStartValue + cfg.scaleStepWidth * 1).toFixed(getDecimalPlaces(cfg.scaleStepWidth))
If using the scaleOverride
, scaleSteps
scaleStepWidth
and scaleStartValue
must be required.
See http://www.chartjs.org/docs/#lineChart-chartOptions.
Cool, thanks ! :+1:
I will add some test cases.
Right now, using the
scaleOverride
and thescaleSteps
options produces the following error:This pull defines
tmpl
and fixes the issue.