From e3c7f2215f69c72abfc980c4ca046ff4ea141b12 Mon Sep 17 00:00:00 2001 From: Billy Vong <billyvg@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:37:36 -0400 Subject: [PATCH] ref(chart): Loosen type for `BaseChart.additionalSeries` This can accept any ECharts series type, not just lines. Needed for https://github.com/getsentry/sentry/issues/86946 --- static/app/components/charts/baseChart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/components/charts/baseChart.tsx b/static/app/components/charts/baseChart.tsx index 7391ee2bab9baa..ee62cae0b166f9 100644 --- a/static/app/components/charts/baseChart.tsx +++ b/static/app/components/charts/baseChart.tsx @@ -137,7 +137,7 @@ export interface BaseChartProps { * Additional Chart Series * This is to pass series to BaseChart bypassing the wrappers like LineChart, AreaChart etc. */ - additionalSeries?: LineSeriesOption[]; + additionalSeries?: SeriesOption[]; /** * If true, ignores height value and auto-scales chart to fit container height. */