mirror of
https://github.com/apache/superset.git
synced 2026-05-31 05:09:20 +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
@@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user