feat(viz): add mixed and radar chart (#14197)

This commit is contained in:
Ville Brofeldt 2021-04-16 18:59:32 +03:00 committed by GitHub
parent fe21de3fc4
commit 7e0e9ac3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 361 additions and 260 deletions

File diff suppressed because it is too large Load Diff

View File

@ -65,35 +65,35 @@
"@babel/runtime-corejs3": "^7.12.5",
"@data-ui/sparkline": "^0.0.84",
"@emotion/core": "^10.0.35",
"@superset-ui/chart-controls": "^0.17.32",
"@superset-ui/chart-controls": "^0.17.34",
"@superset-ui/core": "^0.17.32",
"@superset-ui/legacy-plugin-chart-calendar": "^0.17.32",
"@superset-ui/legacy-plugin-chart-chord": "^0.17.32",
"@superset-ui/legacy-plugin-chart-country-map": "^0.17.32",
"@superset-ui/legacy-plugin-chart-event-flow": "^0.17.32",
"@superset-ui/legacy-plugin-chart-force-directed": "^0.17.32",
"@superset-ui/legacy-plugin-chart-heatmap": "^0.17.32",
"@superset-ui/legacy-plugin-chart-histogram": "^0.17.32",
"@superset-ui/legacy-plugin-chart-horizon": "^0.17.32",
"@superset-ui/legacy-plugin-chart-map-box": "^0.17.32",
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.32",
"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.32",
"@superset-ui/legacy-plugin-chart-partition": "^0.17.32",
"@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.32",
"@superset-ui/legacy-plugin-chart-rose": "^0.17.32",
"@superset-ui/legacy-plugin-chart-sankey": "^0.17.32",
"@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.32",
"@superset-ui/legacy-plugin-chart-sunburst": "^0.17.32",
"@superset-ui/legacy-plugin-chart-treemap": "^0.17.32",
"@superset-ui/legacy-plugin-chart-world-map": "^0.17.32",
"@superset-ui/legacy-preset-chart-big-number": "^0.17.32",
"@superset-ui/legacy-plugin-chart-calendar": "^0.17.34",
"@superset-ui/legacy-plugin-chart-chord": "^0.17.34",
"@superset-ui/legacy-plugin-chart-country-map": "^0.17.34",
"@superset-ui/legacy-plugin-chart-event-flow": "^0.17.34",
"@superset-ui/legacy-plugin-chart-force-directed": "^0.17.34",
"@superset-ui/legacy-plugin-chart-heatmap": "^0.17.34",
"@superset-ui/legacy-plugin-chart-histogram": "^0.17.34",
"@superset-ui/legacy-plugin-chart-horizon": "^0.17.34",
"@superset-ui/legacy-plugin-chart-map-box": "^0.17.34",
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.17.34",
"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.17.34",
"@superset-ui/legacy-plugin-chart-partition": "^0.17.34",
"@superset-ui/legacy-plugin-chart-pivot-table": "^0.17.34",
"@superset-ui/legacy-plugin-chart-rose": "^0.17.34",
"@superset-ui/legacy-plugin-chart-sankey": "^0.17.34",
"@superset-ui/legacy-plugin-chart-sankey-loop": "^0.17.34",
"@superset-ui/legacy-plugin-chart-sunburst": "^0.17.34",
"@superset-ui/legacy-plugin-chart-treemap": "^0.17.34",
"@superset-ui/legacy-plugin-chart-world-map": "^0.17.34",
"@superset-ui/legacy-preset-chart-big-number": "^0.17.34",
"@superset-ui/legacy-preset-chart-deckgl": "^0.4.6",
"@superset-ui/legacy-preset-chart-nvd3": "^0.17.32",
"@superset-ui/plugin-chart-echarts": "^0.17.32",
"@superset-ui/legacy-preset-chart-nvd3": "^0.17.34",
"@superset-ui/plugin-chart-echarts": "^0.17.34",
"@superset-ui/plugin-chart-pivot-table": "^0.17.33",
"@superset-ui/plugin-chart-table": "^0.17.32",
"@superset-ui/plugin-chart-word-cloud": "^0.17.32",
"@superset-ui/preset-chart-xy": "^0.17.32",
"@superset-ui/plugin-chart-table": "^0.17.34",
"@superset-ui/plugin-chart-word-cloud": "^0.17.34",
"@superset-ui/preset-chart-xy": "^0.17.34",
"@vx/responsive": "^0.0.195",
"abortcontroller-polyfill": "^1.1.9",
"antd": "^4.9.4",

View File

@ -59,6 +59,8 @@ import {
EchartsTimeseriesChartPlugin,
EchartsGraphChartPlugin,
EchartsGaugeChartPlugin,
EchartsRadarChartPlugin,
EchartsMixedTimeseriesChartPlugin,
} from '@superset-ui/plugin-chart-echarts';
import {
SelectFilterPlugin,
@ -94,6 +96,10 @@ export default class MainPreset extends Preset {
new FilterBoxChartPlugin().configure({ key: 'filter_box' }),
new EchartsGaugeChartPlugin().configure({ key: 'gauge_chart' }),
new EchartsGraphChartPlugin().configure({ key: 'graph_chart' }),
new EchartsRadarChartPlugin().configure({ key: 'radar' }),
new EchartsMixedTimeseriesChartPlugin().configure({
key: 'mixed_timeseries',
}),
new HeatmapChartPlugin().configure({ key: 'heatmap' }),
new HistogramChartPlugin().configure({ key: 'histogram' }),
new HorizonChartPlugin().configure({ key: 'horizon' }),