# Timelion Bar stacking with stack=off parameter -- bug?

**URL:** https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138
**Category:** Kibana
**Tags:** timelion
**Created:** [March 29, 2018, 6:11pm UTC](https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138 "2018-03-29T18:11:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gigabyte](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gigabyte](https://discuss.elastic.co/u/gigabyte)
#### Post date: [March 29, 2018, 6:11pm UTC](https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138/1 "2018-03-29T18:11:30Z")

</div>

Reading another post thought there was someone with the same problem but it seems I'm "unique" in my situation. Having an issue where despite having the parameter of stack=off as part of bars(), Kibana is indeed stacking a bar graph. The "green" is the much lesser value yet it's on top of the blue leading to believe green has a larger value despite, again, it's being told to disable stacking. Any insight/thoughts?

 ![example](https://us1.discourse-cdn.com/elastic/original/3X/f/8/f81c8f51d265836eb911c83b416d083c974d0f15.png)

Find below the ES code for it.

`.es(index=logstash*, timefield='@timestamp', metric='count:F5Response_Sec',q=F5URI:*Number1*).bars(stack=off).color('blue').label('Number1'),.es(index=logstash*, timefield='@timestamp', metric='count:F5Response_Sec',q=F5URI:*Number2*).bars(stack=off).color('green').label('Number2'),.es(index=logstash*, timefield='@timestamp', metric='count:F5Response_Sec',q=F5URI:*Number3*).bars(stack=off).color('red').label('Number3'),.es(index=logstash*, timefield='@timestamp', metric='count:F5Response_Sec',q=F5URI:*Number4*).bars(stack=off).color('orange').label('Number4')`

---

<div class="post-metadata">

### Author: ![gigabyte](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gigabyte](https://discuss.elastic.co/u/gigabyte)
#### Post date: [March 30, 2018, 5:26am UTC](https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138/2 "2018-03-30T05:26:46Z")

</div>

Found a fixed bug in 5.x but it appears to have re-appeared. If no one see's anything wrong in the above,  
will open a bug/issue.

v5 bug resolved [https://github.com/elastic/kibana/issues/12677](https://github.com/elastic/kibana/issues/12677)

Semi-related/opposite issue [Non stacked bars in Timelion (Kibana 5 - rc1)](https://discuss.elastic.co/t/non-stacked-bars-in-timelion-kibana-5-rc1/63862)

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [April 4, 2018, 6:34pm UTC](https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138/4 "2018-04-04T18:34:58Z")

</div>

I would suggest you to open a bug. We can always triage it accordingly. More screenshots, logs, versions, steps included.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![gigabyte](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gigabyte](https://discuss.elastic.co/u/gigabyte)
#### Post date: [April 12, 2018, 12:36pm UTC](https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138/5 "2018-04-12T12:36:43Z")

</div>

For future searches/reference to similar problems, nreese on github caught the error. Knowing stack was a boolen value (yes/no, off/on, true/false), it's a literal true/false and nothing else is accepted. So should be stack=false to stop kibana from stacking. This issue is resolved.

> <https://github.com/elastic/kibana/issues/17612>

---

<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 10, 2018, 12:37pm UTC](https://discuss.elastic.co/t/timelion-bar-stacking-with-stack-off-parameter-bug/126138/6 "2018-05-10T12:37:04Z")

</div>

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