luci-app-statistics: memory: make hiding 'free' configurable
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 21 Oct 2023 09:01:24 +0000 (12:01 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 21 Oct 2023 09:01:24 +0000 (12:01 +0300)
commit412a55a662f58b620f48c71cfe6085bd147c8216
treec92d7c74cb327b9223e1265b42a954e243c943f7
parentba89513e4f2ee48d049f68beb1d51de368d7ace4
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>
(cherry picked from commit 08540c44629ad0fedf5feb2b535c2df182ac3973)
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