Browse Source

Merge pull request #480 from jejansse/master

Fix disappearing tooltips with lots of segments.
pull/500/head
Masayuki Tanaka 10 years ago
parent
commit
a784bfe3e7
  1. 2
      c3.js

2
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;
}
}

Loading…
Cancel
Save