disable more chart animations
This commit is contained in:
@@ -68,6 +68,7 @@ const Chart = ({ data }: Props) => {
|
|||||||
stroke={getChartColor(0)}
|
stroke={getChartColor(0)}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill={`url(#bg)`}
|
fill={`url(#bg)`}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
<XAxis
|
<XAxis
|
||||||
dataKey="days"
|
dataKey="days"
|
||||||
|
|||||||
@@ -109,18 +109,21 @@ const Chart = ({ data }: Props) => {
|
|||||||
stroke={getChartColor(0)}
|
stroke={getChartColor(0)}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill={`url(#dau)`}
|
fill={`url(#dau)`}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
<Area
|
<Area
|
||||||
dataKey="wau"
|
dataKey="wau"
|
||||||
stroke={getChartColor(1)}
|
stroke={getChartColor(1)}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill={`url(#wau)`}
|
fill={`url(#wau)`}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
<Area
|
<Area
|
||||||
dataKey="mau"
|
dataKey="mau"
|
||||||
stroke={getChartColor(2)}
|
stroke={getChartColor(2)}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill={`url(#mau)`}
|
fill={`url(#mau)`}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
<XAxis
|
<XAxis
|
||||||
dataKey="date"
|
dataKey="date"
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ const Chart = ({ data }: Props) => {
|
|||||||
stroke={getChartColor(0)}
|
stroke={getChartColor(0)}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill={`url(#bg)`}
|
fill={`url(#bg)`}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
<XAxis
|
<XAxis
|
||||||
axisLine={false}
|
axisLine={false}
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ export function MetricCard({
|
|||||||
fillOpacity={1}
|
fillOpacity={1}
|
||||||
stroke={graphColors}
|
stroke={graphColors}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
</AreaChart>
|
</AreaChart>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user