luci-app-statistics: memory: make hiding 'free' configurable
authorHannu Nyman <hannu.nyman@iki.fi>
Mon, 9 Oct 2023 20:16:28 +0000 (23:16 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 9 Oct 2023 20:16:36 +0000 (23:16 +0300)
commit08540c44629ad0fedf5feb2b535c2df182ac3973
treef7fb1e31dd8fee0141748ca35895c86776285dce
parentf235491381f5836701f2fb1cb2e2aed432ef127d
luci-app-statistics: memory: make hiding 'free' configurable

Make hiding the 'free' memory configurable.
Set default as disabled, shown in graph which always scales to 100%.

If enabled, the graph scales to actually used memory,
which enables a more detailed view to memory usage.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/memory.js
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/memory.js
applications/luci-app-statistics/root/etc/config/luci_statistics