diff --git a/c3.js b/c3.js index 0962045..5445300 100644 --- a/c3.js +++ b/c3.js @@ -2063,7 +2063,7 @@ if (tooltipRight > chartRight) { tooltipLeft -= tooltipRight - chartRight; } - if (tooltipTop + tHeight > getCurrentHeight()) { + if (tooltipTop + tHeight > getCurrentHeight() && tooltipTop > tHeight + 30) { tooltipTop -= tHeight + 30; } }