mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix(treemap-v2): color scheme not work when there is only one dimension (#20671)
This commit is contained in:
@@ -240,6 +240,7 @@ export default function transformProps(
|
||||
colorSaturation: COLOR_SATURATION,
|
||||
itemStyle: {
|
||||
borderColor: BORDER_COLOR,
|
||||
color: colorFn(`${metricLabel}`, sliceId),
|
||||
borderWidth: BORDER_WIDTH,
|
||||
gapWidth: GAP_WIDTH,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user