Fixing bounds calculation for label box
This commit is contained in:
parent
8a08f948fc
commit
d9e37574d5
@ -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
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user