statistics: memory plugin - improve graph by better scaling of y-axis
authorHannu Nyman <[email protected]>
Sun, 23 Aug 2015 18:12:56 +0000 (21:12 +0300)
committerHannu Nyman <[email protected]>
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 <[email protected]>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/memory.lua