Permalink
Browse files

Fixed bug with wrong dimension being used to render background lines

in the horizontal bar chart. Patch from Kieren Chapman.
  • Loading branch information...
cederberg committed Aug 7, 2008
1 parent 5bd246f commit afc3bff81f7edc05849345fec61fa91408a1c515
Showing with 1 addition and 1 deletion.
  1. +1 −1 PlotKit/SweetSVG.js
View
@@ -199,7 +199,7 @@ PlotKit.SweetSVGRenderer.prototype._renderBackground = function() {
x = ticks[i][0] * this.area.w + this.area.x;
y = this.area.y;
w = 1;
- h = this.area.w;
+ h = this.area.h;
}
else {
x = this.area.x;

0 comments on commit afc3bff

Please sign in to comment.