Merge pull request #656 from nlhintz/pull-request
[oweals/luci.git] / applications / luci-app-statistics / luasrc / statistics / rrdtool / definitions / cpufreq.lua
index 6e6363010996f84f87a2ccf1afb2865b7066ce00..25a72d22855182cc69bf1ce8f32fc9188f910958 100644 (file)
@@ -8,10 +8,10 @@ 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" }
+                       sources = {
+                               cpufreq = { "" }
                        },
                        options = {
                                cpufreq_0 = { color = "ff0000", title = "Core 0", noarea=true, overlay=true },