There is a bug when we use a counter in "bar mode" :
- Set a counter type to "horizontal bar"
- Set this counter fill type as "gradient"
- Set the gradient to be oriented at 90° of the bar so check "vertical gradient"
- Set the first color to white
- Set the second color to red

In runtime, when the counter is near 0 the bar is all white colored and when the counter is near maximum value, the gradient is correct.

bug: as the counter value is small, the color of the gradient is near first color...