# Split series in Kibana not working for horizontal bar graph as in vertical bar graph

**URL:** <https://discuss.elastic.co/t/split-series-in-kibana-not-working-for-horizontal-bar-graph-as-in-vertical-bar-graph/163725>\
**Category:** Kibana\
**Created:** [January 10, 2019, 11:37am UTC](https://discuss.elastic.co/t/split-series-in-kibana-not-working-for-horizontal-bar-graph-as-in-vertical-bar-graph/163725 "2019-01-10T11:37:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushik.vankayala](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@kaushik.vankayala](https://discuss.elastic.co/u/kaushik.vankayala)\
**Post date:** [January 10, 2019, 11:37am UTC](https://discuss.elastic.co/t/split-series-in-kibana-not-working-for-horizontal-bar-graph-as-in-vertical-bar-graph/163725/1 "2019-01-10T11:37:34Z")

</div>

Hello Team,

I am trying to use the split series option in the horizontal bar graph. But it does not seem to work the way it does for vertical bar graph. Instead of the bar getting split so many bars are being formed side by side.... I hope the screenshots below explain.

Also, i am choosing the horizontal bar graph in order to have the labels on the x-axis clearly.

Is there some settings i have to tweak?

Vertical Graph:

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

Horizontal Graph:

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/2/52bc925778f763b34ff69d70b58a114bf2a3d641.png)

_Any help appreciated_

Regards

Kaushik

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [January 18, 2019, 6:53pm UTC](https://discuss.elastic.co/t/split-series-in-kibana-not-working-for-horizontal-bar-graph-as-in-vertical-bar-graph/163725/2 "2019-01-18T18:53:20Z")

</div>

Hi @kaushik.vankayala,

What you are looking for is the "mode: stacked" option in the visualization editor under the "Metrics & Axes" tab. I believe it is set to stacked by default for vertical bar charts, but normal for horizontal charts (to be honest I'm not entirely sure why this is... feels like they should be consistent.)

At any rate, [here's an example](https://demo.elastic.co/app/kibana#/visualize/create?type=horizontal_bar&indexPattern=90943e30-9a47-11e8-b64d-95841ca0b247&_g=(refreshInterval:(pause:!t,value:0),time:(from:now-7d,mode:quick,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:''),uiState:(),vis:(aggs:!((enabled:!t,id:'1',params:(),schema:metric,type:count),(enabled:!t,id:'2',params:(field:tags.keyword,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'1',otherBucket:!f,otherBucketLabel:Other,size:5),schema:group,type:terms),(enabled:!t,id:'3',params:(field:machine.os.keyword,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'1',otherBucket:!f,otherBucketLabel:Other,size:5),schema:segment,type:terms)),params:(addLegend:!t,addTimeMarker:!f,addTooltip:!t,categoryAxes:!((id:CategoryAxis-1,labels:(filter:!f,rotate:0,show:!t,truncate:200),position:left,scale:(type:linear),show:!t,style:(),title:(),type:category)),grid:(categoryLines:!f,style:(color:%23eee)),legendPosition:right,seriesParams:!((data:(id:'1',label:Count),drawLinesBetweenPoints:!t,mode:stacked,show:!t,showCircles:!t,type:histogram,valueAxis:ValueAxis-1)),times:!(),type:histogram,valueAxes:!((id:ValueAxis-1,labels:(filter:!t,rotate:75,show:!t,truncate:100),name:LeftAxis-1,position:bottom,scale:(mode:normal,type:linear),show:!t,style:(),title:(text:Count),type:value))),title:'New+Visualization',type:horizontal_bar))) of how that looks.

Hope this helps!

Luke

---

<div class="post-metadata">

**Author:** ![kaushik.vankayala](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@kaushik.vankayala](https://discuss.elastic.co/u/kaushik.vankayala)\
**Post date:** [January 20, 2019, 1:06pm UTC](https://discuss.elastic.co/t/split-series-in-kibana-not-working-for-horizontal-bar-graph-as-in-vertical-bar-graph/163725/3 "2019-01-20T13:06:31Z")

</div>

@lukeelmers, thanks a lot for the tip. Exactly what i was looking for 🙂

---

<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:** [February 17, 2019, 1:06pm UTC](https://discuss.elastic.co/t/split-series-in-kibana-not-working-for-horizontal-bar-graph-as-in-vertical-bar-graph/163725/4 "2019-02-17T13:06:36Z")

</div>

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