mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
feat: Enables ECharts legend selector (#23590)
This commit is contained in:
committed by
GitHub
parent
adcb8cf0ac
commit
30f210b842
@@ -171,6 +171,7 @@ export default function transformProps(
|
||||
inContextMenu,
|
||||
filterState,
|
||||
emitCrossFilters,
|
||||
theme,
|
||||
} = chartProps;
|
||||
const data: DataRecord[] = queriesData[0].data || [];
|
||||
|
||||
@@ -324,7 +325,7 @@ export default function transformProps(
|
||||
),
|
||||
},
|
||||
legend: {
|
||||
...getLegendProps(legendType, legendOrientation, showLegend),
|
||||
...getLegendProps(legendType, legendOrientation, showLegend, theme),
|
||||
data: categoryList,
|
||||
},
|
||||
series,
|
||||
|
||||
Reference in New Issue
Block a user