]> git.99rst.org Git - openwrt-luci.git/blob
a94c83bdf5628ae7c47f162770ea563c5554ceee
[openwrt-luci.git] /
1 /* Licensed to the public under the Apache License 2.0. */
2
3 'use strict';
4 'require baseclass';
5
6 return baseclass.extend({
7 title: _('Thermal'),
8
9 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
10 return {
11 title: "%H: Temperature of %pi",
12 alt_autoscale: true,
13 vlabel: "Celsius",
14 number_format: "%3.1lf%s",
15 data: {
16 types: [ "temperature" ],
17 options: {
18 temperature: {
19 color: "ff0000",
20 title: "Temperature",
21 noarea: true
22 }
23 }
24 }
25 };
26 }
27 });
git clone https://git.99rst.org/PROJECT