diff options
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua index 40a6955e53..d3596637b2 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua @@ -42,12 +42,13 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) local percentage = { title = "%H: Frequency distribution - core %pi", alt_autoscale = true, - vlabel = "Frequency (Hz)", + vlabel = "Percent", number_format = "%5.2lf%%", + ordercolor = true, data = { types = { "percent" }, options = { - percent = { title = "Frequency %di" }, + percent = { title = "%di Hz", negweight = true }, } } } |