perf: reduce chart animation from 1100ms to 400ms — shorter main thread block
This commit is contained in:
@@ -431,6 +431,7 @@ export default function Chart({
|
||||
xDataKey="dateObj"
|
||||
aspectRatio="2.5 / 1"
|
||||
margin={{ top: 20, right: 20, bottom: 40, left: 50 }}
|
||||
animationDuration={400}
|
||||
>
|
||||
<VisxGrid horizontal vertical={false} stroke="var(--chart-grid)" strokeDasharray="4,4" />
|
||||
<VisxArea
|
||||
|
||||
Reference in New Issue
Block a user