From ae4f8d5cd8c9c9267f7da9355eadc8efd7c88c67 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 25 Oct 2015 10:11:35 +0200 Subject: [PATCH] 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 (cherry picked from commit dccf4859221c79718f08eeb085aefa866492427c) --- .../luasrc/statistics/rrdtool/definitions/iwinfo.lua | 2 ++ 1 file changed, 2 insertions(+) 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 3ca3381ec..194afd6fc 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" }, -- 2.25.1