Hello, I'm trying to figure out dashboards so this might be a very basic question. Is it posible to display a gauge element using data obtained from a Deluge function instead of stored in a form?
For example if I want to check the status of a customer's data usage for an active SIM card, I have an API function I can call and will obtain the response in JSON format. Can I take that data and display it on a dashboard without having to save the data to a form first?
This is a sample of the JSON response:
{"code":"0","description":"Success","subscriberQuota":{"qtavalue":"500.00","qtabalance":"419.30","qtaconsumption":"80.70","type":"2","refuelingTotal":"0.00","qtaconsumptionTotal":"263.22"},"historyQuota":[{"time":"20220707","qtaconsumption":"19.07","mcc":"714"},{"time":"20220707","qtaconsumption":"236.41","mcc":"710"},{"time":"20220707","qtaconsumption":"7.74","mcc":"708"},{"time":"20220706","qtaconsumption":"164.85","mcc":"714"}],"ext":null}
There are two things to display: subscriberQuota and historyQuota.
For subscriberQuota in this example I could use a gauge to display the total (500MB) and how much of the total (80.70MB) has been used. While for historyQuota I could use a table with 3 columns (time, qtaconsumption, mcc) and display a row for every record inside historyQuota.
Do I need to save this all to a form before displaying them on a dashboard?