From dccf4859221c79718f08eeb085aefa866492427c Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 25 Oct 2015 10:11:35 +0200 Subject: 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 --- .../luasrc/statistics/rrdtool/definitions/iwinfo.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool') 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" }, -- cgit v1.2.3