Manuals and repo for plugin flowcharting
Define the color and the value to apply the color
You cannot change the value of the first line, it is the default color when value is below for the number type or when no expression matches for string type.
For each line, Flowcharting calculate a level number :
You can invert the order of the levels and colors by clicking on invert button
flowCharting is able to calculate the intermediate color when the value is between 2 levels with one value. If there is no associated value, flowCharting takes the raw color of the corresponding level.
When rule’s state is not ok, Floawcharting add warning icon under shapes
In this example, 3 colors are declared (red, yellow and green ) but only 2 values are associated.
(Curr_value - Begin_color_value)/(End_color_value - Begin_color_value)
Example, for 60 :
(60 - 40)/(80 - 40) = 0.5
Flowcharting calculates the color between yellow and red with 0.5 (middle).
To solve the problem, you need to define a value for red color like this :
You can found a big example with floorplan dashboard here :
https://play.grafana.org/d/Unu5JcjWk/flowcharting-index?orgId=1
Or a little example :
https://play.grafana.org/d/cX3XoCCWz/flowcharting-gradient-color-mode?orgId=1