# Change color of bar when some threshold limit is reached for day

**URL:** <https://discuss.elastic.co/t/change-color-of-bar-when-some-threshold-limit-is-reached-for-day/192257>\
**Category:** Kibana\
**Created:** [July 25, 2019, 1:40pm UTC](https://discuss.elastic.co/t/change-color-of-bar-when-some-threshold-limit-is-reached-for-day/192257 "2019-07-25T13:40:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibhav.rodage](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@vaibhav.rodage](https://discuss.elastic.co/u/vaibhav.rodage)\
**Post date:** [July 25, 2019, 1:40pm UTC](https://discuss.elastic.co/t/change-color-of-bar-when-some-threshold-limit-is-reached-for-day/192257/1 "2019-07-25T13:40:28Z")

</div>

I have a requirement like,we are building dashboard to track microservices status per day.  
Suppose 1 service gets error-ed out 10 times in a day then I need to change the color of service name to Red for that day in graph.

Is it possible to change color of bar dynamically on some condition in graph or any other type?

---

<div class="post-metadata">

**Author:** ![areyja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/areyja/32/50060_2.png) [@areyja](https://discuss.elastic.co/u/areyja)\
**Post date:** [July 25, 2019, 2:25pm UTC](https://discuss.elastic.co/t/change-color-of-bar-when-some-threshold-limit-is-reached-for-day/192257/2 "2019-07-25T14:25:07Z")

</div>

most straight forward would be to use Gauge in Visualization -

![Capture12](https://us1.discourse-cdn.com/elastic/original/3X/5/2/5210b97cf10b55250a013027bae1f814645ff12b.jpeg)

 ![Capture13](https://us1.discourse-cdn.com/elastic/original/3X/1/8/18c2dcf43e12d62458994c4efcdaad3aaa7c8714.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 22, 2019, 2:25pm UTC](https://discuss.elastic.co/t/change-color-of-bar-when-some-threshold-limit-is-reached-for-day/192257/3 "2019-08-22T14:25:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
