# \[Line chart\] Show threshold line for only right y-axis

**URL:** https://discuss.elastic.co/t/line-chart-show-threshold-line-for-only-right-y-axis/233228
**Category:** Kibana
**Created:** [May 19, 2020, 3:33am UTC](https://discuss.elastic.co/t/line-chart-show-threshold-line-for-only-right-y-axis/233228 "2020-05-19T03:33:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sreliable](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@sreliable](https://discuss.elastic.co/u/sreliable)
#### Post date: [May 19, 2020, 3:33am UTC](https://discuss.elastic.co/t/line-chart-show-threshold-line-for-only-right-y-axis/233228/1 "2020-05-19T03:33:15Z")

</div>

Hi all,

I'm creating a visualization to understand the relationship between two fields: Transactions and CPU (%) of underlying server.

I want to set a threshold line of 60% for just the CPU, thus I've made the following changes -  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e6f399b64da454dca4ceb2989ac2991cf48266bb.png)

Result -

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/4/447846783663d2d1374452c0e03a6ed84a7db50c.png)  
(Ignore the missing data points for CPU)

As it can be seen, there are 2 separate threshold lines for both the transaction volume and the CPU.

_Is it possible to limit the threshold line to be applied to only one of the y-axis_?

Thanks in advance.

---

<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: [May 20, 2020, 12:19pm UTC](https://discuss.elastic.co/t/line-chart-show-threshold-line-for-only-right-y-axis/233228/2 "2020-05-20T12:19:04Z")

</div>

Thank you @sreliable, that's an interesting edge-case. I don't think it's possible to do this, to just put this on a single axis. I would create an ER here: [https://github.com/elastic/kibana/issues/new/choose](https://github.com/elastic/kibana/issues/new/choose)

---

<div class="post-metadata">

### Author: ![sreliable](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@sreliable](https://discuss.elastic.co/u/sreliable)
#### Post date: [May 21, 2020, 1:53am UTC](https://discuss.elastic.co/t/line-chart-show-threshold-line-for-only-right-y-axis/233228/3 "2020-05-21T01:53:06Z")

</div>

Thanks for the advice @thomasneirynck, I've submitted the issue here:

> <https://github.com/elastic/kibana/issues/67153>
>
> Describe the feature:
> This feature is specific to when two y-axis are used on a line graph visualization.
> Visualization: Line graph (Two y-axis...

---

<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: [June 18, 2020, 1:53am UTC](https://discuss.elastic.co/t/line-chart-show-threshold-line-for-only-right-y-axis/233228/4 "2020-06-18T01:53:08Z")

</div>

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