# Binding a numeric Term's raw value to the Y-Axis

**URL:** <https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054>\
**Category:** Kibana\
**Created:** [July 7, 2015, 2:56pm UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054 "2015-07-07T14:56:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashwgupt](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@ashwgupt](https://discuss.elastic.co/u/ashwgupt)\
**Post date:** [July 7, 2015, 2:56pm UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054/1 "2015-07-07T14:56:24Z")

</div>

I've got a need of binding the numeric values of a term to t he Y Axis.

At the moment, the only option available in Line/Area charts is to plot the Count and related aggregations on Y Axis, where we are willing to get a plot for a term (raw) value on the Y Axis, against a sub-aggregaion for another term with Time Histogram on X-Axis.

To give an example, We are collecting a String Term A, for it's Numeric value B for various time stamps T. The need is such that, I want to plot B (on Y Axis) for each of A, keeping T on X Axis.

Some hints on web indicated that, it was possible in Kibana 3. So first of all to ask, is this at all possible in Kibana 4? And if yes, can anyone please advise on, How?

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 8, 2015, 6:02am UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054/2 "2015-07-08T06:02:41Z")

</div>

If I understood correctly what you're trying to do, I think this is possible to do something close to what you're doing in Kibana 4 with the following configuration.

Note that you can't plot the numeric value B directly, as you may end up with multiple data points in one date histogram bucket, so you must take an average.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/7/7507ff155b2ac6b98a1adc68f12351809d2619a6.png)

---

<div class="post-metadata">

**Author:** ![pranavburnwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranavburnwal/32/3714_2.png) [@pranavburnwal](https://discuss.elastic.co/u/pranavburnwal)\
**Post date:** [July 15, 2015, 8:15am UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054/3 "2015-07-15T08:15:06Z")

</div>

Hello,

I am also running into this kind of situation.  
Thanks @tanya for the reply. Your point is well noted.

My next question is, will this be added to kibana in near future?  
i didnt find any note about this on git too.

Awating reply. ☕

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 16, 2015, 4:53am UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054/4 "2015-07-16T04:53:25Z")

</div>

Not to my knowledge - here is an interesting discussion related to that: [https://github.com/elastic/kibana/issues/978](https://github.com/elastic/kibana/issues/978)

---

<div class="post-metadata">

**Author:** ![pranavburnwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranavburnwal/32/3714_2.png) [@pranavburnwal](https://discuss.elastic.co/u/pranavburnwal)\
**Post date:** [July 16, 2015, 9:10am UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054/5 "2015-07-16T09:10:53Z")

</div>

Thanks Tanya. 👍

---

<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:** [July 6, 2017, 2:16pm UTC](https://discuss.elastic.co/t/binding-a-numeric-terms-raw-value-to-the-y-axis/25054/6 "2017-07-06T14:16:27Z")

</div>


