fix responsive flag for line charts
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m53s
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 2s

This commit is contained in:
2026-03-11 03:43:17 -04:00
parent 74ab95fc7f
commit e86804f919

View File

@@ -26,7 +26,7 @@ const LineChartComponent = ({
return (
<Chart.Root maxH="xs" chart={chart} maxW="100dvw">
<LineChart data={chart.data}>
<LineChart data={chart.data} responsive>
<CartesianGrid stroke={chart.color("border")} vertical={false} />
<XAxis
axisLine={false}
@@ -40,7 +40,7 @@ const LineChartComponent = ({
tickLine={false}
tickMargin={10}
stroke={chart.color("border")}
// label={{ value: label, position: "left", angle: -90 }}
// label={{ value: label, position: "left", angle: -90 }}
/>
<Tooltip
animationDuration={100}