Mercurial > kallithea
diff pylons_app/public/js/graph.js @ 289:1dbe02063123
graph fixes.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 23 Jun 2010 00:31:00 +0200 |
parents | ab1afe7444f3 |
children | 68dc70295a76 |
line wrap: on
line diff
--- a/pylons_app/public/js/graph.js Wed Jun 23 00:18:10 2010 +0200 +++ b/pylons_app/public/js/graph.js Wed Jun 23 00:31:00 2010 +0200 @@ -105,7 +105,8 @@ this.ctx.beginPath(); this.ctx.moveTo(x, y); - y += row.clientHeight; + //i don't know why it's +1 just fixes some drawing graph. + y += row.clientHeight+1; x = pad-((1 + this.box_size * end) + this.bg_height-2); this.ctx.lineTo(x,y+extra); this.ctx.stroke();