With the table component, you can colorize tags based on values in your dataset. It would be great to enhance the charts component where you can colorize the pie chart (for example) with the UI and not have to get into the plotly.js code area.
Hello @macphreak!
I believe this is currently available, I am on the most recent version of Retool cloud and while look ing at a chart component I saw the options are as below
In this example it is for a bar chart but after switching the chart type to pie chart I was able to click into the dataset being displayed and click into the color pallet at the bottom.
Are you looking for a way to do this programmatically as opposed to manually?
Thank you for the feedback. However, I was looking for a way to dynamically set that value based on the data being displayed.
Similar to the way it is done with tags inside a table component. You can set it up to where if a field called “status “ is a tag, you can setup a color when it is a certain value.
It would be very helpful if the charts, bar charts, pie charts, etc had this same functionality.
Ah I see, thank you for clarifying!
Just to clarify, by field called 'status', are you talking about a Tag column in a table? Where the tag is a specific color based on what the string input the column's row is given?
If you could you share a screenshot, of the tag set up I can attach that to a feature request so the engineers can best understand what behavior to mimic for this feature!
No problem!
Thank you for the screenshots. I just heard that our engineering team is currently working on a new version of charts that should be able to handle this exact use case
Stay tuned for updates and check our website for the release notes page!
This is awesome! Any ETA range yet on that one? I just want to know how to plan/develop accordingly. Thanks!
Glad you are excited!
We don't have an official ETA range yet, I can check with our internal teams and see if we have any projections.
Will keep this post updated as soon as I get any details from our engineers!