Update ChartReportPage.jsx

move <line> tag attributes to different lines
This commit is contained in:
Adebiyi Adebayo 2024-12-27 22:16:44 +01:00 committed by GitHub
parent 9ca2153c0f
commit 1aecb1796c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,13 @@ const ChartReportPage = () => {
tickFormatter={() => ''}
onChange={(range) => handleBrushChange(range)}
/>
<Line type="monotone" dataKey={type} stroke={theme.palette.primary.main} dot={false} activeDot={{ r: 6 }} />
<Line
type="monotone"
dataKey={type}
stroke={theme.palette.primary.main}
dot={false}
activeDot={{ r: 6 }}
/>
</LineChart>
</ResponsiveContainer>
</div>