...
SELECT '93.8%' as "label",
0.938 as "value",
'#FF0000' AS minColour,
'#00FF00' AS maxColour
from issues i
where i.key= '${key}'
The fill column is quite customizable with solid colors as well as gradients. Examples:
{ color: "#ff1e41" }
{ color: 'rgba(255, 255, 255, .3)' }
{ gradient: ["red", "green", "blue"] }
{ gradient: [["red", .2], ["green", .3], ["blue", .8]] }
{ gradient: [ ... ], gradientAngle: Math.PI / 4 }
{ gradient: [ ... ], gradientDirection: [x0, y0, x1, y1] }
Default: { gradient: ["#3aeabb", "#fdd250"] }
(Not valid since version 3.0.x)
Example
Suppose our issues are divided into subtasks. This is common when our tasks require the completion of several processes to be able to solve them. We may need an analysis, testing, I+D ...
...