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
Please note that the output may consists double-only values, string-only values or mix of both.
To deal with this kind of data we do the following:
If length of received list is > 0 then check first element and if doubleValue is not null then show line chart, otherwise if stringValue is not null show pie chart otherwise show generic screen saying "no data received yet".
For pie charts - iterate through the list, ignore elements with stringValue == null and aggregate to map by stringValue, for instance, list ["x", "x", "y", "x", "z"] -> {"x": 3, "y": 1, "z" : 1} - show pie chart.
The text was updated successfully, but these errors were encountered:
After tapping on resource name presented on thing details activity (#1) user shall see line or pie chart which represents latest data.
and the output:
Please note that the output may consists double-only values, string-only values or mix of both.
To deal with this kind of data we do the following:
The text was updated successfully, but these errors were encountered: