* luc/statistics: add file/license headers
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / wireless.lua
index 6c68bb2698daf85fddb3d365977afcd8a3aa19ac..9bcbc069095a0c90bbd8cd037a0cb04b1a3a96e8 100644 (file)
@@ -1,3 +1,18 @@
+--[[
+
+Luci statistics - wireless plugin diagram definition
+(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+]]--
+
 module("luci.statistics.rrdtool.definitions.wireless", package.seeall)
 
 function rrdargs( graph, host, plugin, plugin_instance )
@@ -7,12 +22,6 @@ function rrdargs( graph, host, plugin, plugin_instance )
        --
        local snr = {
 
-               -- diagram title
-               title   = "Signal / Noise",
-
-               -- vertical label
-               vlabel  = "dBm",
-
                -- draw this diagram for each data instance
                per_instance = true,
 
@@ -41,12 +50,6 @@ function rrdargs( graph, host, plugin, plugin_instance )
        --
        local quality = {
 
-               -- diagram title
-               title   = "Signalqualitaet",
-
-               -- vertical label
-               vlabel  = "n/5",
-
                -- draw this diagram for each data instance
                per_instance = true,