-
|
Hello there, I successfully got visualizations following the examples from the documentation with one single query. However, I'd like to pass in a second query to visualize both queries (for duel axis visualization), but I don't know what format the two response arrays need to be in. I am currently using a Python Flask API and trying to match up the data format that Grafana/ the Plugin is expecting. Here's a snapshot of the 2 request queries (refId: "A" & refId: "B") and the response format that I have at the moment that does not work under the Is there an example of 2 I really appreciate all your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I wonder why it does not work? I use panels with several targets all the time. My response with several series looks like follows:
|
Beta Was this translation helpful? Give feedback.




My panels sends two queries:
{ "app":"panel-viewer", "requestId":"mixed-0-Q106", "timezone":"utc", "panelId":1, "dashboardUID":"fe7cac66503ff201a92bbb1e8d66c666", "publicDashboardAccessToken":"", "range":{ "from":"2023-06-18T10:21:46.836Z", "to":"2023-06-20T10:21:46.836Z", "raw":{ "from":"now-2d", "to":"now" } }, "timeInfo":"", "interval":"2m", "intervalMs":120000, "targets":[ { "alias":"", "datasource":"JSON", "payload":{ "timeseries_group_by":"none", "force_second_y_axis":true, "panel_type":"timeseries" }, "refId":"A", …