luci-app-statistics: adjust cpufreq graph for single/dual-core CPUs
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 10 Nov 2016 18:34:08 +0000 (20:34 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Thu, 10 Nov 2016 18:34:08 +0000 (20:34 +0200)
commitd4bbf44fbbac312633a4d104c55734c61f712c9e
treee235d4410cf9d4e04b6ed6f6e085c82d0a422a44
parent4343b2f13d8c9151907068f8b6d9aca89e762b49
luci-app-statistics: adjust cpufreq graph for single/dual-core CPUs

The original data model definition assumed data from a quad-core CPU,
which caused errors with single- and dual-core processors.
Adjust the data model to work with also them.

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