Chart.js Bar graph will not start at zero as minimum value
Move the options part to the Chart creation: Here’s an example from the docs.
Move the options part to the Chart creation: Here’s an example from the docs.
For Chart.js 2.*, the option for the scale to begin at zero is listed under the configuration options of the linear scale. This is used for numerical data, which should most probably be the case for your y-axis. So, you need to use this: A sample line chart is also available here where the option … Read more