luci-app-statistics: tweak 'cpufreq' number formatting

Adjust number formatting to display >1GHz values better.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2016-11-08 22:54:44 +02:00
parent df3c8728b9
commit 4343b2f13d

View file

@ -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" }