diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 67b91460b0ca7..cc52b2b761e35 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -39,7 +39,7 @@ "@superset-ui/legacy-preset-chart-big-number": "0.17.46", "@superset-ui/legacy-preset-chart-deckgl": "^0.4.6", "@superset-ui/legacy-preset-chart-nvd3": "0.17.46", - "@superset-ui/plugin-chart-echarts": "^0.17.46", + "@superset-ui/plugin-chart-echarts": "^0.17.47", "@superset-ui/plugin-chart-pivot-table": "^0.17.46", "@superset-ui/plugin-chart-table": "^0.17.46", "@superset-ui/plugin-chart-word-cloud": "0.17.46", @@ -14704,9 +14704,9 @@ } }, "node_modules/@superset-ui/plugin-chart-echarts": { - "version": "0.17.46", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.46.tgz", - "integrity": "sha512-i84yi0igie2+Rc3/VSCoYJ9kOBW7hj8WN8E4u99vi4nAEsNhOm3EKn6chWMN+K0pMYYUpZqlmoX6kxN4UTzgYQ==", + "version": "0.17.47", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.47.tgz", + "integrity": "sha512-YIJxuCAwOEol2WamcIG2yU16gTMiKqgsrVZDzIo08uuXGZc51ndF6CvD8L3gPo4LhCrp83N/PO5bRf1aEllyEA==", "dependencies": { "@superset-ui/chart-controls": "0.17.46", "@superset-ui/core": "0.17.46", @@ -66907,9 +66907,9 @@ } }, "@superset-ui/plugin-chart-echarts": { - "version": "0.17.46", - "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.46.tgz", - "integrity": "sha512-i84yi0igie2+Rc3/VSCoYJ9kOBW7hj8WN8E4u99vi4nAEsNhOm3EKn6chWMN+K0pMYYUpZqlmoX6kxN4UTzgYQ==", + "version": "0.17.47", + "resolved": "https://registry.npmjs.org/@superset-ui/plugin-chart-echarts/-/plugin-chart-echarts-0.17.47.tgz", + "integrity": "sha512-YIJxuCAwOEol2WamcIG2yU16gTMiKqgsrVZDzIo08uuXGZc51ndF6CvD8L3gPo4LhCrp83N/PO5bRf1aEllyEA==", "requires": { "@superset-ui/chart-controls": "0.17.46", "@superset-ui/core": "0.17.46", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index 5f8638a9c53d4..13710dff5f717 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -91,7 +91,7 @@ "@superset-ui/legacy-preset-chart-big-number": "0.17.46", "@superset-ui/legacy-preset-chart-deckgl": "^0.4.6", "@superset-ui/legacy-preset-chart-nvd3": "0.17.46", - "@superset-ui/plugin-chart-echarts": "^0.17.46", + "@superset-ui/plugin-chart-echarts": "^0.17.47", "@superset-ui/plugin-chart-pivot-table": "^0.17.46", "@superset-ui/plugin-chart-table": "^0.17.46", "@superset-ui/plugin-chart-word-cloud": "0.17.46", diff --git a/superset-frontend/src/visualizations/presets/MainPreset.js b/superset-frontend/src/visualizations/presets/MainPreset.js index eef7b1a70d1a0..03ea7a26027fa 100644 --- a/superset-frontend/src/visualizations/presets/MainPreset.js +++ b/superset-frontend/src/visualizations/presets/MainPreset.js @@ -61,6 +61,7 @@ import { EchartsGaugeChartPlugin, EchartsRadarChartPlugin, EchartsFunnelChartPlugin, + EchartsTreemapChartPlugin, EchartsMixedTimeseriesChartPlugin, EchartsTreeChartPlugin, } from '@superset-ui/plugin-chart-echarts'; @@ -98,6 +99,7 @@ export default class MainPreset extends Preset { new EventFlowChartPlugin().configure({ key: 'event_flow' }), new FilterBoxChartPlugin().configure({ key: 'filter_box' }), new EchartsFunnelChartPlugin().configure({ key: 'funnel' }), + new EchartsTreemapChartPlugin().configure({ key: 'treemap_v2' }), new EchartsGaugeChartPlugin().configure({ key: 'gauge_chart' }), new EchartsGraphChartPlugin().configure({ key: 'graph_chart' }), new EchartsRadarChartPlugin().configure({ key: 'radar' }),