added case 'none' to tooltip code

master
Tyler Wolf 11 years ago
parent c0a0c8b2f0
commit e4b46f3c81

@ -665,6 +665,12 @@ window.nv.tooltip.* also has various helper methods.
if (tLeft + width > windowWidth) left = left - width/2 + 5;
if (scrollTop > tTop) top = scrollTop;
break;
case 'none':
left = pos[0];
top = pos[1] - dist;
var tLeft = tooltipLeft(container);
var tTop = tooltipTop(container);
break;
}

16
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -368,6 +368,12 @@ window.nv.tooltip.* also has various helper methods.
if (tLeft + width > windowWidth) left = left - width/2 + 5;
if (scrollTop > tTop) top = scrollTop;
break;
case 'none':
left = pos[0];
top = pos[1] - dist;
var tLeft = tooltipLeft(container);
var tTop = tooltipTop(container);
break;
}

Loading…
Cancel
Save