Commit f469741c authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix transition when unload

parent b1e7a8c3
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment