# Change color of Line Graph when it crosses a threshold \[7.12\]

**URL:** <https://discuss.elastic.co/t/change-color-of-line-graph-when-it-crosses-a-threshold-7-12/269468>\
**Category:** Kibana\
**Created:** [April 7, 2021, 1:03pm UTC](https://discuss.elastic.co/t/change-color-of-line-graph-when-it-crosses-a-threshold-7-12/269468 "2021-04-07T13:03:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![B2A3R9C9A](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@B2A3R9C9A](https://discuss.elastic.co/u/B2A3R9C9A)\
**Post date:** [April 7, 2021, 1:03pm UTC](https://discuss.elastic.co/t/change-color-of-line-graph-when-it-crosses-a-threshold-7-12/269468/1 "2021-04-07T13:03:04Z")

</div>

Hi,

I have a visualization showcasing CPU Utilization over a given time series. I have set a threshold line of 80 to indicate when utilization is higher than normal.  
 ![threshold](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1effa15041e472d920272fdee164ff5f76105acc.png)

Is it possible on Kibana to change color of the line graph if the values crosses the threshold limit? Also when the graph goes below the threshold line, the color comes back to normal. This is to indicate at what point the CPU value is above the threshold value. The Index pattern is coming from a database/dataset.

---

<div class="post-metadata">

**Author:** ![jportner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jportner/32/75692_2.png) [@jportner](https://discuss.elastic.co/u/jportner)\
**Post date:** [April 7, 2021, 3:36pm UTC](https://discuss.elastic.co/t/change-color-of-line-graph-when-it-crosses-a-threshold-7-12/269468/2 "2021-04-07T15:36:49Z")

</div>

Hi, unfortunately this is not possible in Kibana today. There is an open enhancement request for it here if you'd like to comment there and track it:

> <https://github.com/elastic/kibana/issues/19672>
>
> Describe the feature:
> Feature needed for composing line charts with lines that are able to change colors based on the values they...

---

<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:** [May 5, 2021, 3:37pm UTC](https://discuss.elastic.co/t/change-color-of-line-graph-when-it-crosses-a-threshold-7-12/269468/3 "2021-05-05T15:37:26Z")

</div>

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