diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-11-08 22:54:44 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-11-08 22:54:44 +0200 |
commit | 4343b2f13d8c9151907068f8b6d9aca89e762b49 (patch) | |
tree | 85900d82426ea3a6c5288bb1169c72fa05e6674b /applications | |
parent | df3c8728b995026a6df13efaf9a782b486de9ec5 (diff) |
luci-app-statistics: tweak 'cpufreq' number formatting
Adjust number formatting to display >1GHz values better.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua | 2 |
1 files changed, 1 insertions, 1 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 6e63630109..bd30ededa0 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpufreq.lua @@ -8,7 +8,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) title = "%H: Processor frequency", alt_autoscale = true, vlabel = "Frequency (Hz)", - number_format = "%4.0lf%s", + number_format = "%3.2lf%s", data = { instances = { cpufreq = { "3", "2", "1", "0" } |