fix: accidental fp precision on flag and acp dash graphs

This commit is contained in:
Julian Lam
2020-04-14 10:15:54 -04:00
parent 14aed18449
commit bcbf98aa4c
2 changed files with 3 additions and 0 deletions

View File

@@ -234,6 +234,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator', 'benchpress'
id: 'left-y-axis',
ticks: {
beginAtZero: true,
precision: 0,
},
type: 'linear',
position: 'left',
@@ -246,6 +247,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator', 'benchpress'
ticks: {
beginAtZero: true,
suggestedMax: 10,
precision: 0,
},
type: 'linear',
position: 'right',

View File

@@ -74,6 +74,7 @@ define('forum/flags/list', ['components', 'Chart'], function (components, Chart)
yAxes: [{
ticks: {
beginAtZero: true,
precision: 0,
},
}],
},