d3plus/d3plus-viz

When colorScalePosition is false then color scale doesn't work

danielamguerra opened this issue · 1 comments

Possible problem in commit "allows colorScale to be seen with single values"
(https://github.com/d3plus/d3plus-viz/commits/main/src/_drawColorScale.js)

Change made in showColorScale requires position.
If the colorScalePosition is false (we don't want to show the scale), the color scale doesn't work.

Old Version
image

New Version
image

fixed with version 1.3.5 of d3plus-viz