# Customized color for the gauge visualization

**URL:** <https://discuss.elastic.co/t/customized-color-for-the-gauge-visualization/278651>\
**Category:** Kibana\
**Created:** [July 14, 2021, 12:01pm UTC](https://discuss.elastic.co/t/customized-color-for-the-gauge-visualization/278651 "2021-07-14T12:01:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rana\_M\_Zubair](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rana_m_zubair/32/77328_2.png) [@Rana\_M\_Zubair](https://discuss.elastic.co/u/Rana_M_Zubair)\
**Post date:** [July 14, 2021, 12:01pm UTC](https://discuss.elastic.co/t/customized-color-for-the-gauge-visualization/278651/1 "2021-07-14T12:01:12Z")

</div>

Hi all,  
I am trying to create a gauge visualization of split group bucket type. In my case, I have the field that results in success or error count. I want the gauge for the success case count to be of the green color and that one for the error count to be of red color whatever the range of the count is. Right now what I have seen is that the color changes on the bases of the range of the count. Like from 1-100 (green),100-200 (yellow),200-300 (red)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/1/4152cc30e5eb768c03e684b1270f4afa942bc8b2.jpeg)

---

<div class="post-metadata">

**Author:** ![ghudgins](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ghudgins/32/138532_2.png) [@ghudgins](https://discuss.elastic.co/u/ghudgins)\
**Post date:** [July 14, 2021, 5:41pm UTC](https://discuss.elastic.co/t/customized-color-for-the-gauge-visualization/278651/2 "2021-07-14T17:41:57Z")

</div>

Try instead using a dashboard that contains two gauge visualizations each styled a separate way.

The idea behind having multiple gauges in a single visualization is they are all being represented by a consistent scale and coloring. This works if you're counting errors from multiple sources at the same time (or successes from multiple sources at the same time) but not when you want to have two different scales and color stops.

---

<div class="post-metadata">

**Author:** ![Rana\_M\_Zubair](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rana_m_zubair/32/77328_2.png) [@Rana\_M\_Zubair](https://discuss.elastic.co/u/Rana_M_Zubair)\
**Post date:** [July 19, 2021, 11:20am UTC](https://discuss.elastic.co/t/customized-color-for-the-gauge-visualization/278651/3 "2021-07-19T11:20:08Z")

</div>

thank you @ghudgins. I worked it the way you suggested and it seems good.

---

<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 16, 2021, 11:20am UTC](https://discuss.elastic.co/t/customized-color-for-the-gauge-visualization/278651/4 "2021-08-16T11:20:47Z")

</div>

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