luci-app-statistics: processes: fix graph visibility
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 9 May 2017 06:42:42 +0000 (09:42 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 9 May 2017 06:46:50 +0000 (09:46 +0300)
commit0a6ce204234c9485549e290230e51484b1fceb64
treee5fcd26722d34f4af6da11ff7ea96fa4fc9a7aca
parentaba7981deaffe1871d279196e7a43e3af255d748
luci-app-statistics: processes: fix graph visibility

Fix graph visibility on processes page based on plugin
instance. The overview instance is empty, while monitored
processes have their own instances.

Original version of the patch created by @koblack and
discussed in #1021

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua