# How to plot vertical graph?

**URL:** <https://discuss.elastic.co/t/how-to-plot-vertical-graph/215872>\
**Category:** Kibana\
**Created:** [January 21, 2020, 11:34am UTC](https://discuss.elastic.co/t/how-to-plot-vertical-graph/215872 "2020-01-21T11:34:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![volcano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/volcano/32/46287_2.png) [@volcano](https://discuss.elastic.co/u/volcano)\
**Post date:** [January 21, 2020, 11:34am UTC](https://discuss.elastic.co/t/how-to-plot-vertical-graph/215872/1 "2020-01-21T11:34:50Z")

</div>

I have a search query which returns `request time` and `elapsed time`.

Now I want to plot a vertical bar graph with x-axis as `request time` and y-axis as `elapsed time`

In Kibana , I opened Visualization \> Vertical Bar and I get this

![](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39186e7cc76626ffb66349c6b2d666e78c41e00f.png)

How do I select my fields here ? I am stuck at this part.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [January 28, 2020, 4:57pm UTC](https://discuss.elastic.co/t/how-to-plot-vertical-graph/215872/2 "2020-01-28T16:57:22Z")

</div>

You can expand the X-axis and select probably a Histogram based on the request\_time (don't know you're requirements exactly)  
As for the Y-axis, the same, expand the Metrics part and set the metric to something else other than count, based on "elapsed time". It could average, max, min, and so on, depending on your requirements.

---

<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 25, 2020, 4:57pm UTC](https://discuss.elastic.co/t/how-to-plot-vertical-graph/215872/3 "2020-02-25T16:57:26Z")

</div>

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