diff --git a/dashboard/src/components/GraphItem.vue b/dashboard/src/components/GraphItem.vue index 42f78c3d9..0a02fa8ed 100644 --- a/dashboard/src/components/GraphItem.vue +++ b/dashboard/src/components/GraphItem.vue @@ -190,7 +190,7 @@ function onPeriodChanged() { stepSize: yscaleUnit === 'GiB' ? 1 : 256, autoSkip: true, // skip tick labels as needed autoSkipPadding: 20, // padding between ticks - callback: (value) => `${value} ${yscaleUnit}`, + callback: (value) => `${value.toFixed(2).replace('.00', '')} ${yscaleUnit}`, maxTicksLimit: 8 // max tick labels to show }, beginAtZero: true,