diff options
Diffstat (limited to 'mercurial/templates/monoblue/graph.tmpl')
-rw-r--r-- | mercurial/templates/monoblue/graph.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mercurial/templates/monoblue/graph.tmpl b/mercurial/templates/monoblue/graph.tmpl index fad0d82..08fd79d 100644 --- a/mercurial/templates/monoblue/graph.tmpl +++ b/mercurial/templates/monoblue/graph.tmpl @@ -49,6 +49,16 @@ var graph = new Graph(); graph.scale({bg_height}); + graph.edge = function(x0, y0, x1, y1, color) \{ + + this.setColor(color, 0.0, 0.65); + this.ctx.beginPath(); + this.ctx.moveTo(x0, y0); + this.ctx.lineTo(x1, y1); + this.ctx.stroke(); + + } + var revlink = '<li style="_STYLE"><span class="desc">'; revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; revlink += '</span>_TAGS<span class="info">_DATE, by _USER</span></li>'; |