Browse Source

Update tooltip.js

pull/1118/head
Nikolay 10 years ago
parent
commit
5ccbc03d70
  1. 2
      src/tooltip.js

2
src/tooltip.js

@ -75,7 +75,7 @@ c3_chart_internal_fn.tooltipPosition = function (dataToShow, tWidth, tHeight, el
}
if (tooltipRight > chartRight) {
// 20 is needed for Firefox to keep tooletip width
// 20 is needed for Firefox to keep tooltip width
tooltipLeft -= tooltipRight - chartRight + 20;
}
if (tooltipTop + tHeight > $$.currentHeight) {

Loading…
Cancel
Save