# Set vertical bars in Kibana Timelion of static height

**URL:** https://discuss.elastic.co/t/set-vertical-bars-in-kibana-timelion-of-static-height/208690
**Category:** Kibana
**Tags:** timelion
**Created:** [November 20, 2019, 12:06pm UTC](https://discuss.elastic.co/t/set-vertical-bars-in-kibana-timelion-of-static-height/208690 "2019-11-20T12:06:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Aditya\_Saxena](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aditya_saxena/32/57856_2.png) [@Aditya\_Saxena](https://discuss.elastic.co/u/Aditya_Saxena)
#### Post date: [November 20, 2019, 12:06pm UTC](https://discuss.elastic.co/t/set-vertical-bars-in-kibana-timelion-of-static-height/208690/1 "2019-11-20T12:06:32Z")

</div>

Hi there,  
I want to place vertical bars on my timelion. These bars can have static heights or may cover the Y-axis. I know we can place horizontal lines but is the same possible for vertical lines?

---

<div class="post-metadata">

### Author: ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)
#### Post date: [November 21, 2019, 2:01pm UTC](https://discuss.elastic.co/t/set-vertical-bars-in-kibana-timelion-of-static-height/208690/2 "2019-11-21T14:01:03Z")

</div>

Hey @Aditya_Saxena,

This unfortunately isn't possible. The only "workaround" available is to draw another series as a bar chart instead of a line, but it doesn't give you much control over the display, as you're at the mercy of your data:

```auto
.es(index=kibana_sample_data_ecommerce, timefield=order_date).add(-5).bars(2).color(red),
.es(index=kibana_sample_data_ecommerce, timefield=order_date).color(blue)

```

The first series draws the bar chart to simulate vertical lines, while the second series is the actual chart you're interested in rendering:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/5/459fa8c6ebd4f7ee849fe168c96fd2f5c77a767d.png)

---

<div class="post-metadata">

### Author: ![Aditya\_Saxena](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aditya_saxena/32/57856_2.png) [@Aditya\_Saxena](https://discuss.elastic.co/u/Aditya_Saxena)
#### Post date: [November 26, 2019, 9:17am UTC](https://discuss.elastic.co/t/set-vertical-bars-in-kibana-timelion-of-static-height/208690/3 "2019-11-26T09:17:30Z")

</div>

Hey Larry, thanks for your quick reply.  
What I'm going for here is - separate vertical lines that will divide the graph in sections  
on X-Axis. For Example suppose on X-Axis I have a 12 months of the year. Then I want to place  
only 3 vertical lines (lets say on April, September and November) on the graph.  
I don't want to place these lines anywhere else.

I tried playing around with the trick you mentioned but couldn't cut the bars a/c my needs. Can you help and guide the way of achieving this please

---

<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 24, 2019, 9:17am UTC](https://discuss.elastic.co/t/set-vertical-bars-in-kibana-timelion-of-static-height/208690/4 "2019-12-24T09:17:34Z")

</div>

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