Skip to main content

Is it possible to set a conditional colour based on a gradient?


For example: In my shape data I'd have min = 0 max = 5 value = linkedData.column2


Gradient example:


Fill colour start = #FF0000


Fill colour end = #00FF00


This would pick a colour along the gradient based on the linked data value in column 2 between 0 (red) and 5 (green). Or maybe the colour would be a reference to a named gradient?


 


Basically I want to set the fill colour of a shape to one of many possible colours based on a value from the data. the only way I can think of achieving this at the moment is to have a separate "is equal to" rule for each possible colour. Which doesn't scale well if I need to change my min/max range for the value.

Hi Jay

Thanks for posting in the Community! I appreciate all the detail you included when describing your use case. I can confirm that currently you have to define a discrete rule for each color as you've described. However we're always looking for ways to improve Lucidchart through user feedback - I’ve gone ahead and converted this post to an idea in our Product Feedback space so that you and others can comment and upvote it. Thanks for taking the time to share this request!


Hi! I’m Micah from Lucid’s community team. 👋 Jumping in here to share about Lucid’s Data Trusted User Group. This group is made up of knowledgeable users who regularly analyze and visualize data in their work. As part of this group, you’ll have the opportunity to connect directly with Lucid’s product team, gain early access to beta features, and share insights about your needs, shaping the future of Lucid’s data solutions 🎉 You can learn more and request to join here. Thanks!

 


Just wanted to add a +1 to this feature request. It’d be very useful to be able to use colors defined in data. My use case: something like this https://www.lucidchart.com/pages/templates/c4-model-example … I want different diagrams / sub-diagrams to get consistent colors to provide context as people move around


Thanks for telling us more about your use case ​@bilts! That’s super helpful.