We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8c727 commit fe5c47bCopy full SHA for fe5c47b
app/components/Package/WeeklyDownloadStats.vue
@@ -60,6 +60,7 @@ function handleModalTransitioned() {
60
}
61
62
const { fetchPackageDownloadEvolution } = useCharts()
63
+const numberFormatter = useNumberFormatter()
64
65
const { accentColors, selectedAccentColor } = useAccentColor()
66
@@ -359,6 +360,9 @@ const config = computed<VueUiSparklineConfig>(() => {
359
360
fontSize: 28,
361
bold: false,
362
color: colors.value.fg,
363
+ formatter: ({ value }) => {
364
+ return numberFormatter.value.format(value)
365
+ },
366
},
367
line: {
368
color: colors.value.borderHover,
0 commit comments