2948 explained code solutions for 75 technologies


chart.jsMake chart start from zero value


new Chart('chart', {
  // ...
  options: { scales: { y: { min: 0 } } }
});ctrl + c
'chart'

id of canvas element

y: { min: 0 }

override minimum value for y axis to make it start from zero