Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Value: a decimal number between 0 and 1. It represents the progress.
  • Label: A free text shown on the right of the bar
  • MinColorMinColour: Color para al valor for the value 0.MaxColor
  • MaxColour: Color para al valor for the value 1.
  • Fill: The colors representing the progress.   (Not valid since version 3.0.x)

...

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"] }

...


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 ...

...