Browse Source

Scatter radius

tentone 5 years ago
parent
commit
745417347d
2 changed files with 2 additions and 1 deletions
  1. 1 0
      examples/charts.html
  2. 1 1
      source/objects/chart/ScatterGraph.js

+ 1 - 0
examples/charts.html

@@ -50,6 +50,7 @@
 		}
 
 		var graph = new Escher.ScatterGraph();
+		graph.radius = 5;
 		graph.box.min.set(-500, -50);
 		graph.box.max.set(500, 50);
 		graph.position.set(800, 600);

+ 1 - 1
source/objects/chart/ScatterGraph.js

@@ -14,7 +14,7 @@ function ScatterGraph()
 	/**
 	 * Radius of each point represented in the scatter plot.
 	 */
-	this.radius = 3.0;
+	this.radius = 5.0;
 }
 
 ScatterGraph.prototype = Object.create(Graph.prototype);