Regression Transformation - Display regression formula and R²

  • What are you trying to achieve?

I created an XY Chart of outside temperature (as X) and humidity (as Y), and I want to have the linear regression : humidity = f(temperature) and display its equation and R² in the tooltip of the line (or as legend of the graph or as permanent label on the graph)

  • How are you trying to achieve it?

I already managed to display the linear regression on the XY Panel thanks to the Regression Transformation :

But now I want to display the equation and the R². Does someone know how to do it please ?

  • What happened?
    Line properly displayed but no possibility to get its equation or R²

  • What did you expect to happen?
    Automatic configuration of a tooltip containing the equation and R² (a bit like Excel display)
    Or : manual toggle to say that I want to display the equation and R²


  • What Grafana version and what operating system are you using?
    Grafana v11.3.1 (64b556c137)

Thanks in advance for your help !