This commit is contained in:
BitcoinVM 2024-01-30 03:14:14 +01:00
parent 38d741ffee
commit 0ca5a14eb8

View File

@ -91,7 +91,7 @@ const chartConfig = computed(() => {
offsetY: -15, offsetY: -15,
fontWeight: 500, fontWeight: 500,
fontSize: '2.125rem', fontSize: '2.125rem',
formatter: (value: unknown) => `${rate.value}%`, formatter: (value: unknown) => `${rate.value.toFixed(1)}%`,
color: primaryText, color: primaryText,
}, },
total: { total: {
@ -99,7 +99,7 @@ const chartConfig = computed(() => {
label: 'Commission Rate', label: 'Commission Rate',
fontSize: '1rem', fontSize: '1rem',
color: secondaryText, color: secondaryText,
formatter: () => `${rate.value}%`, formatter: () => `${rate.value.toFixed(1)}%`,
}, },
}, },
}, },