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 <Area
type="bump" type="monotone"
dataKey={metric} dataKey={metric}
fill="url(#areaFill)" fill="url(#areaFill)"
stroke="none" stroke="none"
/> />
<Line <Line
type="bump" type="monotone"
dataKey={metric} dataKey={metric}
stroke={chartConfig[metric]?.color} stroke={chartConfig[metric]?.color}
strokeWidth={2} strokeWidth={2}