mirror of
https://github.com/apache/superset.git
synced 2026-09-05 23:12:01 +00:00
Range labels move from mid-bar scatter points onto the markArea bands (insideTopRight), so each label sits inside the range it names and the rightmost label no longer clips at the chart edge. The tooltip stays enabled regardless of the Show labels/legend toggles and the measure bar tooltip names the range the value falls within. The grid top now estimates wrapped legend rows from item text widths instead of assuming a single row. Co-Authored-By: Claude Fable 5 <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: {...},
}]}
/>