You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by kg...@apache.org on 2024/09/20 14:42:54 UTC
(superset) branch master updated: fix(explore): Missing markarea component broke annotations in echarts (#30348)
This is an automated email from the ASF dual-hosted git repository.
kgabryje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 038ef32454 fix(explore): Missing markarea component broke annotations in echarts (#30348)
038ef32454 is described below
commit 038ef3245412881ca6df91998c79074a33447080
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Fri Sep 20 16:42:47 2024 +0200
fix(explore): Missing markarea component broke annotations in echarts (#30348)
---
.../plugins/plugin-chart-echarts/src/components/Echart.tsx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx
index db054eab01..995e3a5351 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx
@@ -55,6 +55,8 @@ import {
ToolboxComponent,
GraphicComponent,
AriaComponent,
+ MarkAreaComponent,
+ MarkLineComponent,
} from 'echarts/components';
import { LabelLayout } from 'echarts/features';
import { EchartsHandler, EchartsProps, EchartsStylesProps } from '../types';
@@ -84,6 +86,8 @@ use([
DataZoomComponent,
GraphicComponent,
GridComponent,
+ MarkAreaComponent,
+ MarkLineComponent,
LegendComponent,
ToolboxComponent,
TooltipComponent,