Fixed Remove() Error

master
John Kiernander 2013-05-29 10:19:30 +01:00
parent 2d9b8dacfb
commit d153ac117f
4 changed files with 6 additions and 6 deletions

4
dist/dimple.v1.js vendored
View File

@ -2114,7 +2114,7 @@ dimple.plot.bar = {
.attr("width", function (d) { return _helpers.width(d, chart, series); })
.attr("height", function (d) { return _helpers.height(d, chart, series); })
.each("end", function () {
this.remove();
d3.select(this).remove();
})
// Save the shapes to the series array
@ -2410,7 +2410,7 @@ dimple.plot.bubble = {
.attr("cx", function (d) { return series.x._origin; })
.attr("cy", function (d) { return series.y._origin; })
.each("end", function () {
this.remove();
d3.select(this).remove();
})
// Save the shapes to the series array

File diff suppressed because one or more lines are too long

View File

@ -81,7 +81,7 @@ dimple.plot.bar = {
.attr("width", function (d) { return _helpers.width(d, chart, series); })
.attr("height", function (d) { return _helpers.height(d, chart, series); })
.each("end", function () {
this.remove();
d3.select(this).remove();
})
// Save the shapes to the series array

View File

@ -78,7 +78,7 @@ dimple.plot.bubble = {
.attr("cx", function (d) { return series.x._origin; })
.attr("cy", function (d) { return series.y._origin; })
.each("end", function () {
this.remove();
d3.select(this).remove();
})
// Save the shapes to the series array