diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua index b06c8c414..2caf6a0b1 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua @@ -19,9 +19,24 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) }, options = { - load__shortterm = { color = "ff0000", title = "1 minute", noarea = true }, - load__midterm = { color = "ff6600", title = "5 minutes", noarea = true }, - load__longterm = { color = "ffaa00", title = "15 minutes", noarea = true } + load__shortterm = { + color = "ff0000", + title = "1 minute", + noarea = true, + weight = 3 + }, + load__midterm = { + color = "ff6600", + title = "5 minutes", + overlay = true, + weight = 1 + }, + load__longterm = { + color = "ffaa00", + title = "15 minutes", + overlay = true, + weight = 2 + } } } } |