Fixed precision Y axes on bar chart.
This commit is contained in:
parent
3aae196481
commit
932ab594af
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ var myChart = new Chart(ctx,
|
||||||
[{
|
[{
|
||||||
ticks:
|
ticks:
|
||||||
{
|
{
|
||||||
beginAtZero: true
|
beginAtZero: true,
|
||||||
|
suggestedMax: 10,
|
||||||
|
precision: 0
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue