Browse Source

Merge branch 'J-F-Liu-master'

pull/1207/head
Masayuki Tanaka 10 years ago
parent
commit
f79e354465
  1. 5
      c3.js
  2. 2
      src/api.flow.js
  3. 3
      src/core.js

5
c3.js

@ -584,9 +584,6 @@
$$.subY2.domain($$.getYDomain(targetsToShow, 'y2'));
}
// tooltip
$$.tooltip.style("display", "none");
// xgrid focus
$$.updateXgridFocus();
@ -6374,9 +6371,7 @@
scaleX = (diffDomain(orgDomain) / diffDomain(domain));
transform = 'translate(' + translateX + ',0) scale(' + scaleX + ',1)';
// hide tooltip
$$.hideXGridFocus();
$$.hideTooltip();
d3.transition().ease('linear').duration(durationForFlow).each(function () {
wait.add($$.axes.x.transition().call($$.xAxis));

2
src/api.flow.js

@ -214,9 +214,7 @@ c3_chart_internal_fn.generateFlow = function (args) {
scaleX = (diffDomain(orgDomain) / diffDomain(domain));
transform = 'translate(' + translateX + ',0) scale(' + scaleX + ',1)';
// hide tooltip
$$.hideXGridFocus();
$$.hideTooltip();
d3.transition().ease('linear').duration(durationForFlow).each(function () {
wait.add($$.axes.x.transition().call($$.xAxis));

3
src/core.js

@ -579,9 +579,6 @@ c3_chart_internal_fn.redraw = function (options, transitions) {
$$.subY2.domain($$.getYDomain(targetsToShow, 'y2'));
}
// tooltip
$$.tooltip.style("display", "none");
// xgrid focus
$$.updateXgridFocus();

Loading…
Cancel
Save