feat: improve color consistency (save all labels) (#19038)

This commit is contained in:
Stephen Liu
2022-03-21 15:20:04 +08:00
committed by GitHub
parent e1d0b83885
commit dc575080d7
68 changed files with 690 additions and 137 deletions

View File

@@ -18,7 +18,7 @@
*/
export default function transformProps(chartProps) {
const { width, height, formData, queriesData, margin } = chartProps;
const { colorScheme } = formData;
const { colorScheme, sliceId } = formData;
return {
width,
@@ -26,5 +26,6 @@ export default function transformProps(chartProps) {
data: queriesData[0].data,
colorScheme,
margin,
sliceId,
};
}