luci-app-statistics: fix whitespaces in rrdtool definitions
[project/luci.git] / applications / luci-app-statistics / luasrc / statistics / rrdtool / definitions / sensors.lua
1 -- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.statistics.rrdtool.definitions.sensors", package.seeall)
5
6 function rrdargs( graph, plugin, plugin_instance )
7
8 return {
9 {
10 per_instance = true,
11 title = "%H: %pi - %di",
12 vlabel = "\176C",
13 number_format = "%4.1lf\176C",
14 data = {
15 types = { "temperature" },
16 options = {
17 temperature__value = {
18 color = "ff0000",
19 title = "Temperature"
20 }
21 }
22 }
23 }
24 }
25 end