Merge pull request #817 from ascob/luci-app-dynapoint
[project/luci.git] / applications / luci-app-statistics / luasrc / statistics / rrdtool / definitions / thermal.lua
1 -- Licensed to the public under the Apache License 2.0.
2
3 module("luci.statistics.rrdtool.definitions.thermal",package.seeall)
4
5 function rrdargs( graph, plugin, plugin_instance, dtype )
6
7         return {
8                 title = "%H: Temperature of %pi",
9                 alt_autoscale = true,
10                 vlabel = "Celsius",
11                 number_format = "%3.1lf%s",
12                 data = {
13                         types = { "temperature" },
14                         options = {
15                                 temperature = { color = "ff0000", title = "Temperature", noarea=true },
16                         }
17                 }
18         }
19 end
20