fix responsive flag for line charts
This commit is contained in:
@@ -26,7 +26,7 @@ const LineChartComponent = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Chart.Root maxH="xs" chart={chart} maxW="100dvw">
|
<Chart.Root maxH="xs" chart={chart} maxW="100dvw">
|
||||||
<LineChart data={chart.data}>
|
<LineChart data={chart.data} responsive>
|
||||||
<CartesianGrid stroke={chart.color("border")} vertical={false} />
|
<CartesianGrid stroke={chart.color("border")} vertical={false} />
|
||||||
<XAxis
|
<XAxis
|
||||||
axisLine={false}
|
axisLine={false}
|
||||||
|
|||||||
Reference in New Issue
Block a user