Improved precision on chart axes.
This commit is contained in:
parent
b064fcf652
commit
357276dcc0
@ -67,7 +67,8 @@ var myChart = new Chart(ctx,
|
||||
ticks:
|
||||
{
|
||||
beginAtZero: false,
|
||||
suggestedMax: 10
|
||||
suggestedMax: 10,
|
||||
precision: 0
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
@ -57,7 +57,8 @@ var myChart = new Chart(ctx,
|
||||
ticks:
|
||||
{
|
||||
beginAtZero: false,
|
||||
suggestedMax: 10
|
||||
suggestedMax: 10,
|
||||
precision: 0
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user