Skip to content

Commit

Permalink
fix(HotMap): color
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Rui committed Apr 16, 2024
1 parent 6ccda58 commit 95ef2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hot-map/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class HotMap extends BaseChart {
this.instance
.polygon()
.position(`${xField}*${yField}`)
.color(zField, '#F2F3FF-#8EABFF-#0052D9')
.color(zField, shapeConfig?.color || '#F2F3FF-#B5C7FF-#618DFF')
.label(zField, {
offset: -2,
style: {
Expand Down

0 comments on commit 95ef2c2

Please sign in to comment.