summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/statistics
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2015-10-25 10:11:35 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2015-10-25 10:11:35 +0200
commitdccf4859221c79718f08eeb085aefa866492427c (patch)
tree54e0d8c2ddc4a4220ac6bf8f136237f48e9d3d98 /applications/luci-app-statistics/luasrc/statistics
parent2a9b2107ba9fec08e7883e7eeb13bd37c555c623 (diff)
luci-app-statistics: improve scaling of the associated stations graph
Improve scaling of the associated stations graph on the wireless page. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
index 3ca3381ec4..194afd6fc0 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua
@@ -74,6 +74,8 @@ function rrdargs( graph, plugin, plugin_instance )
local stations = {
title = "%H: Associated stations on %pi",
vlabel = "Stations",
+ y_min = "0",
+ alt_autoscale_max = true,
number_format = "%3.0lf",
data = {
types = { "stations" },