From 3f09d369d679d3e4413849cf67f757c647a66965 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 27 May 2008 20:32:04 +0000 Subject: * luci/statistics: implement flip, overlay and total options for diagram models, improved/fixed netlink and wireless models --- .../luasrc/statistics/rrdtool/definitions/wireless.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua') diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/wireless.lua index e315ca5210..708aee3117 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 -- cgit v1.2.3