Commit c67ef188 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Merge pull request #1118 from nikbelikov/patch-1

Update tooltip.js
parents f8f7255a 5ccbc03d
...@@ -75,7 +75,7 @@ c3_chart_internal_fn.tooltipPosition = function (dataToShow, tWidth, tHeight, el ...@@ -75,7 +75,7 @@ c3_chart_internal_fn.tooltipPosition = function (dataToShow, tWidth, tHeight, el
} }
if (tooltipRight > chartRight) { 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; tooltipLeft -= tooltipRight - chartRight + 20;
} }
if (tooltipTop + tHeight > $$.currentHeight) { if (tooltipTop + tHeight > $$.currentHeight) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment