# Custom Y-Axis aggregation

**URL:** <https://discuss.elastic.co/t/custom-y-axis-aggregation/214262>\
**Category:** Kibana\
**Created:** [January 8, 2020, 2:54pm UTC](https://discuss.elastic.co/t/custom-y-axis-aggregation/214262 "2020-01-08T14:54:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xuan\_Nam\_Dang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xuan_nam_dang/32/56763_2.png) [@Xuan\_Nam\_Dang](https://discuss.elastic.co/u/Xuan_Nam_Dang)\
**Post date:** [January 8, 2020, 2:54pm UTC](https://discuss.elastic.co/t/custom-y-axis-aggregation/214262/1 "2020-01-08T14:54:18Z")

</div>

I have a custom field that i want to use to sort the data in line chart for Y-axis. Currently the options for Y-axis is either count or any other Metric aggregation. My field consists of integers only, which i want to implement for my Y-axis

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/4/d42a2ee3119a945255a4d5a5ddd246056fee2e0b.png)

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [January 8, 2020, 7:50pm UTC](https://discuss.elastic.co/t/custom-y-axis-aggregation/214262/2 "2020-01-08T19:50:07Z")

</div>

I don't understand your question exactly- if you want to sort by something that isn't built-in to the editor in Kibana, it might not be supported. There are workarounds such as by using Vega, but we also welcome contributions to improve Kibana's functionality from the community.

---

<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:** [February 5, 2020, 7:53pm UTC](https://discuss.elastic.co/t/custom-y-axis-aggregation/214262/3 "2020-02-05T19:53:51Z")

</div>

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