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 c974ec4 commit 502b6d6Copy full SHA for 502b6d6
app/src/components/chart/pie/index.tsx
@@ -74,7 +74,7 @@ const PieChart: FC<{ data: ValidIndicatorData[] }> = ({ data }) => {
74
>
75
<div className="flex h-full flex-col items-center justify-center px-4 py-2 text-center">
76
<div className="fill-foreground mb-3 text-4xl leading-none font-bold">
77
- {center ? `${center.value}%` : ""}
+ {center ? `${center.value.toFixed(1)}%` : ""}
78
</div>
79
<div className="fill-foreground text-sm leading-tight font-normal break-words">
80
{center ? center.label : ""}
0 commit comments