Commit a784bfe3 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Merge pull request #480 from jejansse/master

Fix disappearing tooltips with lots of segments.
parents 4f75bc89 90f5a992
...@@ -2063,7 +2063,7 @@ ...@@ -2063,7 +2063,7 @@
if (tooltipRight > chartRight) { if (tooltipRight > chartRight) {
tooltipLeft -= tooltipRight - chartRight; tooltipLeft -= tooltipRight - chartRight;
} }
if (tooltipTop + tHeight > getCurrentHeight()) { if (tooltipTop + tHeight > getCurrentHeight() && tooltipTop > tHeight + 30) {
tooltipTop -= tHeight + 30; tooltipTop -= tHeight + 30;
} }
} }
......
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