From 5b3fa3cdc7530887898f5dc38d6dd15b88c66b5f Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Wed, 10 Nov 2021 22:27:43 +0200 Subject: luci-app-statistics: adjust graph size fallback to defaults Adjust the fallback timespan and graph width to the current config defaults. (The default width in /etc/config/luci_statistics has been 600 already since commit 7ab8b51bd in March 2010.) Expose the graph height in the config file and increase it from 100 to 150 to keep the original aspect ratio. Signed-off-by: Hannu Nyman --- applications/luci-app-statistics/root/etc/config/luci_statistics | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-app-statistics/root/etc/config/luci_statistics') diff --git a/applications/luci-app-statistics/root/etc/config/luci_statistics b/applications/luci-app-statistics/root/etc/config/luci_statistics index 581a1f5a2c..7ed2c5c190 100644 --- a/applications/luci-app-statistics/root/etc/config/luci_statistics +++ b/applications/luci-app-statistics/root/etc/config/luci_statistics @@ -12,6 +12,7 @@ config statistics 'collectd' config statistics 'rrdtool' option default_timespan '1hour' option image_width '600' + option image_height '150' option image_path '/tmp/rrdimg' # output plugins -- cgit v1.2.3