# How to remove the value from the legend in TSVB

**URL:** <https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785>\
**Category:** Kibana\
**Created:** [July 27, 2022, 6:09pm UTC](https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785 "2022-07-27T18:09:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kohlman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kohlman/32/87348_2.png) [@Kohlman](https://discuss.elastic.co/u/Kohlman)\
**Post date:** [July 27, 2022, 6:09pm UTC](https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785/1 "2022-07-27T18:09:23Z")

</div>

I've created a number of TSVB visualizations. The latest had very large values. Which is when I noticed that the values are included in the legend. In addition, we like having the legend NOT truncated. This combination makes the legend . . . look terrible and cause the legend to show very few values and turns on the scroll bar for the legend. See screenshot below.

Is there a way to turn off including the value in the legend?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/e/ce088a5fd9e6e2f270fa471d1c966fb0baf8397a.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 27, 2022, 7:35pm UTC](https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785/2 "2022-07-27T19:35:30Z")

</div>

Hi @Kohlman What version of the Stack are you on?

I think if you go under panel options

 ![Screen Shot 2022-07-27 at 12.38.05 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91f40a40f8955507c8ba8c46077ca1b51fa7d539.png)

Then it will look like this...

 ![Screen Shot 2022-07-27 at 12.37.24 PM](https://us1.discourse-cdn.com/elastic/original/3X/4/1/41afa6b105a8bd359ebd48b550dade5682cbf081.png)

You might also look at Lens Visualization

---

<div class="post-metadata">

**Author:** ![Kohlman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kohlman/32/87348_2.png) [@Kohlman](https://discuss.elastic.co/u/Kohlman)\
**Post date:** [August 1, 2022, 5:52pm UTC](https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785/3 "2022-08-01T17:52:05Z")

</div>

Hi Stephen,

Sorry I missed the notification that you responded. In the screenshot I send it was EC2 instance names. However, we have others where you really do want to see the whole name of the thing we are aggregating on.

My short term solution is to create a Lens or Aggregation based line graph using Date Histogram. In these visualizations the "values" are not included in the legend. I prefer the TSVB visualizations because you can change the index pattern name after you create it. There are also other cool features that exist for TSVB that don't exist on the others. Also, we are still in the process of creating LOTS of dashboards, so being able to File -\> Save As -\> Give it a new name, change the index but keep the groupings etc but change the index pattern and the metrics saves me time.

If you have any other ideas, I'd appreciate your insights.

Thanks,  
Kohlman

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 1, 2022, 6:10pm UTC](https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785/4 "2022-08-01T18:10:46Z")

</div>

> [@Kohlman](#):
>
> I prefer the TSVB visualizations because you can change the index pattern name after you create it  
> ...Also, we are still in the process of creating LOTS of dashboards, so being able to File -\> Save As -\> Give it a new name, change the index but keep the groupings etc but change the index pattern and the metrics saves me time.

What version are you on .. .latest lens you can change the index pattern ... and save ...

 ![Screen Shot 2022-08-01 at 11.10.02 AM](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e7c38a7a221f846f92dffec418d02b6ced375742.png)

> [@Kohlman](#):
>
> There are also other cool features that exist for TSVB that don't exist on the others.

Tell Us we are listening... 🙂

---

<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 29, 2022, 6:11pm UTC](https://discuss.elastic.co/t/how-to-remove-the-value-from-the-legend-in-tsvb/310785/5 "2022-08-29T18:11:00Z")

</div>

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