# How can display horizontal bar on the Timelion? (or another chart)

**URL:** <https://discuss.elastic.co/t/how-can-display-horizontal-bar-on-the-timelion-or-another-chart/320661>\
**Category:** Kibana\
**Created:** [December 7, 2022, 8:19am UTC](https://discuss.elastic.co/t/how-can-display-horizontal-bar-on-the-timelion-or-another-chart/320661 "2022-12-07T08:19:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [December 7, 2022, 5:43pm UTC](https://discuss.elastic.co/t/how-can-display-horizontal-bar-on-the-timelion-or-another-chart/320661/4 "2022-12-07T17:43:47Z")

</div>

Have a look at this answer here with a semi-full Vega configuration: [Gantt chart on Kibana using version 7.11 - #4 by Marco\_Liberati](https://discuss.elastic.co/t/gantt-chart-on-kibana-using-version-7-11/265917/4)

In the `y` encoding you might use always the same value (so either a field with a static value, or a static string) to have a single "swimlane":

```auto
encoding: {
    y: {
      field: _source.Date // <== change this in the linked configuration
      type: nominal
    }
...

```

---

_[View the full topic](https://discuss.elastic.co/t/how-can-display-horizontal-bar-on-the-timelion-or-another-chart/320661)._
