mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-05 02:06:41 +00:00
💄 remove chart animations
This commit is contained in:
@@ -412,51 +412,13 @@ function RequestChart(props: RequestChartProps) {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<defs>
|
|
||||||
<linearGradient
|
|
||||||
id="fillAllowed"
|
|
||||||
x1="0"
|
|
||||||
y1="0"
|
|
||||||
x2="0"
|
|
||||||
y2="1"
|
|
||||||
>
|
|
||||||
<stop
|
|
||||||
offset="5%"
|
|
||||||
stopColor="var(--color-allowedCount)"
|
|
||||||
stopOpacity={0.8}
|
|
||||||
/>
|
|
||||||
<stop
|
|
||||||
offset="95%"
|
|
||||||
stopColor="var(--color-allowedCount)"
|
|
||||||
stopOpacity={0.1}
|
|
||||||
/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
id="fillBlocked"
|
|
||||||
x1="0"
|
|
||||||
y1="0"
|
|
||||||
x2="0"
|
|
||||||
y2="1"
|
|
||||||
>
|
|
||||||
<stop
|
|
||||||
offset="5%"
|
|
||||||
stopColor="var(--color-blockedCount)"
|
|
||||||
stopOpacity={0.8}
|
|
||||||
/>
|
|
||||||
<stop
|
|
||||||
offset="95%"
|
|
||||||
stopColor="var(--color-blockedCount)"
|
|
||||||
stopOpacity={0.1}
|
|
||||||
/>
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
|
|
||||||
<Area
|
<Area
|
||||||
dataKey="allowedCount"
|
dataKey="allowedCount"
|
||||||
stroke="var(--color-allowedCount)"
|
stroke="var(--color-allowedCount)"
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill="transparent"
|
fill="transparent"
|
||||||
radius={4}
|
radius={4}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
<Area
|
<Area
|
||||||
dataKey="blockedCount"
|
dataKey="blockedCount"
|
||||||
@@ -464,6 +426,7 @@ function RequestChart(props: RequestChartProps) {
|
|||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
fill="transparent"
|
fill="transparent"
|
||||||
radius={4}
|
radius={4}
|
||||||
|
isAnimationActive={false}
|
||||||
/>
|
/>
|
||||||
</AreaChart>
|
</AreaChart>
|
||||||
</ChartContainer>
|
</ChartContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user