You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to display to display this graph using JSON API. With PostgreSQL, I could select one column as metric and it used to display data of different metrics in different colors
SELECT
to_timestamp(epoch_ms/1000)) as time,
COALESCE(b.abbr,a.fg_description) AS metric,
variance/bt_qty*100 as yield
However for the JSON API, I am not able to get this to work. I have configured it like in the below screenshot
It don't respect the metric. I even tried setting the Metric in the experimental feature to my metric property. The structure of my response is as follows
{
"items":[{
"time":"Tue Jun 29 2021 00:00:00 GMT+1000 (Australian Eastern Standard Time)",
"metric":"DOMCM",
"yield":"3.993560588667439"
}]
}
In short, what should be the structure of my response to show multiple series in a time series graph with series name as legend?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm looking to display to display this graph using JSON API. With PostgreSQL, I could select one column as metric and it used to display data of different metrics in different colors
However for the JSON API, I am not able to get this to work. I have configured it like in the below screenshot

It don't respect the metric. I even tried setting the Metric in the experimental feature to my metric property. The structure of my response is as follows
In short, what should be the structure of my response to show multiple series in a time series graph with series name as legend?
Beta Was this translation helpful? Give feedback.
All reactions