fix: use monotone interpolation for smooth dashboard chart curves

This commit is contained in:
Usman Baig
2026-03-21 22:12:30 +01:00
parent 93347f6454
commit 4ef92b9e3a

View File

@@ -525,13 +525,13 @@ export default function Chart({
})}
<Area
type="bump"
type="monotone"
dataKey={metric}
fill="url(#areaFill)"
stroke="none"
/>
<Line
type="bump"
type="monotone"
dataKey={metric}
stroke={chartConfig[metric]?.color}
strokeWidth={2}