-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RGB values always resolve to the color gray for heatmap and treemap #4645
Labels
bug
Something isn't working
Comments
This was referenced Sep 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Actual Behavior
Screenshots
Using rgb values:
colors:['rgb(255, 0, 0)']
Using hex values:
colors:['#ff0000']
Reproduction Link
codepen
The text was updated successfully, but these errors were encountered: