luci_statistics: Add y_min, y_max, units_exponent options and clean up some graphs
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / cpu.lua
index 41bae39..c0e8624 100644 (file)
@@ -15,10 +15,11 @@ $Id: cpu.lua 2274 2008-06-03 23:15:16Z jow $
 
 module("luci.statistics.rrdtool.definitions.cpu",package.seeall)
 
-function rrdargs( graph, host, plugin, plugin_instance, dtype )
+function rrdargs( graph, plugin, plugin_instance, dtype )
 
        return {
                title = "%H: Processor usage on core #%pi",
+               y_min = "0",
                vlabel = "Percent",
                number_format = "%5.1lf%%",
                data = {