tests/test-hgweb-empty.t
changeset 35160 69a865dc2ada
parent 32758 cba4461aa0a0
child 35219 5857eb81c1f3
equal deleted inserted replaced
35159:018aac6d7cb0 35160:69a865dc2ada
   304   
   304   
   305   var data = [];
   305   var data = [];
   306   var graph = new Graph();
   306   var graph = new Graph();
   307   graph.scale(39);
   307   graph.scale(39);
   308   
   308   
   309   graph.vertex = function(x, y, color, parity, cur) {
   309   graph.vertex = function(x, y, radius, color, parity, cur) {
   310   	
   310   	
   311   	this.ctx.beginPath();
   311   	this.ctx.beginPath();
   312   	color = this.setColor(color, 0.25, 0.75);
   312   	color = this.setColor(color, 0.25, 0.75);
   313   	this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
   313   	this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
   314   	this.ctx.fill();
   314   	this.ctx.fill();