Closed pjJedi closed 11 months ago
@pederjohnJedi Thank you, it should be just data
console.log(data)
I tried just data, it gives the same error.
Here is a screenshot of where I can retrieve data on the "before content rendering" and then not on the "after content ready".
I tried it on another docker image too, its doing the same. I am using MySQL as the datasource.
We implemented a single context
object for data
, Grafana functions for the After Content Ready:
console.log(context, context.data);
I will update documentation:
Awesome! Thanks that worked a charm! Much Appreciated
I hope its ok if I ask another question about data sources.
If I have 2 queries, how do I access both the queries data? I can access the first query with data.data, how do I access the second one? or do I need to use the dropdown at the bottom to access either?
@pederjohnJedi We added a new render mode for all queries in the upcoming release.
There is one more PR to merge and I plan to release tomorrow.
If you interested, you can test the latest CI build.
We will update document for the context
parameter in: https://github.com/VolkovLabs/volkovlabs.io/issues/585
I may just be a total newbie and not always understand everything, but I upgraded my Dynamic Text Panel, and wanted to try out the new features.
I am not able to find the data variable in the after content ready? Am I missing something?
Volkovlabs really make my life so much easier!! I don't know how I would have been able to do what I do without you! Thanks!