summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-12-14 21:53:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-12-14 21:53:03 +0000
commit99a8b2826e15c08972dc34170f70b40abba5922e (patch)
tree08f49b4b8d2c3507fc55f9867526152b3116265b /applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
parentac472f9ebc5ae0b92cec8b619a5b3f2c4a3fc5c1 (diff)
luci_statistics: Add y_min, y_max, units_exponent options and clean up some graphs
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
index 8052696fb5..4cb4795ef6 100644
--- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
@@ -19,6 +19,8 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
return {
title = "%H: Load", vlabel = "Load",
+ y_min = "0",
+ units_exponent = "0",
number_format = "%5.2lf", data = {
sources = {
load = { "shortterm", "midterm", "longterm" }