Project

General

Profile

Feature #2994 » graph.php.patch

Dwayne Voelker, 05/15/2013 10:41 AM

View differences:

graph.php 2013-05-14 20:45:21.000000000 -0400
55 55
$ifname=@$_GET["ifname"]?$_GET["ifname"]:"Interface $ifnum";  //Interface name that will be showed on top right of graph
56 56

  
57 57
/********* Other conf *******/
58
$scale_type="up";               //Autoscale default setup : "up" = only increase scale; "follow" = increase and decrease scale according to current graphed datas
58
if (isset($config["widgets"]["trafficgraphs"]["scale_type"]))
59
	$scale_type = $config["widgets"]["trafficgraphs"]["scale_type"];
60
else
61
	$scale_type = "up";
62

  
59 63
$nb_plot=120;                   //NB plot in graph
60 64
if ($_GET["timeint"])
61 65
	$time_interval = $_GET["timeint"];		//Refresh time Interval
(2-2/2)