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
1 changed files with 3 additions and 1 deletions

View File

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