Templating-like : Use a panel variable in a query


I would like to know if there is the possibility to use a panel variable as a query parameter (so reducing scope).

For instance, I am developing a new plugin inheriting from MetricsPanel, and I would like to use a variable from this panel as a parameter used in the query editor, which will be interpolated to generate a real SQL query.

Thank you in advance

no this is currently not possible

Ok, thank you for your quick answer.

Instead, I am using a hidden variable, which is binded with custom functions to a variable of the panel.