# How to change colour of progress wheel according to label value in kibana canvas

**URL:** https://discuss.elastic.co/t/how-to-change-colour-of-progress-wheel-according-to-label-value-in-kibana-canvas/186028
**Category:** Kibana
**Tags:** canvas
**Created:** [June 17, 2019, 9:28am UTC](https://discuss.elastic.co/t/how-to-change-colour-of-progress-wheel-according-to-label-value-in-kibana-canvas/186028 "2019-06-17T09:28:58Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)
#### Post date: [June 28, 2019, 11:56pm UTC](https://discuss.elastic.co/t/how-to-change-colour-of-progress-wheel-according-to-label-value-in-kibana-canvas/186028/4 "2019-06-28T23:56:28Z")

</div>

Your use case is similar to this one: [Conditional colouring using kibana canvas expression editor](https://discuss.elastic.co/t/conditional-colouring-using-kibana-canvas-expression-editor/177929/5) The only difference is instead you would pass `valueColor={if {gt 0.9} then="red" else="green"}` into the `progress` function to conditionally set the color of the progress bar.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-change-colour-of-progress-wheel-according-to-label-value-in-kibana-canvas/186028)._
