Second Y-Axis with Flux - possible?


i was using Grafana in the past with the “old” v1 influx db.
Back then it was possible to define a second Y-Axis for defined values.

Is such a thing possible when using flux?
I try to monitor my CO2 / VOC (ppm/ppb) and air conditioning operating state (0 1 2 3) in a single graph to see correlation and to determine if my automatic control works or needs some adaptation.

Thank you!

Here’s what i have right now:

|> range(start:-24h)
|> filter(fn:(r) =>
r._measurement == “Stufe Lüftungsanlage” or
r.subtype ==“CO2” or
|> aggregateWindow(every: 6m, fn: mean)
|> map(fn: (r) => ({ r with name: r._measurement }))

Do you already have a solution for this? Stuck with the same question.


nope. seems impossible. i just split it up into two graphs for now …

see these resources for y-axis G8-related issues and feature requests: