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
| <View>
| <!-- No region selected section -->
| <View visibleWhen="no-region-selected"
| style="height:120px">
|
| <!-- Control tag for region labels -->
| <TimeSeriesLabels name="label" toName="ts">
| <Label value="Region" background="#5b5"/>
| </TimeSeriesLabels>
| </View>
|
| <!-- Region selected section with choices and rating -->
| <View visibleWhen="region-selected" style="height:120px">
|
| <!-- Per region Rating -->
| <Rating name="rating" toName="ts"
| maxRating="10" icon="star"
| perRegion="true"/>
| <!-- Per region Choices -->
| <Choices name="choices" toName="ts"
| showInline="true" required="true"
| perRegion="true">
| <Choice value="Good"/>
| <Choice value="Medium"/>
| <Choice value="Poor"/>
| </Choices>
| </View>
|
| <!-- Object tag for time series data source -->
| <TimeSeries name="ts" valueType="url" value="$csv"
| sep="," timeColumn="time">
| <Channel column="signal_1"
| strokeColor="#17b" legend="Signal 1"/>
| <Channel column="signal_2"
| strokeColor="#f70" legend="Signal 2"/>
| </TimeSeries>
| </View>
|
| <!-- {"annotations": [{"result":
| [
| {
| "value": {
| "start": 5,
| "end": 15,
| "instant": false,
| "timeserieslabels": [
| "Region"
| ]
| },
| "id": "Env6FSNqnu",
| "from_name": "label",
| "to_name": "ts",
| "type": "timeserieslabels"
| },
| {
| "value": {
| "start": 5,
| "end": 15,
| "instant": false,
| "rating": 8
| },
| "id": "Env6FSNqnu",
| "from_name": "rating",
| "to_name": "ts",
| "type": "rating"
| },
| {
| "value": {
| "start": 5,
| "end": 15,
| "instant": false,
| "choices": [
| "Good"
| ]
| },
| "id": "Env6FSNqnu",
| "from_name": "choices",
| "to_name": "ts",
| "type": "choices"
| }
| ]
| }]}
| -->
|
|