statistics: memory plugin - improve graph by better scaling of y-axis 450/head
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 23 Aug 2015 18:12:56 +0000 (21:12 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 23 Aug 2015 18:12:56 +0000 (21:12 +0300)
commit9a06498dbdf5f5878d2ce86a4b9ac8abc9173bdc
treec7c57342261924ef306a40368b73b4eabea86814
parent86ff4bd3a4a39674c51bd52576a0a87e803a7c53
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>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/memory.lua