# Bar Graph Colors determined by values

**URL:** <https://discourse.nodered.org/t/bar-graph-colors-determined-by-values/5156>\
**Category:** Dashboard\
**Created:** [23 November 2018 20:13 UTC](https://discourse.nodered.org/t/bar-graph-colors-determined-by-values/5156 "2018-11-23T20:13:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [23 November 2018 20:39 UTC](https://discourse.nodered.org/t/bar-graph-colors-determined-by-values/5156/2 "2018-11-23T20:39:56Z")

</div>

No easy way - though there was a discussion fairly recently on how to use a template to achieve it.  
I think it may have been this one [Battery gauge load msg.payload into javascript [Resolved]](https://discourse.nodered.org/t/battery-gauge-load-msg-payload-into-javascript-resolved/2639)

---

_[View the full topic](https://discourse.nodered.org/t/bar-graph-colors-determined-by-values/5156)._
