Browse Source

Fix transition when unload

pull/110/head
Masayuki Tanaka 11 years ago
parent
commit
f469741c37
  1. 5
      c3.js
  2. 2
      c3.min.js

5
c3.js

@ -3729,8 +3729,9 @@
};
c3.unload = function (targetIds) {
unload(targetIds ? typeof targetIds === 'string' ? [targetIds] : targetIds : getTargetIds());
redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
unload(targetIds ? typeof targetIds === 'string' ? [targetIds] : targetIds : getTargetIds(), function () {
redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
});
};
c3.selected = function (targetId) {

2
c3.min.js vendored

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