From: Hannu Nyman Date: Sun, 25 Oct 2015 08:11:35 +0000 (+0200) Subject: luci-app-statistics: improve scaling of the associated stations graph X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=ae4f8d5cd8c9c9267f7da9355eadc8efd7c88c67;hp=18d9c672c02382ccf844a58192db123566bcc866;p=project%2Fluci.git 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) --- 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" },