mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix(echarts): pass vizType to enable theme overrides in all chart types (#36389)
This commit is contained in:
committed by
GitHub
parent
4a249a0745
commit
1d8d30e5bb
@@ -23,7 +23,8 @@ import { EventHandlers } from '../types';
|
||||
export default function EchartsWaterfall(
|
||||
props: WaterfallChartTransformedProps,
|
||||
) {
|
||||
const { height, width, echartOptions, refs, onLegendStateChanged } = props;
|
||||
const { height, width, echartOptions, refs, onLegendStateChanged, formData } =
|
||||
props;
|
||||
|
||||
const eventHandlers: EventHandlers = {
|
||||
legendselectchanged: payload => {
|
||||
@@ -44,6 +45,7 @@ export default function EchartsWaterfall(
|
||||
width={width}
|
||||
echartOptions={echartOptions}
|
||||
eventHandlers={eventHandlers}
|
||||
vizType={formData.vizType}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user