# Kibana Incorrect Order for Bar Graph

**URL:** <https://discuss.elastic.co/t/kibana-incorrect-order-for-bar-graph/128641>\
**Category:** Kibana\
**Created:** [April 19, 2018, 7:19am UTC](https://discuss.elastic.co/t/kibana-incorrect-order-for-bar-graph/128641 "2018-04-19T07:19:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulnama](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@rahulnama](https://discuss.elastic.co/u/rahulnama)\
**Post date:** [April 19, 2018, 7:19am UTC](https://discuss.elastic.co/t/kibana-incorrect-order-for-bar-graph/128641/1 "2018-04-19T07:19:28Z")

</div>

Hello Team,

I'm visualizing two fields in the vertical bar graph(using split series) but not sure what order it's following?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9d76281291cd0d04f4a66307a7f56debcce4e1c4.png)

If you see the count of the second bar is very less and count of the third bar is high in that case the third bar should display first but that's not happening. any idea on this? Please have a look and do suggest me on what basis it's displaying the data and how to sort out this?

Thanks for your time as always. 🙂

---

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [April 19, 2018, 4:57pm UTC](https://discuss.elastic.co/t/kibana-incorrect-order-for-bar-graph/128641/2 "2018-04-19T16:57:17Z")

</div>

This is expected. [https://github.com/elastic/kibana/issues/3314#issuecomment-89009309](https://github.com/elastic/kibana/issues/3314#issuecomment-89009309) goes into more detail on why this is.

To see all the values so they look sorted, you can either bump your split series max size to a large enough value (be careful though because this might be an expensive query and expensive to render if it's too large):

 ![41%20PM](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a0ada55b12dfa1168777c73c18a4608579f9576d.png)

Or check `group other values in a separate bucket`:

 ![53%20PM](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f0a6de6b427ccd5330359f0a768a6dfe7429c88.png)

Here is how the visualization looks when split on max size of 5 without that checkbox checked:

 ![29%20PM](https://us1.discourse-cdn.com/elastic/original/3X/d/a/dab7b00d19f0906742bef4189dbff233c953e27e.png)

---

<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:** [May 17, 2018, 4:57pm UTC](https://discuss.elastic.co/t/kibana-incorrect-order-for-bar-graph/128641/3 "2018-05-17T16:57:37Z")

</div>

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