mirror of
https://github.com/apache/superset.git
synced 2026-07-09 16:25:36 +00:00
Migrated 25 chart control panels from legacy config-based to modern React-based: Core Charts: - Pie, Funnel, Sankey, Treemap (already done) - BoxPlot, Bubble, Gantt, Gauge, Graph - Heatmap, Histogram, Radar, Sunburst, Tree, Waterfall BigNumber Variants (3): - BigNumberTotal - BigNumberPeriodOverPeriod - BigNumberWithTrendline Timeseries Variants (7): - Area, Step, Line, Bar, Scatter, SmoothLine - MixedTimeseries (most complex with dual Y-axes) Key improvements across all migrations: - Direct React components instead of config objects - Full TypeScript support with proper types - Tab-based organization (Data/Customize/Options) - Proper safety checks and validation - Conditional rendering for dependent controls - Single column handling where needed - Modern control components (DndColumnSelect, etc.) All charts compile successfully with webpack dev server. This completes the control panel modernization effort! 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
@superset-ui/plugin-chart-echarts
This plugin provides Echarts viz plugins for Superset:
- Timeseries Chart (combined line, area bar with support for predictive analytics)
- Pie Chart
Usage
Configure key, which can be any string, and register the plugin. This key will be used to
lookup this chart throughout the app.
import {
EchartsTimeseriesChartPlugin,
EchartsPieChartPlugin,
} from '@superset-ui/plugin-chart-echarts';
new EchartsTimeseriesChartPlugin().configure({ key: 'echarts-ts' }).register();
new EchartsPieChartPlugin().configure({ key: 'pie' }).register();
Then use it via SuperChart. See
storybook
for more details.
<SuperChart
chartType="echarts-ts"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>