Commit 862b434c authored by Bertjan Broeksema's avatar Bertjan Broeksema

Fix rendering after scaling.

This was likely introduced after the last update of d3.parcoords.
parent a1e3d924
This diff is collapsed.
...@@ -190,7 +190,10 @@ angular.module('contigBinningApp.controllers') ...@@ -190,7 +190,10 @@ angular.module('contigBinningApp.controllers')
_.each(dims, function (dim) { _.each(dims, function (dim) {
d.parcoords.scale(dim, domain); d.parcoords.scale(dim, domain);
}); });
d.parcoords.updateAxes(); d.parcoords
.brushReset()
.updateAxes()
.render();
} }
// function to be used as callback when data is requested // function to be used as callback when data is requested
...@@ -298,7 +301,10 @@ angular.module('contigBinningApp.controllers') ...@@ -298,7 +301,10 @@ angular.module('contigBinningApp.controllers')
if (ParCoords.sharedScaleVariables.length > 0) { if (ParCoords.sharedScaleVariables.length > 0) {
updateSharedAxes(); updateSharedAxes();
} else { } else {
d.parcoords.autoscale().updateAxes(); d.parcoords
.autoscale()
.updateAxes()
.render();
} }
}); });
......
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