Commit 2c3376e5996ab7ef078834df9cfd5a1b972f58be

Authored by Luigi Serra
1 parent 59100bec

graph updates

datalets/graph-datalet/graph-datalet.html
... ... @@ -148,7 +148,6 @@ Example:
148 148 scale = (1.0);
149 149 //translate = [(width-scale*width)/2, ((height-scale*height)/4)];
150 150 translate = [0, 0];
151   - console.log("w: " + width + " h:" + height);
152 151 this.svg.transition()
153 152 .duration(750)
154 153 .attr("transform", "translate(" + translate + ")scale(" + scale + ")")
... ... @@ -237,7 +236,6 @@ Example:
237 236  
238 237 zoom: function() {
239 238 svg.attr("transform", "translate(" + d3.event.translate + ")scale(" + d3.event.scale + ")");
240   - console.log(d3.event.scale);
241 239 },
242 240  
243 241 text: function (t)
... ... @@ -361,7 +359,6 @@ Example:
361 359 g.nodes[0].x = this.width / 2;
362 360 g.nodes[0].y = this.height / 8;
363 361 this.buildGraph(g);
364   - console.log(g.nodes.length);
365 362 }
366 363 });
367 364 </script>
... ...