# How to populate Y-Axis values from a field from the index

**URL:** <https://discuss.elastic.co/t/how-to-populate-y-axis-values-from-a-field-from-the-index/145448>\
**Category:** Kibana\
**Created:** [August 21, 2018, 7:06pm UTC](https://discuss.elastic.co/t/how-to-populate-y-axis-values-from-a-field-from-the-index/145448 "2018-08-21T19:06:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malli](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@Malli](https://discuss.elastic.co/u/Malli)\
**Post date:** [August 21, 2018, 7:06pm UTC](https://discuss.elastic.co/t/how-to-populate-y-axis-values-from-a-field-from-the-index/145448/1 "2018-08-21T19:06:06Z")

</div>

I have indexes and one of the field is duration, which has the values like 20,100,97,60,140 etc...

How can i map this filed(duration) to Y-axis in kibana bar chart? so that Y-Axis will have my duration values as markers.

I am using ELK 6.3.x

Any help would be appreciated!.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [August 21, 2018, 8:32pm UTC](https://discuss.elastic.co/t/how-to-populate-y-axis-values-from-a-field-from-the-index/145448/2 "2018-08-21T20:32:40Z")

</div>

What are you hoping to use for your X-Axis? In Kibana, the Y-Axis corresponds to the metrics and the X-Axis corresponds to the buckets. There isn't any way currently to reverse these.

---

<div class="post-metadata">

**Author:** ![Malli](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@Malli](https://discuss.elastic.co/u/Malli)\
**Post date:** [August 21, 2018, 8:54pm UTC](https://discuss.elastic.co/t/how-to-populate-y-axis-values-from-a-field-from-the-index/145448/3 "2018-08-21T20:54:34Z")

</div>

I want to show the average time duration(a field my index) of my transactions on Y-axis and the required buckets on the X-axis.

---

<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:** [September 18, 2018, 9:08pm UTC](https://discuss.elastic.co/t/how-to-populate-y-axis-values-from-a-field-from-the-index/145448/4 "2018-09-18T21:08:44Z")

</div>

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