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:00:09 +0000 (19:00 +0300)
commit24c0e7ca4c9d9fbffc94133e710facdb039fedab
treeb0483cef388f46a5a4a649c0b3e00d28f5aaebb5
parentf929298318fb755b05fe53b33971662d9df18211
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>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua