Two time-Series shall use same y-Axis

Hi, I’m new to Grafana, so probably solving my problem is not as hard as I think, but I can’t find a suitable option.

  • What Grafana version and what operating system are you using?
    Grafana v10.2.0

  • What are you trying to achieve?
    I would like to plot two time series data into one time-series diagram. These time series data have the same unit, so I want to have only one y-axis. Unfortunately, two y-axes are created by default.

  • How are you trying to achieve it?
    I have placed both y-axes on the left side, configured the same unit and the same label - this also resulted in the creation of two y-axes on the left side of the chart.
    A workaround would be to set the min and max values of the two time series to the same fix values and hide one of the y-axes. But that’s not really what I want. I want both charts to adjust their max values equally for better visualization.

Welcome @toni12423 and thank you for explaining your issue so well.

Have you considered simply hiding the axes for the second series, like this?


gives this:

whereas this:

gives this:

Hi @grant2, thanks for you fast answer!
Yes I considered your proposed solution as well. That works, But is imo not the ideal solution.

So what I want to plot is data from a photovoltaic system. Time series A is the power that is taken from the grid and time series B the electric power that is fed into the grid.

When I hide the y-axis of time series B without adding the ‘Standard options > max’, time series B would not match to the shown y-axis of time series A.
When I hide the y-axis of time series B with adding the ‘Standard options > max’ for both time series, the diagram is not dynamically adjusting the y-axis (I know this is probably just nice to have, but when there is a solution it would be great).

Here an example. So it would be nice if the y-axis ‘Power’ is set automatically to 4kW for this specific period, but I set it fix to 10kW at all time as described:

Hi again. I am afraid that I do not know of a way this can be done. Have you considered having two separate time series visualizations “stacked” (one for A and one for B) and adjusting the settings for each so that the max values are accommodated to your liking?

Something like this?

I will go with the solution of hiding one axis and fixing the min and max value. Two diagrams is a way, but for my setting not better.
thanks a lot for your suggestions!
Best regards,