I have a chart.js chart using ng2-charts module. The chart shows Percentage on y axis and time on x axis. Is it possible to set y axis to show 0 to 100 instead of dynamic range based on data?
Try adding the following to your chart options:
scales : {
yAxes: [{
ticks: {
steps : 10,
stepValue : 10,
max : 100,
min: 0
}
}]
}