forked from Freeboard/freeboard
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrandom_dashboard.json
105 lines (105 loc) · 1.78 KB
/
random_dashboard.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
103
104
105
{
"version": 1,
"allow_edit": true,
"plugins": [],
"panes": [
{
"title": "Text title",
"width": 1,
"row": {
"3": 9
},
"col": {
"3": 1
},
"col_width": 1,
"widgets": [
{
"type": "text_widget",
"settings": {
"title": "Label 1",
"size": "regular",
"value": "datasources[\"Random2\"]",
"sparkline": true,
"animate": true,
"units": "things"
}
}
]
},
{
"title": "Chart",
"width": 1,
"row": {
"3": 1
},
"col": {
"3": 2
},
"col_width": 2,
"widgets": [
{
"type": "highcharts-timeseries",
"settings": {
"timeframe": 60,
"blocks": 4,
"chartType": "spline",
"title": "Graph",
"xaxis": "{\"title\":{\"text\" : \"Time\"}, \"type\": \"datetime\", \"floor\":0}",
"yaxis": "{\"title\":{\"text\" : \"Values\"}, \"minorTickInterval\":\"auto\", \"floor\":0}",
"series1": "datasources[\"Random1\"]",
"series1label": "Random 1",
"series2": "datasources[\"Random2\"]",
"series2label": "Random 2"
}
}
]
},
{
"title": "Gauge 1",
"width": 1,
"row": {
"3": 1
},
"col": {
"3": 1
},
"col_width": 1,
"widgets": [
{
"type": "gauge",
"settings": {
"title": "Random1 test",
"value": "datasources[\"Random1\"]",
"units": "things",
"min_value": "30",
"max_value": "20"
}
}
]
}
],
"datasources": [
{
"name": "Random1",
"type": "Random Data Source",
"settings": {
"max": "30",
"min": "20",
"decimalPlates": "4",
"refresh": 5
}
},
{
"name": "Random2",
"type": "Random Data Source",
"settings": {
"max": "100",
"min": "0",
"decimalPlates": "2",
"refresh": 5
}
}
],
"columns": 3
}