-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathindicator_datacard.json
102 lines (102 loc) · 1.95 KB
/
indicator_datacard.json
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
{
"data": [{
"domain": {"x": [0, 0.5], "y": [0, 0.5]},
"type": "indicator",
"mode": "number+delta",
"number": {
"suffix": " km/h"
},
"value": 43,
"delta": {
"position": "left",
"reference": 20
}
}, {
"domain": {"x": [0, 0.5], "y": [0.5, 1.0]},
"type": "indicator",
"mode": "number+delta",
"number": {
"suffix": " km/h"
},
"value": 43,
"delta": {
"position": "bottom",
"reference": 20
}
}, {
"domain": {"x": [0.5, 1.0], "y": [0, 0.5]},
"type": "indicator",
"mode": "number+delta",
"number": {
"suffix": " km/h"
},
"value": 43,
"delta": {
"position": "right",
"reference": 20
}
}, {
"domain": {"x": [0.5, 1.0], "y": [0.5, 1.0]},
"type": "indicator",
"mode": "number+delta",
"number": {
"suffix": " km/h"
},
"value": 43,
"delta": {
"position": "top",
"reference": 20
}
}],
"layout": {
"paper_bgcolor": "orange",
"width": 600,
"height": 200,
"margin": {"t": 0, "b": 0, "l": 0, "r": 0},
"shapes": [{
"type": "rect",
"x0": 0,
"x1": 0.5,
"y0": 0.5,
"y1": 1,
"line": {
"color": "rgba(255, 255, 255, 0.35)",
"width": 1
},
"fill": "rgba(0,0,0,0)"
}, {
"type": "rect",
"x0": 0,
"x1": 0.5,
"y0": 0,
"y1": 0.5,
"line": {
"color": "rgba(255, 255, 255, 0.35)",
"width": 1
},
"fill": "rgba(0,0,0,0)"
}, {
"type": "rect",
"x0": 0.5,
"x1": 1.0,
"y0": 0.5,
"y1": 1,
"line": {
"color": "rgba(255, 255, 255, 0.35)",
"width": 1
},
"fill": "rgba(0,0,0,0)"
}, {
"type": "rect",
"x0": 0.5,
"x1": 1.0,
"y0": 0,
"y1": 0.5,
"line": {
"color": "rgba(255, 255, 255, 0.35)",
"width": 1
},
"fill": "rgba(0,0,0,0)"
}]
}
}