luci-app-statistics: adjust graph size fallback to defaults
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 10 Nov 2021 20:27:43 +0000 (22:27 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 10 Nov 2021 20:27:43 +0000 (22:27 +0200)
commit5b3fa3cdc7530887898f5dc38d6dd15b88c66b5f
tree179b43b198ca788de7499d030c8afd73544d153b
parent153287336264a2520e233f40e90131d815fd4492
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 <hannu.nyman@iki.fi>
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js
applications/luci-app-statistics/root/etc/config/luci_statistics