I’m fighting with how to display two different y-axis, one with positive/negative values and the other with only positive values. Both should have their 0 point in the center:
the green line (right y-axis) is the SOC of my battery and can of course only between 0 and 100%. One solution could be to hide the negative values, but then the 0 of the left y-axis doesn’t fit anymore with right one…
Hi @gsmbee,
You already did the best you could on picture 2. Only thing I would change is that you could use Soft Min=0 instead of Min=-3.5 for left y-axis. That way you would get smaller empty space in negative range but you will still see all negative values (if they exist).
Here is a brief explanation of difference between Soft Min/Max and Min/Max:
@gsmbee if you’re using grafana 9.1+ there is a new setting that might help you or others accomplish this easier in the future. You might still have to play with soft min/max if you’re using different units.