fix(echarts): pass vizType to enable theme overrides in all chart types (#36389)

This commit is contained in:
Gabriel Torres Ruiz
2025-12-04 13:51:40 -04:00
committed by GitHub
parent 4a249a0745
commit 1d8d30e5bb
12 changed files with 23 additions and 7 deletions

View File

@@ -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}
/>
);
}