6ff303de98bfdd23b03c8c5f6ce1ae2447600a32
[project/luci.git] / applications / luci-app-statistics / htdocs / luci-static / resources / statistics / rrdtool / definitions / thermal.js
1 /* Licensed to the public under the Apache License 2.0. */
2
3 'use strict';
4
5 return L.Class.extend({
6 title: _('Thermal'),
7
8 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
9 return {
10 title: "%H: Temperature of %pi",
11 alt_autoscale: true,
12 vlabel: "Celsius",
13 number_format: "%3.1lf%s",
14 data: {
15 types: [ "temperature" ],
16 options: {
17 temperature: {
18 color: "ff0000",
19 title: "Temperature",
20 noarea: true
21 }
22 }
23 }
24 };
25 }
26 });