# How can I make trend line as a dotted line

**URL:** <https://discuss.elastic.co/t/how-can-i-make-trend-line-as-a-dotted-line/320213>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [December 1, 2022, 6:59am UTC](https://discuss.elastic.co/t/how-can-i-make-trend-line-as-a-dotted-line/320213 "2022-12-01T06:59:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![princejaiswal03](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@princejaiswal03](https://discuss.elastic.co/u/princejaiswal03)\
**Post date:** [December 1, 2022, 6:59am UTC](https://discuss.elastic.co/t/how-can-i-make-trend-line-as-a-dotted-line/320213/1 "2022-12-01T06:59:48Z")

</div>

I have used trend() function for generating the trend line.  
How can I make that trend line as a dotted line?

I have one more question.  
Is it possible to remove the background grid lines in the timelion charts?

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [December 27, 2022, 2:24pm UTC](https://discuss.elastic.co/t/how-can-i-make-trend-line-as-a-dotted-line/320213/2 "2022-12-27T14:24:54Z")

</div>

> [@princejaiswal03](#):
>
> I have used trend() function for generating the trend line.  
> How can I make that trend line as a dotted line?

I don't see any parameter to generate dotted lines in the [`lines`](https://github.com/elastic/timelion/blob/master/FUNCTIONS.md#lines) documentation

> [@princejaiswal03](#):
>
> Is it possible to remove the background grid lines in the timelion charts?

Unfortunately, as per the [`.yaxis`](https://github.com/elastic/timelion/blob/master/FUNCTIONS.md#yaxis) documentation, that is not possible.

---

<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:** [January 24, 2023, 2:25pm UTC](https://discuss.elastic.co/t/how-can-i-make-trend-line-as-a-dotted-line/320213/3 "2023-01-24T14:25:26Z")

</div>

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