# 2 X-axis buckets in vertical bars visualization

**URL:** <https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297>\
**Category:** Kibana\
**Created:** [November 18, 2019, 11:07am UTC](https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297 "2019-11-18T11:07:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoav1](https://avatars.discourse-cdn.com/v4/letter/y/e19b73/32.png) [@yoav1](https://discuss.elastic.co/u/yoav1)\
**Post date:** [November 18, 2019, 11:07am UTC](https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297/1 "2019-11-18T11:07:35Z")

</div>

HI,

I have an elasticsearch index that represents software automation tests regressions. each document represents a test

The index has the following fields: regression\_id, start\_date,attr\_x,attr\_y.  
I have Vertical Bar visualization that its' X-axis is daily Date histogram on start\_date.  
and Y -axis is count of tests that were ran in the regression that was started at this date.  
There are two buckets that split series according attr\_x and attr\_y.  
Bars are stacked bar. so the tests of each regression is grouped by attr\_x and attr\_y and it is seen very well on the bar.

**The problem:**

Multiple regressions can be started at the same day... so on one day there is no distinction between tests of different regression.

I would like to another split on X-axis - keep the daily Date histogram on "start\_date" but add another split that is based on the term "regression\_id".  
in this way there will be a bar for each regression. and if there are two regression on the same day there will be two bars on this day (and each bar will still have "stacked" split for grouping attr\_x and attr\_y)

can you advise on how to do this?  
thanks!

---

<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:** [November 19, 2019, 4:33am UTC](https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297/2 "2019-11-19T04:33:13Z")

</div>

i would do a split chart for this for the second split, on "regression\_id". If you do another split series the chart will become hard to read sadly.

---

<div class="post-metadata">

**Author:** ![yoav1](https://avatars.discourse-cdn.com/v4/letter/y/e19b73/32.png) [@yoav1](https://discuss.elastic.co/u/yoav1)\
**Post date:** [November 19, 2019, 5:35am UTC](https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297/3 "2019-11-19T05:35:53Z")

</div>

Thanks Marius.  
what i really want is to add another series on "regression\_id" and change the metrics mode to be "stacked" for most of the splits and normal for "regression\_id" split in this way if there are 2 regression on the same day there will be 2 bars on this day. bar for each regression.  
it it possible to do it?

Thanks

---

<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:** [November 19, 2019, 12:20pm UTC](https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297/4 "2019-11-19T12:20:43Z")

</div>

i asked about that earlier, but it's not possible for now. It might become possible with Lens, but that is still some way away from being finished.

---

<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:** [December 17, 2019, 12:20pm UTC](https://discuss.elastic.co/t/2-x-axis-buckets-in-vertical-bars-visualization/208297/5 "2019-12-17T12:20:50Z")

</div>

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