From c01c6b5cadedea62fbc6dab2457dc67c1201caa4 Mon Sep 17 00:00:00 2001 From: Marek Janda Date: Wed, 18 Feb 2015 11:37:31 +0100 Subject: [PATCH] update comments to reflect 20->50px --- plugins/legend.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4