Browse Source

Merge pull request #1118 from nikbelikov/patch-1

Update tooltip.js
pull/1207/head
Masayuki Tanaka 10 years ago
parent
commit
c67ef18810
  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