equal
deleted
inserted
replaced
23 height: (1+this.height) + "px", |
23 height: (1+this.height) + "px", |
24 "margin-top": "1px", |
24 "margin-top": "1px", |
25 overflow: "hidden" |
25 overflow: "hidden" |
26 }); |
26 }); |
27 this.paper = new Raphael(this.container, this.width, 1+this.height ); |
27 this.paper = new Raphael(this.container, this.width, 1+this.height ); |
|
28 window.myArrow = this; |
28 this.svgArrow = this.paper.path('M0,' + this.height + 'L' + this.width + ',' + this.height); |
29 this.svgArrow = this.paper.path('M0,' + this.height + 'L' + this.width + ',' + this.height); |
29 this.svgArrow.attr({ |
30 this.svgArrow.attr({ |
30 stroke: this.stroke_color, |
31 stroke: this.stroke_color, |
31 "stroke-width": this.stroke_width, |
32 "stroke-width": this.stroke_width, |
32 fill: this.fill_url ? ( 'url(' + this.fill_url + ')' ) : this.fill_color |
33 fill: this.fill_url ? ( 'url(' + this.fill_url + ')' ) : this.fill_color |