7 |
Time Series Insights Data App
8 |
9 | To display Time Series Insights data, append the query parameters below to the base URL:
10 |
11 |
12 | sensortype: Allowed values: @ViewData["SensorTypes"]. Mandatory.
13 | since: Only return data since this time, as a duration: 1h, 20m, 2h30m. Optional. Default is 60m.
14 | interval: Time intervals to aggregate the data, in duration format: pt30s, pt5m, pt1h. Optional. Default is 5m.
15 | yaxis: Whether to display different data streams in the same Y axis. Allowed values: @ViewData["YAxis"]. Optional. Default is stacked.
16 | theme: Background theme: light, dark. Optional. Default is dark
17 | legend: Legend display options: shown, compact, hidden. Optional. Default is hidden
18 | width: Chart width in pixels. Optional. Default is 350
19 | height: Chart height in pixels. Optional. Default is 205
20 | interpolation: Allowed values: @ViewData["InterpolationOptions"]. Optional. Default is none
21 |
22 |
23 | Example: @ViewData["BaseUrl"]/timeseriesdata?sensortype=temp&since=60m&interval=pt5m&yaxis=stacked
24 |
25 |