Lower-casing the chart families, to fit better to netdata naming "convention".
BrainDoctor committed
Jul 9, 2017 at 11:43 UTC
1c07a0ab784890e70917732882d38f1e65eb0725
2 files changed
+7
-7
node.d/fronius.node.js
+6
-6
@@ -53,7 +53,7 @@ var fronius = {
53
name: '', // the unique name of the chart
54
title: service.name + ' Current Site Power', // the title of the chart
55
units: 'W', // the units of the chart dimensions
56
- family: 'Power', // the family of the chart
56
+ family: 'power', // the family of the chart
57
context: 'fronius.power', // the context of the chart
58
type: netdata.chartTypes.area, // the type of the chart
59
priority: fronius.base_priority + 1, // the priority relative to others in the same family
@@ -78,7 +78,7 @@ var fronius = {
78
name: '', // the unique name of the chart
79
title: service.name + ' Current Load', // the title of the chart
80
units: 'W', // the units of the chart dimensions
81
- family: 'Consumption', // the family of the chart
81
+ family: 'consumption', // the family of the chart
82
context: 'fronius.consumption', // the context of the chart
83
type: netdata.chartTypes.area, // the type of the chart
84
priority: fronius.base_priority + 2, // the priority relative to others in the same family
@@ -104,7 +104,7 @@ var fronius = {
104
name: '', // the unique name of the chart
105
title: service.name + ' Current Autonomy', // the title of the chart
106
units: '%', // the units of the chart dimensions
107
- family: 'Autonomy', // the family of the chart
107
+ family: 'autonomy', // the family of the chart
108
context: 'fronius.autonomy', // the context of the chart
109
type: netdata.chartTypes.area, // the type of the chart
110
priority: fronius.base_priority + 3, // the priority relative to others in the same family
@@ -128,7 +128,7 @@ var fronius = {
128
name: '', // the unique name of the chart
129
title: service.name + ' Energy production for today', // the title of the chart
130
units: 'kWh', // the units of the chart dimensions
131
- family: 'Energy', // the family of the chart
131
+ family: 'energy', // the family of the chart
132
context: 'fronius.energy.today', // the context of the chart
133
type: netdata.chartTypes.area, // the type of the chart
134
priority: fronius.base_priority + 4, // the priority relative to others in the same family
@@ -152,7 +152,7 @@ var fronius = {
152
name: '', // the unique name of the chart
153
title: service.name + ' Energy production for this year', // the title of the chart
154
units: 'kWh', // the units of the chart dimensions
155
- family: 'Energy', // the family of the chart
155
+ family: 'energy', // the family of the chart
156
context: 'fronius.energy.year', // the context of the chart
157
type: netdata.chartTypes.area, // the type of the chart
158
priority: fronius.base_priority + 5, // the priority relative to others in the same family
@@ -191,7 +191,7 @@ var fronius = {
191
name: '', // the unique name of the chart
192
title: service.name + ' Current Inverter Output', // the title of the chart
193
units: 'W', // the units of the chart dimensions
194
- family: 'Inverters', // the family of the chart
194
+ family: 'inverters', // the family of the chart
195
context: 'fronius.inverter.output', // the context of the chart
196
type: netdata.chartTypes.stacked, // the type of the chart
197
priority: fronius.base_priority + 6, // the priority relative to others in the same family
web/dashboard_info.js
+1
-1
@@ -286,7 +286,7 @@ netdataDashboard.menu = {
286
},
287
288
'fronius': {
289
- title: 'Solar Power',
289
+ title: 'Fronius',
290
icon: '<i class="fa fa-sun-o" aria-hidden="true"></i>',
291
info: undefined
292
},