From d9e37574d5f9235489eddae6a7daafbb60bf5aa1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 13 Sep 2014 18:47:25 +0900 Subject: [PATCH] Fixing bounds calculation for label box --- client/grapher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/grapher.js b/client/grapher.js index 3760b70..76c3a51 100644 --- a/client/grapher.js +++ b/client/grapher.js @@ -199,7 +199,7 @@ function Column(canvas, name, params, scale, range, bounds) { this.getLabelBounds = function(bounds) { return new goog.math.Rect( bounds.left, - bounds.top + bounds.height - this.labelSize, + bounds.top + bounds.height, bounds.width, this.labelSize );