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

@@ -21,7 +21,8 @@ import { allEventHandlers } from '../utils/eventHandlers';
import { BoxPlotChartTransformedProps } from './types';
export default function EchartsBoxPlot(props: BoxPlotChartTransformedProps) {
const { height, width, echartOptions, selectedValues, refs } = props;
const { height, width, echartOptions, selectedValues, refs, formData } =
props;
const eventHandlers = allEventHandlers(props);
@@ -33,6 +34,7 @@ export default function EchartsBoxPlot(props: BoxPlotChartTransformedProps) {
echartOptions={echartOptions}
eventHandlers={eventHandlers}
selectedValues={selectedValues}
vizType={formData.vizType}
/>
);
}