# Legend not displyaing count

**URL:** <https://discuss.elastic.co/t/legend-not-displyaing-count/137746>\
**Category:** Kibana\
**Created:** [June 28, 2018, 6:57am UTC](https://discuss.elastic.co/t/legend-not-displyaing-count/137746 "2018-06-28T06:57:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek007](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@abhishek007](https://discuss.elastic.co/u/abhishek007)\
**Post date:** [June 28, 2018, 6:57am UTC](https://discuss.elastic.co/t/legend-not-displyaing-count/137746/1 "2018-06-28T06:57:54Z")

</div>

Hi,  
I have created the time series graph using visula builder in Kibana 6.2.3.  
However the legend at right side does not show the number of count. it only displays count only when I bring mouse cursor on the line graph. Then it shows the count in legend as well as in tooltip.  
Why this is happening?

Note: I have read one sample file with thousand records. So the data is not coming now. The graph shows 1 hr old data. Is this happening because of that? i don't think so.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/5/0544c01a46422ad1d3922f41fa52595db44ae097.png)

if you dont touch the dashboard, it wont show any count.

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

br,  
Sunil.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [June 28, 2018, 7:52pm UTC](https://discuss.elastic.co/t/legend-not-displyaing-count/137746/2 "2018-06-28T19:52:13Z")

</div>

The counts aren't a total, but an indication of the bucket size where your mouse cursor is (the y axis value). When the mouse isn't hovering it doesn't know which total you're looking for.

If you do want total counts you would likely want to create a Metric visualization in addition to this graph.

---

<div class="post-metadata">

**Author:** ![abhishek007](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@abhishek007](https://discuss.elastic.co/u/abhishek007)\
**Post date:** [June 29, 2018, 1:48am UTC](https://discuss.elastic.co/t/legend-not-displyaing-count/137746/3 "2018-06-29T01:48:16Z")

</div>

Hi,  
Our purpose is to put the graph on the dashboard, and to have current count displayed.

> [@jbudz](#):
>
> If you do want total counts you would likely want to create a Metric visualization in addition to this graph.

I face the same problem in metric visualization too.

br,  
Sunil.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [June 29, 2018, 4:30pm UTC](https://discuss.elastic.co/t/legend-not-displyaing-count/137746/4 "2018-06-29T16:30:10Z")

</div>

Ah my bad. With the visualizations in TSVB (without mouse hovering) it'll give you the last bucket size in the legend. Same with metrics. The bucket size by default is "auto" so it may not be clear how long the time range is. This can be modified in the Panel Options tab.

The metrics visualization outside TSVB will give you metrics over the entire time range set in the time picker.

---

<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:** [July 27, 2018, 4:30pm UTC](https://discuss.elastic.co/t/legend-not-displyaing-count/137746/5 "2018-07-27T16:30:18Z")

</div>

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