1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
| <View>
| <!-- Control tag for region labels -->
| <TimeSeriesLabels name="label" toName="ts">
| <Label value="Change" background="red" />
| </TimeSeriesLabels>
|
| <!-- Object tag for time series data source -->
| <TimeSeries name="ts" valueType="url" value="$csv"
| sep=","
| timeColumn="time"
| timeFormat="%Y-%m-%d %H:%M:%S.%f"
| timeDisplayFormat="%Y-%m-%d"
| overviewChannels="velocity">
|
| <Channel column="velocity"
| units="miles/h"
| displayFormat=",.1f"
| strokeColor="#1f77b4"
| legend="Velocity"/>
| </TimeSeries>
| </View>
|
| <!-- { "data": { "timeseriesUrl": "/samples/time-series.csv?time=time&values=velocity%2Cacceleration&sep=%2C&tf=%25Y-%25m-%25d+%25H%3A%25M%3A%25S.%25f" },
| "annotations": [{"result":
| [
| {
| "value": {
| "start": "2020-01-12 00:00:00.000000",
| "end": "2020-01-12 00:00:00.000000",
| "instant": true,
| "timeserieslabels": [
| "Change"
| ]
| },
| "id": "vspOsiWrt-",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| },
| {
| "value": {
| "start": "2020-01-05 00:00:00.000000",
| "end": "2020-01-05 00:00:00.000000",
| "instant": true,
| "timeserieslabels": [
| "Change"
| ]
| },
| "id": "aGtIVfbfmo",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| },
| {
| "value": {
| "start": "2020-01-20 00:00:00.000000",
| "end": "2020-01-20 00:00:00.000000",
| "instant": true,
| "timeserieslabels": [
| "Change"
| ]
| },
| "id": "Q7wqxJwmSD",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| }
| ]
| }]
|
| } -->
|
|