gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14726 - gauger


From: gnunet
Subject: [GNUnet-SVN] r14726 - gauger
Date: Fri, 25 Mar 2011 15:29:08 +0100

Author: bartpolot
Date: 2011-03-25 15:29:08 +0100 (Fri, 25 Mar 2011)
New Revision: 14726

Modified:
   gauger/plot.php
Log:
Fixed missing xtic in 1 point ranges


Modified: gauger/plot.php
===================================================================
--- gauger/plot.php     2011-03-25 13:37:36 UTC (rev 14725)
+++ gauger/plot.php     2011-03-25 14:29:08 UTC (rev 14726)
@@ -162,6 +162,7 @@
     $gap = $range_end - $range_start;
     $interval = ceil($gap/(abs($size-150)/50));
     if($interval > $gap) $interval = $gap;
+    if($interval == 0) $interval = 1;
     $rangecmd = " set xtics $range_start,$interval,$range_end;";
 
     if(!$c) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]