Skip to content

Commit

Permalink
fixes #4579; heatmap legend color issue
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Jul 22, 2024
1 parent 3dffd0d commit ad63c82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/legend/Legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,9 @@ class Legend {
const SVGMarker = SVG(elMarker).size('100%', '100%')
const marker = new Graphics(this.ctx).drawMarker(0, 0, {
...markerConfig,
pointFillColor: Array.isArray(w.config.legend.markers.fillColors)
pointFillColor: Array.isArray(fillcolor)
? fillcolor[i]
: markerConfig.pointFillColor,

shape,
})

Expand Down

0 comments on commit ad63c82

Please sign in to comment.