statistics: memory plugin - improve graph by better scaling of y-axis
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 23 Aug 2015 18:12:56 +0000 (21:12 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 28 Aug 2015 20:26:58 +0000 (23:26 +0300)
commitf6a4436d84309da9bce7a5552a631ed1ffbb896c
tree8c4a93370d51599a6bc1172964c63c824a3b56ac
parent119eaf24d8c34495522e0ea71aafa979f356b321
statistics: memory plugin - improve graph by better scaling of y-axis

Utilise alt_autoscale_max to make the memory chart y-axis to scale better
for devices with e.g. 128 MB RAM.

Also fix the axis min value to 0.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 9a06498dbdf5f5878d2ce86a4b9ac8abc9173bdc)
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/memory.lua