We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b541ee2 commit da0897bCopy full SHA for da0897b
app/components/Package/TrendsChart.vue
@@ -1540,7 +1540,7 @@ const chartConfig = computed<VueUiXyConfig>(() => {
1540
const rows = items
1541
.map((d: Record<string, any>) => {
1542
const label = String(d?.name ?? '').trim()
1543
- const raw = Number(d?.value ?? 0)
+ const raw = Math.round(Number(d?.value ?? 0))
1544
const v = compactNumberFormatter.value.format(Number.isFinite(raw) ? raw : 0)
1545
1546
if (!hasMultipleItems) {
0 commit comments