Fixed precision Y axes on bar chart.

This commit is contained in:
Christian P. MOMON 2020-01-30 02:31:05 +01:00
parent 3aae196481
commit 932ab594af

View file

@ -62,7 +62,9 @@ var myChart = new Chart(ctx,
[{
ticks:
{
beginAtZero: true
beginAtZero: true,
suggestedMax: 10,
precision: 0
}
}]
}