# Toggle in Line graph

**URL:** https://discuss.elastic.co/t/toggle-in-line-graph/242822
**Category:** Kibana
**Created:** [July 28, 2020, 4:01am UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822 "2020-07-28T04:01:50Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![nisargtest1](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nisargtest1](https://discuss.elastic.co/u/nisargtest1)
#### Post date: [July 28, 2020, 4:01am UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/1 "2020-07-28T04:01:50Z")

</div>

I want to put toggle in line graph, there are 16 lines in one graph and it is hard to visualize the data at a time. Is there any functionality through which I can toggle the visibility of lines. I am using Kiabana 7.4.2

Thanks in advance.

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [July 29, 2020, 5:46pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/2 "2020-07-29T17:46:00Z")

</div>

@nisargtest1  
There are a few historical questions about the same thing. I'll quote the reply from one of them here:

You can do this already using filters, simply click on the value in the legend and then click on the magnifying glass with the minus ( `-` ) in it. Filtering out the value will cause the y-axis scale to resize.

If there's some other kind of interaction you'd like to see, I encourage you to [open an issue on the repo](https://github.com/elastic/kibana/issues).

I hope that helps

---

<div class="post-metadata">

### Author: ![nisargtest1](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nisargtest1](https://discuss.elastic.co/u/nisargtest1)
#### Post date: [July 29, 2020, 8:44pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/3 "2020-07-29T20:44:04Z")

</div>

Could you please share one sample request for my reference. I have been thorough the historical questions but did not find magnifying glass with minus sign.  
Thanks in advance

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [July 29, 2020, 8:53pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/4 "2020-07-29T20:53:11Z")

</div>

@nisargtest1  
Here's a screen shot from Kibana 7.4.2 using the flights sample data:

 ![Screen Shot 2020-07-29 at 14.03.15](https://us1.discourse-cdn.com/elastic/original/3X/a/c/ac481204f770304ebd15d51a9668809fc0949dbc.png)

---

<div class="post-metadata">

### Author: ![nisargtest1](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nisargtest1](https://discuss.elastic.co/u/nisargtest1)
#### Post date: [July 30, 2020, 5:36pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/5 "2020-07-30T17:36:31Z")

</div>

![Screen Shot 2020-07-30 at 10.35.34 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d2431c9b8b42696e0621b7ba138322e181e14aa.png)

Please see the screenshot, I do not see such option

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [July 30, 2020, 6:53pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/6 "2020-07-30T18:53:24Z")

</div>

That is strange. Can you try changing the label position to be on the top rather than the right? Are you using the oss distribution by any chance?

---

<div class="post-metadata">

### Author: ![nisargtest1](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nisargtest1](https://discuss.elastic.co/u/nisargtest1)
#### Post date: [July 31, 2020, 6:30am UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/7 "2020-07-31T06:30:43Z")

</div>

I tried by changing label position to top but still don't find it. I am not sure what oss distribution is. Could you please let me know what it is and how to check.

Thanks for your quick responses.

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [July 31, 2020, 7:54am UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/8 "2020-07-31T07:54:13Z")

</div>

Judging from the labels in your screenshot, those are not different series split by a terms agg or something like that, but different metrics based on the same bucket aggregations. In this case the trick with clicking the minus sign doesn't work.

You should be able to do this using TSVB though - configure your chart there using multiple series, then on dashboard you can hide individual series by clicking the label in the legend:

 ![hide series 7.4](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3dab7ced5555683b9bbc032639544ad03dd283cc.gif)

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [July 31, 2020, 3:03pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/9 "2020-07-31T15:03:30Z")

</div>

@nisargtest1 Here are two references on using the Time Series Visual Builder (TSVB):

1. [https://www.elastic.co/guide/en/kibana/current/TSVB.html](https://www.elastic.co/guide/en/kibana/current/TSVB.html)
2. [https://www.elastic.co/blog/visualizing-observability-with-kibana-event-rates-and-rate-of-change-in-tsvb](https://www.elastic.co/blog/visualizing-observability-with-kibana-event-rates-and-rate-of-change-in-tsvb)

---

<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 28, 2020, 3:03pm UTC](https://discuss.elastic.co/t/toggle-in-line-graph/242822/10 "2020-08-28T15:03:37Z")

</div>

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