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

@@ -20,7 +20,7 @@ import { SankeyTransformedProps } from './types';
import Echart from '../components/Echart';
export default function Sankey(props: SankeyTransformedProps) {
const { height, width, echartOptions, refs } = props;
const { height, width, echartOptions, refs, formData } = props;
return (
<Echart
@@ -28,6 +28,7 @@ export default function Sankey(props: SankeyTransformedProps) {
height={height}
width={width}
echartOptions={echartOptions}
vizType={formData.vizType}
/>
);
}