How to arrange different data above each other in one graph sharing the x (time) axis?

Hey,

This is my first post here. I am also relatively new to grafana. Propably my question ist stupid easy, but I am not able to manage it.

How can I arrange multiple signals, in my case different boolsche values, in one graph, but stacked obove each other so they will not overlap. Let’s call it shifted in the y axis.

This is an example I imagine how it should locks like:

And this is what I get:

Both share the same 0 and 1 horizontal level. I would like to see both signals stacked above each other.

Thank you for your help :heart:

Have you tried the stack series option

Hey, thank you for your responce!

Unfortunately this “stack” function combine both data instead stacking it on top of each other.

Normal:

This is stacked:

One more idea. Is it possible to add a fixed offset value, for example 1.0 or 2.0 to one of both measurements that it will be shifted vertical?

After that I can change the y-axis text that it will make sens to the user.

This is my query:

Thank you :hugs:

Hey, maybe not perfect but maybe a state timeline visualization would be better for this case? You’ll get one row for each series and you can represent signal / no signal with threshold colors? You won’t get up and down though

1 Like

Hey,

The state timeline did the trick perfectly :blush:

I didn’t used it bevore and didn’t knew it.

Thank you very much! :heart:

1 Like