Multiple non time series

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?

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:

{ "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:

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