Browse Source

Fix bug for tooltip position - #166

pull/183/head
Masayuki Tanaka 11 years ago
parent
commit
17f3725c80
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -456,7 +456,7 @@
}
function getSvgLeft() {
var leftAxisClass = __axis_rotated ? CLASS.axisX : CLASS.axisY,
leftAxis = d3.select('.' + leftAxisClass).node(),
leftAxis = main.select('.' + leftAxisClass).node(),
svgRect = leftAxis ? leftAxis.getBoundingClientRect() : {right: 0},
chartRect = d3.select(__bindto).node().getBoundingClientRect(),
svgLeft = svgRect.right - chartRect.left - getCurrentPaddingLeft();

2
c3.min.js vendored

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