projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci_statistics: Add y_min, y_max, units_exponent options and clean up some graphs
[project/luci.git]
/
applications
/
luci-statistics
/
luasrc
/
statistics
/
rrdtool
/
definitions
/
load.lua
diff --git
a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/load.lua
index
8052696
..
4cb4795
100644
(file)
--- 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" }