# How to add Terms on Y-Axis?

**URL:** <https://discuss.elastic.co/t/how-to-add-terms-on-y-axis/171394>\
**Category:** Kibana\
**Created:** [March 7, 2019, 11:03pm UTC](https://discuss.elastic.co/t/how-to-add-terms-on-y-axis/171394 "2019-03-07T23:03:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dips](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@dips](https://discuss.elastic.co/u/dips)\
**Post date:** [March 7, 2019, 11:03pm UTC](https://discuss.elastic.co/t/how-to-add-terms-on-y-axis/171394/1 "2019-03-07T23:03:42Z")

</div>

Hello I want to plot one of the terms values against date histogram. I want it in the line format. Is it possible to get terms on the Y-Axis instead of count or other aggregation metrics?

---

<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:** [March 15, 2019, 1:27pm UTC](https://discuss.elastic.co/t/how-to-add-terms-on-y-axis/171394/2 "2019-03-15T13:27:37Z")

</div>

Hey @dips, unfortunately I'm not entirely sure what you mean - to plot a line chart you need a numeric value for the y-axis - but a term is just a string. How do you expect this to look like?

Are you talking about the value of a specific field inside your index pattern as the value for the y-axis? In this case you can change the metric by expanding the "Y Axis" and using something else than count. You have to specify a metric here though because in a histogram multiple documents are put into each data point, so you have to merge them together somehow to get a single y-value out - e.g. "max" to just use display the biggest value per time slot.

---

<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:** [April 12, 2019, 1:27pm UTC](https://discuss.elastic.co/t/how-to-add-terms-on-y-axis/171394/3 "2019-04-12T13:27:42Z")

</div>

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