From 46b2b978485bf73a8a5de7e33d3eefa2ccb7f964 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt Date: Wed, 5 May 2021 08:54:23 +0300 Subject: [PATCH] feat(viz): add funnel chart --- superset-frontend/src/visualizations/presets/MainPreset.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset-frontend/src/visualizations/presets/MainPreset.js b/superset-frontend/src/visualizations/presets/MainPreset.js index 02c54146f0bd7..d752418b38d1b 100644 --- a/superset-frontend/src/visualizations/presets/MainPreset.js +++ b/superset-frontend/src/visualizations/presets/MainPreset.js @@ -60,6 +60,7 @@ import { EchartsGraphChartPlugin, EchartsGaugeChartPlugin, EchartsRadarChartPlugin, + EchartsFunnelChartPlugin, EchartsMixedTimeseriesChartPlugin, } from '@superset-ui/plugin-chart-echarts'; import { @@ -95,6 +96,7 @@ export default class MainPreset extends Preset { new DualLineChartPlugin().configure({ key: 'dual_line' }), new EventFlowChartPlugin().configure({ key: 'event_flow' }), new FilterBoxChartPlugin().configure({ key: 'filter_box' }), + new EchartsFunnelChartPlugin().configure({ key: 'funnel' }), new EchartsGaugeChartPlugin().configure({ key: 'gauge_chart' }), new EchartsGraphChartPlugin().configure({ key: 'graph_chart' }), new EchartsRadarChartPlugin().configure({ key: 'radar' }),