incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bil...@apache.org
Subject svn commit: r1294804 - /incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml
Date Tue, 28 Feb 2012 20:01:22 GMT
Author: billie
Date: Tue Feb 28 20:01:22 2012
New Revision: 1294804

URL: http://svn.apache.org/viewvc?rev=1294804&view=rev
Log:
ACCUMULO-431 made drop to no activity more smooth

Modified:
    incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml

Modified: incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml?rev=1294804&r1=1294803&r2=1294804&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml (original)
+++ incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml Tue Feb 28 20:01:22
2012
@@ -152,9 +152,12 @@ function drawDots(){
   var y;
   for (i=0; i < numDots; i++) {
     if (resizeFrameModulus[i]<=0 || dotSize[i] > maxDotRadius) {
-      // if not changing size, stay at max radius
+      // if not changing size, increase to max radius
       // also check for resize by the user
-      dotSize[i] = maxDotRadius;
+      if (dotSize[i] < maxDotRadius)
+        dotSize[i] = dotSize[i] + 1;
+      else
+        dotSize[i] = maxDotRadius;
     } else if (resizeFrameModulus[i] > 0 && frame % resizeFrameModulus[i] == 0)
{
       if (dotSize[i] >= maxDotRadius) {dotSizeGrowing[i] = false};
       if (dotSize[i] <= minDotRadius) {dotSizeGrowing[i] = true};



Mime
View raw message