batch properties
set properties of many elements with one call
HTML
<script src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<link rel="stylesheet" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css">
<div id="jxgbox" style="width: 500px; height: 500px;"></div>
JavaScript
var board = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-0.2, 1.2, 1.2, -0.2], axis: false});
var i, c = 10, p = [];
for (i = 0; i < c; i++) {
p.push(board.create('point', [Math.random(), Math.random()]));
}
var g = new JXG.Composition(p);
g.setProperty({fillColor: 'red', strokeColor: 'green', size: 7, strokeWidth: 4});