Browse Source

Fix tooltip position on the edge - #234

pull/246/head
Masayuki Tanaka 11 years ago
parent
commit
e516f8edc4
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -1826,7 +1826,7 @@
} }
if (tooltipRight > chartRight) { if (tooltipRight > chartRight) {
tooltipLeft -= tWidth + 60; tooltipLeft -= tooltipRight - chartRight;
} }
if (tooltipTop + tHeight > getCurrentHeight()) { if (tooltipTop + tHeight > getCurrentHeight()) {
tooltipTop -= tHeight + 30; tooltipTop -= tHeight + 30;

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save