Skip to content

Commit

Permalink
fix(treemap-v2): color scheme not work when there is only one dimensi…
Browse files Browse the repository at this point in the history
…on (#20671)
  • Loading branch information
stephenLYZ committed Jul 13, 2022
1 parent effa7d9 commit bd6037e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit bd6037e

Please sign in to comment.