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