# Kibana graph shows wrong value

**URL:** <https://discuss.elastic.co/t/kibana-graph-shows-wrong-value/231978>\
**Category:** Kibana\
**Created:** [May 11, 2020, 10:11am UTC](https://discuss.elastic.co/t/kibana-graph-shows-wrong-value/231978 "2020-05-11T10:11:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Souvik\_Das](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/souvik_das/32/107606_2.png) [@Souvik\_Das](https://discuss.elastic.co/u/Souvik_Das)\
**Post date:** [May 11, 2020, 10:11am UTC](https://discuss.elastic.co/t/kibana-graph-shows-wrong-value/231978/1 "2020-05-11T10:11:27Z")

</div>

Hello,  
I've made a stacked bar chart as shown below.  
 ![a](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e7c0165c8f8f183258f8d14109cffb3f18a80a4.png)  
When I hovered on the particular stack it has shown the count is 8. But when I clicked on the same stack, it has shown the count is 10. See below the reference image.  
 ![b](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66c949fa30eca8cb66169e34c80e2c4478eb4253.png)  
For your reference,

1. I took 1-day data for the visualisation.
2. Kibana's timezone is in UTC and my server's timezone is also in UTC  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/1/915fa60151fc72c746789c7abcfb6526ba18d3d1.png)
3. X-axis of the graph represents terms and y-axis represents counts.

Actually the second image shows the correct data i.e. 10. But in the first image its showing wrong value i.e. 8.  
Why does this thing happen? Why it shows 8 instead of 10?

Please help!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [May 11, 2020, 5:46pm UTC](https://discuss.elastic.co/t/kibana-graph-shows-wrong-value/231978/2 "2020-05-11T17:46:42Z")

</div>

Can you increase the size of the Terms aggregation that you're splitting by in the first visualization? Try something like twice what you're using now.

---

<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 8, 2020, 5:46pm UTC](https://discuss.elastic.co/t/kibana-graph-shows-wrong-value/231978/3 "2020-06-08T17:46:43Z")

</div>

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