forked from FoundKeyGang/FoundKey
✌️
This commit is contained in:
parent
fb4aa9bc1c
commit
1c1e3009e9
1 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,7 @@ export default Vue.extend({
|
|||
yAxes: [{
|
||||
ticks: {
|
||||
callback: value => {
|
||||
return Vue.filter('bytes')(value);
|
||||
return Vue.filter('bytes')(value, 1);
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
@ -327,7 +327,7 @@ export default Vue.extend({
|
|||
callbacks: {
|
||||
label: (tooltipItem, data) => {
|
||||
const label = data.datasets[tooltipItem.datasetIndex].label || '';
|
||||
return `${label}: ${Vue.filter('bytes')(tooltipItem.yLabel)}`;
|
||||
return `${label}: ${Vue.filter('bytes')(tooltipItem.yLabel, 1)}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue