You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bi...@apache.org on 2012/03/01 18:50:54 UTC
svn commit: r1295707 -
/incubator/accumulo/branches/1.4/src/server/src/main/resources/web/vis.xml
Author: billie
Date: Thu Mar 1 17:50:54 2012
New Revision: 1295707
URL: http://svn.apache.org/viewvc?rev=1295707&view=rev
Log:
ACCUMULO-431 fixed initialization issue
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=1295707&r1=1295706&r2=1295707&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 Thu Mar 1 17:50:54 2012
@@ -16,9 +16,6 @@
-->
<script type='text/javascript'>
-var speedStatType = 1; // index into statName
-var colorStatType = 0; // index into statName
-
// size and spacing variables
var numDots = 0; // number of dots to draw
var numLive = 0;
@@ -53,10 +50,11 @@ canvas.addEventListener('click', goToSer
// initialize settings based on request parameters
var main = document.getElementById('main');
+var speedStatType = document.getElementById('motion').selectedIndex; // index into statName
+var colorStatType = document.getElementById('color').selectedIndex; // index into statName
var useCircles = true;
setShape(document.getElementById('shape'));
setSize(document.getElementById('size'));
-setMotion(document.getElementById('motion'));
// xml loading variables
var xmlReturned = true;