# Legend thresholds and color customization

**URL:** <https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210>\
**Category:** Kibana\
**Created:** [November 11, 2018, 7:21pm UTC](https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210 "2018-11-11T19:21:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![guilherme\_maranhao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guilherme_maranhao/32/101483_2.png) [@guilherme\_maranhao](https://discuss.elastic.co/u/guilherme_maranhao)\
**Post date:** [November 11, 2018, 7:21pm UTC](https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210/1 "2018-11-11T19:21:40Z")

</div>

Hi there,

I'm working on a region map and I'd like to customize the thresholds and colors of my Metrics Aggregation. I'm able to set the color ranges, i.e., green to yellow, Red, Blues, etc...  
But the thresholds are automatically defined. Kibana returns me that:

 ![image_map](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aaface28d9ccb5c8c5b6f6c9891547d9b37cbcaf.jpeg)

I would like to customize my legend to these thresholds:  
Green: 0...0.9  
Yellow: 1...3.9  
Red: \>= 4

It would be nice to change the colors level among the thresholds, like, light yellow to 1 and dark yellow to 3.9, but the thresholds themselves I would like to customize.

Does anybody know if it is possible?

Thanks, Guilherme

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [November 13, 2018, 12:02am UTC](https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210/2 "2018-11-13T00:02:51Z")

</div>

@thomasneirynck or @nreese

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![guilherme\_maranhao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guilherme_maranhao/32/101483_2.png) [@guilherme\_maranhao](https://discuss.elastic.co/u/guilherme_maranhao)\
**Post date:** [November 13, 2018, 11:40pm UTC](https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210/3 "2018-11-13T23:40:14Z")

</div>

Thank you!

Besides that, I'd like to know if it's possible to interact with the regionmap visualization, i.e., the user clicks on a specific region and it shows another dashboard, like a drill-down operation.  
I've seen some posts explaining how to do it with tables or pie charts:

> <https://github.com/elastic/kibana/issues/12560#issuecomment-404449251>

  

> **[Inserting Links in Kibana Dashboards - The New Stack](https://thenewstack.io/inserting-links-kibana-dashboards/)**
>
> Kibana is a great analysis and visualization tool. But just like any piece of software, it is not perfect. While there is no doubt that the more recent versions of Kibana, 5.x and more so — 6.x, have made huge progress from a UI and UX perspective,...

But none showing how to make it with the regionmap visualization. Do you know if it is possible?

Thank you,

Guilherme

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [November 19, 2018, 7:36pm UTC](https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210/4 "2018-11-19T19:36:55Z")

</div>

Hi @guilherme_maranhao,

this is currently not possible. We are working on a new geo-solution for Kibana, and this would be a good added feature there.

Do you mind creating an enhancement ticket in Kibana for this? [https://github.com/elastic/kibana/issues/new](https://github.com/elastic/kibana/issues/new)

---

<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:** [December 17, 2018, 7:36pm UTC](https://discuss.elastic.co/t/legend-thresholds-and-color-customization/156210/5 "2018-12-17T19:36:58Z")

</div>

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