1

Fixing bounds calculation for label box

This commit is contained in:
Alex Yatskov 2014-09-13 18:47:25 +09:00
parent 8a08f948fc
commit d9e37574d5

View File

@ -199,7 +199,7 @@ function Column(canvas, name, params, scale, range, bounds) {
this.getLabelBounds = function(bounds) { this.getLabelBounds = function(bounds) {
return new goog.math.Rect( return new goog.math.Rect(
bounds.left, bounds.left,
bounds.top + bounds.height - this.labelSize, bounds.top + bounds.height,
bounds.width, bounds.width,
this.labelSize this.labelSize
); );