luci-app-statistics: cpufreq: tweak graphs
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 14 Aug 2019 15:53:03 +0000 (18:53 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 14 Aug 2019 16:03:27 +0000 (19:03 +0300)
commitf92bca04eb979ec52509b969c98225c2d16ffa6b
treec40c182dba2a07d86aab54e2131ca511647a8bec
parent91774669cb14fddac698892dcbfb86dded2ab827
luci-app-statistics: cpufreq: tweak graphs

* Frequency usage percentage stats are by kHz instead of Hz.
  Correct the labels. (Linux natively uses kHz for CPU frequency stats,
  but collectd scales the current frequency stats item to Hz.)

* Show frequency usage percentage graph before the transition counts,
  as it is more descriptive.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 24c0e7ca4c9d9fbffc94133e710facdb039fedab)
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua