diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-05-27 20:32:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-05-27 20:32:04 +0000 |
commit | 3f09d369d679d3e4413849cf67f757c647a66965 (patch) | |
tree | 117cb8ea6082cedfd07ef14d021ba7aa0d060776 /applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua | |
parent | 6a0da42befb970b56f93c0bf109a9cb7475e8e0c (diff) |
* luci/statistics: implement flip, overlay and total options for diagram models, improved/fixed netlink and wireless models
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua')
-rw-r--r-- | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua index e315ca521..708aee311 100644 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua +++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua @@ -2,7 +2,7 @@ module("luci.statistics.rrdtool.definitions.wireless", package.seeall) function rrdargs( graph, host, plugin, plugin_instance ) - dtypes = { "signal_power", "signal_noise" } + dtypes = { "signal_noise", "signal_power" } opts = { } opts.sources = { } @@ -16,8 +16,9 @@ function rrdargs( graph, host, plugin, plugin_instance ) for i, dtype in ipairs(dtypes) do opts.sources[i] = { - name = dtype, - rrd = graph:mkrrdpath( host, plugin, plugin_instance, dtype ) + name = dtype, + rrd = graph:mkrrdpath( host, plugin, plugin_instance, dtype ), + overlay = true -- don't summarize values } end |