From cc65375b66f8ab8dbca555efc0eda6c290163b4e Mon Sep 17 00:00:00 2001 From: justin-park Date: Wed, 10 Aug 2022 16:16:41 -0700 Subject: [PATCH] make onlyTotal, isHorizontal optional --- .../plugins/plugin-chart-echarts/src/utils/series.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts b/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts index 0a5d20f191a5a..e8c6c0e8bafe8 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts @@ -77,8 +77,8 @@ export function extractShowValueIndexes( series: SeriesOption[], opts: { stack: StackType; - onlyTotal: boolean; - isHorizontal: boolean; + onlyTotal?: boolean; + isHorizontal?: boolean; }, ): number[] { const showValueIndexes: number[] = [];