Updated bandwidth graphs
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 29 Aug 2016 17:55:50 +0000 (13:55 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 29 Aug 2016 17:55:50 +0000 (13:55 -0400)
models/admin/ajax/serverBandwidthGraphs.php
views/admin/dashboardWidget/serverStats.html

index 4b42861..7ee5b98 100644 (file)
@@ -122,6 +122,7 @@ class GlmMembersAdmin_ajax_serverBandwidthGraphs  extends GlmServerBandwidthSupp
         $graph = new PHPGraphLib(1200,300);
         $graph->setXValues(true);
         $graph->setYValues(true);
+        $graph->setMinMaxY(10); // Set minimum top value to Y axis
         $graph->setXValuesInterval($interval);
         $graph->setXValuesHorizontal(false);
         $graph->setLineColor("blue", "red", "green");
index 919fb17..db4a08f 100644 (file)
@@ -50,7 +50,7 @@
 </table>
 {/if}
 
-<!-- Server Bandwidth Stats One Day Graph -->
+<!-- Server Bandwidth Stats -->
 <div id="serverStats" class="graph-dialog glm-dialog-box" title="Server Bandwidth">
     <div id="StatsPrintArea" class="PrintArea" style="padding: 10px;">
         <center><h3>{$glmSiteTitle}</h3></center>