--- /usr/local/www/graph.php 2013-05-14 20:33:28.000000000 -0400 +++ graph.php 2013-05-14 20:45:21.000000000 -0400 @@ -55,7 +55,11 @@ $ifname=@$_GET["ifname"]?$_GET["ifname"]:"Interface $ifnum"; //Interface name that will be showed on top right of graph /********* Other conf *******/ -$scale_type="up"; //Autoscale default setup : "up" = only increase scale; "follow" = increase and decrease scale according to current graphed datas +if (isset($config["widgets"]["trafficgraphs"]["scale_type"])) + $scale_type = $config["widgets"]["trafficgraphs"]["scale_type"]; +else + $scale_type = "up"; + $nb_plot=120; //NB plot in graph if ($_GET["timeint"]) $time_interval = $_GET["timeint"]; //Refresh time Interval