diff --git a/static/app/components/charts/barChart.tsx b/static/app/components/charts/barChart.tsx index 8c77037254f7d6..954bca3700972f 100644 --- a/static/app/components/charts/barChart.tsx +++ b/static/app/components/charts/barChart.tsx @@ -13,11 +13,12 @@ export type BarChartSeries = Series & Omit & { series: BarChartSeries[]; stacked?: boolean; + animation?: boolean; }; class BarChart extends React.Component { render() { - const {series, stacked, xAxis, ...props} = this.props; + const {series, stacked, xAxis, animation, ...props} = this.props; return ( { } return {value: [name, value], itemStyle}; }), + animation, ...options, }) )} diff --git a/static/app/components/charts/eventsChart.tsx b/static/app/components/charts/eventsChart.tsx index b469ba1d5c793f..a6c3841e6fe8fa 100644 --- a/static/app/components/charts/eventsChart.tsx +++ b/static/app/components/charts/eventsChart.tsx @@ -295,6 +295,7 @@ class Chart extends React.Component { }, }, ...(chartOptionsProp ?? {}), + animation: typeof Component === typeof BarChart ? false : undefined, }; return (