# Graph / Bar chart without Aggregation

**URL:** https://discuss.elastic.co/t/graph-bar-chart-without-aggregation/134752
**Category:** Kibana
**Created:** [June 6, 2018, 7:53am UTC](https://discuss.elastic.co/t/graph-bar-chart-without-aggregation/134752 "2018-06-06T07:53:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![khan.imran.m](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@khan.imran.m](https://discuss.elastic.co/u/khan.imran.m)
#### Post date: [June 6, 2018, 7:53am UTC](https://discuss.elastic.co/t/graph-bar-chart-without-aggregation/134752/1 "2018-06-06T07:53:53Z")

</div>

I have two columns X and Y, with simple values as below.  
X: 2 , 3, 4, 5, 7, 8,  
Y: 1, 2, 3, 4, 5, 6

I simply want a vertical bar or a line graph with X values against Y values. I don't want any **aggregation** to happen. In Kibana for any time type of graph there is a default option for aggregating the data, What if I don't want to do aggregate (club data document and perform action like count, Max, Min), I simply want values of one field should appear against the values of different field.  
Is it possible to achieve in Kibana, Thanks in Advance !

---

<div class="post-metadata">

### Author: ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)
#### Post date: [June 6, 2018, 2:28pm UTC](https://discuss.elastic.co/t/graph-bar-chart-without-aggregation/134752/2 "2018-06-06T14:28:51Z")

</div>

currently you can't use raw values, however for your case you could work around it by:

- x axis: select histogram aggregation, select your X field
- y axis: select sum aggregation, select your Y field

as you have only 1 y value per x this should work correctly, in case you have more y values for each x maybe use a top hit aggregation.

---

<div class="post-metadata">

### Author: ![khan.imran.m](https://avatars.discourse-cdn.com/v4/letter/k/258eb7/32.png) [@khan.imran.m](https://discuss.elastic.co/u/khan.imran.m)
#### Post date: [June 8, 2018, 7:12am UTC](https://discuss.elastic.co/t/graph-bar-chart-without-aggregation/134752/3 "2018-06-08T07:12:34Z")

</div>

So in Kibana there is no option to use direct raw values without aggregation,

---

<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, 2018, 7:12am UTC](https://discuss.elastic.co/t/graph-bar-chart-without-aggregation/134752/4 "2018-07-06T07:12:38Z")

</div>

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