From: Marek Janda Date: Wed, 18 Feb 2015 10:37:31 +0000 (+0100) Subject: update comments to reflect 20->50px X-Git-Tag: v2.0.0~74^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=c01c6b5cadedea62fbc6dab2457dc67c1201caa4;p=dygraphs.git update comments to reflect 20->50px --- diff --git a/plugins/legend.js b/plugins/legend.js index 91e9ddd..3db4d07 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -139,8 +139,8 @@ legend.prototype.select = function(e) { var yAxisLabelWidth = e.dygraph.getOptionForAxis('axisLabelWidth', 'y'); // determine floating [left, top] coordinates of the legend div // within the plotter_ area - // offset 20 px to the right and down from the first selection point - // 20 px is guess based on mouse cursor size + // offset 50 px to the right and down from the first selection point + // 50 px is guess based on mouse cursor size var leftLegend = points[0].x * area.w + 50; var topLegend = points[0].y * area.h - 50;