# Visual Builder : Time Series adding a static line

**URL:** https://discuss.elastic.co/t/visual-builder-time-series-adding-a-static-line/187193
**Category:** Kibana
**Created:** [June 24, 2019, 7:59pm UTC](https://discuss.elastic.co/t/visual-builder-time-series-adding-a-static-line/187193 "2019-06-24T19:59:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Johnnycc1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnnycc1/32/26069_2.png) [@Johnnycc1](https://discuss.elastic.co/u/Johnnycc1)
#### Post date: [June 24, 2019, 7:59pm UTC](https://discuss.elastic.co/t/visual-builder-time-series-adding-a-static-line/187193/1 "2019-06-24T19:59:46Z")

</div>

Following on from the below question how do I create a static threshold line in visual builder like I would in timelion with .value(value=4.6)

> [@How to create a line (threshold/benchmark) to a vertical bar graph](https://discuss.elastic.co/t/how-to-create-a-line-threshold-benchmark-to-a-vertical-bar-graph/152568):
>
> Hello, I am stuck on my project. I need to find a way to create a simple horisontal line (threshold/benchmark) on my vertical bar chart. I can't seem to find a solution. Please help

I tried to create a scripted field in kibana however that does not seem to be available in visual builder.

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [June 25, 2019, 8:01am UTC](https://discuss.elastic.co/t/visual-builder-time-series-adding-a-static-line/187193/2 "2019-06-25T08:01:43Z")

</div>

Hi @Johnnycc1you can add a separate series

 ![09](https://us1.discourse-cdn.com/elastic/original/3X/6/8/6806f72360cec3cb3fcae6ed39a546b55ff18711.png)

- Click the plus button in the existing series
- Select "static value" as aggregration
- Enter the value you need
- Go to "options" and set the "Fill" value from 0.5 to 0 to remove the area below the line

---

<div class="post-metadata">

### Author: ![Johnnycc1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnnycc1/32/26069_2.png) [@Johnnycc1](https://discuss.elastic.co/u/Johnnycc1)
#### Post date: [June 26, 2019, 10:40pm UTC](https://discuss.elastic.co/t/visual-builder-time-series-adding-a-static-line/187193/3 "2019-06-26T22:40:15Z")

</div>

Wow Joe - that was right in front of my eyes - sorry I missed it.

Thanks for your help.

---

<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: [July 24, 2019, 10:40pm UTC](https://discuss.elastic.co/t/visual-builder-time-series-adding-a-static-line/187193/4 "2019-07-24T22:40:18Z")

</div>

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