-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When using rgb values in the colors option for a heatmap or treemap it renders gray regardless of inputted rgb values. However, when using hex values it renders correctly.
Steps to Reproduce
-
Switch the hex value for an rgb value in the colors option property for heatmap
-
You can use the basic heatmap example to recreate this issue
-
You can add the colors option with a hex value first to verify the color change. Then add any rgb values to see that it always resolves to gray for the treemap.
-
You can use the basic treemap example to to recreate this issue
Expected Behavior
- The Heatmap and Treemap should correctly render colors based on RGB values provided in the colors option.
Actual Behavior
- Both Heatmap and Treemap render the colors as gray when RGB values are used in the colors option.
Screenshots
Using rgb values:
colors:['rgb(255, 0, 0)']
Using hex values:
colors:['#ff0000']
Reproduction Link
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working