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.