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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
| <View>
|
| <!-- 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>
| <!-- Control tag for region labels -->
| <TimeSeriesLabels name="label" toName="ts">
| <Label value="Region" background="red" />
| </TimeSeriesLabels>
| <Choices name="region_type" toName="ts"
| perRegion="true" required="true">
| <Choice value="Outlier"/>
| <Choice value="Anomaly"/>
| </Choices>
| </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-14 00:00:00.000000",
| "end": "2020-01-14 00:00:00.000000",
| "instant": true,
| "timeserieslabels": [
| "Region"
| ]
| },
| "id": "wxAAv5XVR2",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| },
| {
| "value": {
| "start": "2020-01-14 00:00:00.000000",
| "end": "2020-01-14 00:00:00.000000",
| "instant": true,
| "choices": [
| "Outlier"
| ]
| },
| "id": "wxAAv5XVR2",
| "from_name": "region_type",
| "to_name": "ts",
| "type": "choices"
| },
| {
| "value": {
| "start": "2020-02-01 00:00:00.000000",
| "end": "2020-02-01 00:00:00.000000",
| "instant": true,
| "timeserieslabels": [
| "Region"
| ]
| },
| "id": "IdRc3nTc5Y",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| },
| {
| "value": {
| "start": "2020-02-01 00:00:00.000000",
| "end": "2020-02-01 00:00:00.000000",
| "instant": true,
| "choices": [
| "Outlier"
| ]
| },
| "id": "IdRc3nTc5Y",
| "from_name": "region_type",
| "to_name": "ts",
| "type": "choices"
| },
| {
| "value": {
| "start": "2020-03-11 00:00:00.000000",
| "end": "2020-03-22 00:00:00.000000",
| "instant": false,
| "timeserieslabels": [
| "Region"
| ]
| },
| "id": "kZk0r1j-wk",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| },
| {
| "value": {
| "start": "2020-03-11 00:00:00.000000",
| "end": "2020-03-22 00:00:00.000000",
| "instant": false,
| "choices": [
| "Anomaly"
| ]
| },
| "id": "kZk0r1j-wk",
| "from_name": "region_type",
| "to_name": "ts",
| "type": "choices"
| }
| ]
| }]
| } -->
|
|