# How do we create a trend line on Kibana?

**URL:** <https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624>\
**Category:** Kibana\
**Created:** [March 2, 2022, 1:37pm UTC](https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624 "2022-03-02T13:37:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka\_Rajpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priyanka_rajpal/32/101287_2.png) [@Priyanka\_Rajpal](https://discuss.elastic.co/u/Priyanka_Rajpal)\
**Post date:** [March 2, 2022, 1:37pm UTC](https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624/1 "2022-03-02T13:37:36Z")

</div>

How do I create a trend line for a bar graph, where on X axis I have date histogram and on Y axis sum/count?  
(Not referring to line graph when saying trend line)

Thanks

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [March 2, 2022, 1:50pm UTC](https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624/2 "2022-03-02T13:50:48Z")

</div>

Which version of Kibana are you using? You can do this with Lens, but not using bar graph.

---

<div class="post-metadata">

**Author:** ![Priyanka\_Rajpal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priyanka_rajpal/32/101287_2.png) [@Priyanka\_Rajpal](https://discuss.elastic.co/u/Priyanka_Rajpal)\
**Post date:** [March 2, 2022, 2:01pm UTC](https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624/3 "2022-03-02T14:01:09Z")

</div>

No, sorry, I do not have lens. I am using OpensearchDashboards which is a fork of kibana 7.10.2 opensource.

Is there a way to have trend line in this version?

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [March 2, 2022, 3:13pm UTC](https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624/4 "2022-03-02T15:13:17Z")

</div>

No, unfortunately bar graph does not support trend lines.

---

<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:** [March 30, 2022, 3:13pm UTC](https://discuss.elastic.co/t/how-do-we-create-a-trend-line-on-kibana/298624/5 "2022-03-30T15:13:52Z")

</div>

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