From 4343b2f13d8c9151907068f8b6d9aca89e762b49 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Tue, 8 Nov 2016 22:54:44 +0200 Subject: luci-app-statistics: tweak 'cpufreq' number formatting Adjust number formatting to display >1GHz values better. Signed-off-by: Hannu Nyman --- .../luasrc/statistics/rrdtool/definitions/cpufreq.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions') 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" } -- cgit v1.2.3