remove animation from charts (just annoying)
This commit is contained in:
@@ -89,7 +89,7 @@ export function ReportAreaChart({
|
||||
<Area
|
||||
key={serie.name}
|
||||
type={lineType}
|
||||
isAnimationActive={true}
|
||||
isAnimationActive={false}
|
||||
strokeWidth={2}
|
||||
dataKey={`${serie.id}:count`}
|
||||
stroke={color}
|
||||
|
||||
@@ -100,7 +100,7 @@ export function ReportLineChart({
|
||||
type={lineType}
|
||||
key={serie.name}
|
||||
name={serie.name}
|
||||
isAnimationActive={true}
|
||||
isAnimationActive={false}
|
||||
strokeWidth={2}
|
||||
dataKey={`${serie.id}:count`}
|
||||
stroke={getChartColor(serie.index)}
|
||||
@@ -110,7 +110,7 @@ export function ReportLineChart({
|
||||
type={lineType}
|
||||
key={`${serie.name}:prev`}
|
||||
name={`${serie.name}:prev`}
|
||||
isAnimationActive={true}
|
||||
isAnimationActive={false}
|
||||
strokeWidth={1}
|
||||
dot={false}
|
||||
strokeDasharray={'6 6'}
|
||||
|
||||
@@ -43,7 +43,7 @@ export function ReportPieChart({ data }: ReportPieChartProps) {
|
||||
data={pieData}
|
||||
innerRadius={height / 4}
|
||||
outerRadius={height / 2.5}
|
||||
isAnimationActive={true}
|
||||
isAnimationActive={false}
|
||||
label={renderLabel}
|
||||
>
|
||||
{pieData.map((item) => {
|
||||
|
||||
@@ -101,7 +101,7 @@ export function FunnelSteps({
|
||||
]}
|
||||
innerRadius={height / 3}
|
||||
outerRadius={height / 2 - 10}
|
||||
isAnimationActive={true}
|
||||
isAnimationActive={false}
|
||||
nameKey="label"
|
||||
dataKey="value"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user