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