1 /* Licensed to the public under the Apache License 2.0. */
6 return baseclass.extend({
9 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
11 var types = graph.dataTypes(host, plugin, plugin_instance);
13 if (types.indexOf('temperature') > -1) {
16 title: "%H: %pi - %di",
18 number_format: "%4.1lf\xb0C",
20 types: [ "temperature" ],
30 if (types.indexOf('humidity') > -1) {
33 title: "%H: %pi - %di",
35 number_format: "%4.1lf %%RH",
37 types: [ "humidity" ],