diff --git a/dc.js b/dc.js index 259f66b3a..1f2dde89c 100644 --- a/dc.js +++ b/dc.js @@ -5433,7 +5433,8 @@ dc.barChart = function (parent, chartGroup) { .select('title').text(dc.pluck('data', _chart.title(d.name))); dc.transition(bars.exit(), _chart.transitionDuration()) - .attr('height', 0) + .attr('x', function(d) { return _chart.x()(d.x); }) + .attr('width', _barWidth * 0.9) .remove(); } @@ -10746,4 +10747,4 @@ return dc;} } )(); -//# sourceMappingURL=dc.js.map \ No newline at end of file +//# sourceMappingURL=dc.js.map