# Multiple non time series

**URL:** <https://discuss.elastic.co/t/multiple-non-time-series/96498>\
**Category:** Kibana\
**Created:** [August 9, 2017, 7:26pm UTC](https://discuss.elastic.co/t/multiple-non-time-series/96498 "2017-08-09T19:26:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithin\_Devang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nithin_devang/32/25023_2.png) [@Nithin\_Devang](https://discuss.elastic.co/u/Nithin_Devang)\
**Post date:** [August 9, 2017, 7:26pm UTC](https://discuss.elastic.co/t/multiple-non-time-series/96498/1 "2017-08-09T19:26:42Z")

</div>

I have to plot x and y axis which is not time-series data and I am able to do this using min and max.

But I want to plot multiple line charts in same graphs, like x1 vs y1, x2 vs y2 and x3 vs y3.

How to do this?

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [August 9, 2017, 11:48pm UTC](https://discuss.elastic.co/t/multiple-non-time-series/96498/2 "2017-08-09T23:48:52Z")

</div>

Multiple lines are created in the basic visualizations by splitting a series into buckets, this means that all of your x/y points need to be in a single series, and splittable by some value/query.

If the docs looked like this:

```json
{ "x": 1, "y": 1, "group": "a" }
{ "x": 2, "y": 2, "group": "a" }
{ "x": 3, "y": 3, "group": "a" }
{ "x": 1, "y": 3, "group": "b" }
{ "x": 2, "y": 2, "group": "b" }
{ "x": 3, "y": 1, "group": "b" }

```

Then you can create a line chart that has two lines, one for group "a" and one for group "b" by creating an x-axis that is a histogram over `x`, using the min/max of `y` for the metric, and then splitting the lines by the terms in `group`:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/0/200fc0937f785e6fe6ca7ac90fd596d9c880d948.png)

---

<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 6, 2017, 11:49pm UTC](https://discuss.elastic.co/t/multiple-non-time-series/96498/3 "2017-09-06T23:49:10Z")

</div>

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