mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
feat: improve color consistency (save all labels) (#19038)
This commit is contained in:
@@ -23,7 +23,7 @@ import { WordCloudFormData } from '../types';
|
||||
|
||||
export default function transformProps(chartProps: ChartProps): WordCloudProps {
|
||||
const { width, height, formData, queriesData } = chartProps;
|
||||
const { encoding, rotation } = formData as WordCloudFormData;
|
||||
const { encoding, rotation, sliceId } = formData as WordCloudFormData;
|
||||
|
||||
return {
|
||||
data: queriesData[0].data,
|
||||
@@ -31,5 +31,6 @@ export default function transformProps(chartProps: ChartProps): WordCloudProps {
|
||||
height,
|
||||
rotation,
|
||||
width,
|
||||
sliceId,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user