mirror of https://github.com/vitalif/dimple
Fixed Remove() Error
parent
2d9b8dacfb
commit
d153ac117f
|
@ -2114,7 +2114,7 @@ dimple.plot.bar = {
|
||||||
.attr("width", function (d) { return _helpers.width(d, chart, series); })
|
.attr("width", function (d) { return _helpers.width(d, chart, series); })
|
||||||
.attr("height", function (d) { return _helpers.height(d, chart, series); })
|
.attr("height", function (d) { return _helpers.height(d, chart, series); })
|
||||||
.each("end", function () {
|
.each("end", function () {
|
||||||
this.remove();
|
d3.select(this).remove();
|
||||||
})
|
})
|
||||||
|
|
||||||
// Save the shapes to the series array
|
// Save the shapes to the series array
|
||||||
|
@ -2410,7 +2410,7 @@ dimple.plot.bubble = {
|
||||||
.attr("cx", function (d) { return series.x._origin; })
|
.attr("cx", function (d) { return series.x._origin; })
|
||||||
.attr("cy", function (d) { return series.y._origin; })
|
.attr("cy", function (d) { return series.y._origin; })
|
||||||
.each("end", function () {
|
.each("end", function () {
|
||||||
this.remove();
|
d3.select(this).remove();
|
||||||
})
|
})
|
||||||
|
|
||||||
// Save the shapes to the series array
|
// Save the shapes to the series array
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -81,7 +81,7 @@ dimple.plot.bar = {
|
||||||
.attr("width", function (d) { return _helpers.width(d, chart, series); })
|
.attr("width", function (d) { return _helpers.width(d, chart, series); })
|
||||||
.attr("height", function (d) { return _helpers.height(d, chart, series); })
|
.attr("height", function (d) { return _helpers.height(d, chart, series); })
|
||||||
.each("end", function () {
|
.each("end", function () {
|
||||||
this.remove();
|
d3.select(this).remove();
|
||||||
})
|
})
|
||||||
|
|
||||||
// Save the shapes to the series array
|
// Save the shapes to the series array
|
||||||
|
|
|
@ -78,7 +78,7 @@ dimple.plot.bubble = {
|
||||||
.attr("cx", function (d) { return series.x._origin; })
|
.attr("cx", function (d) { return series.x._origin; })
|
||||||
.attr("cy", function (d) { return series.y._origin; })
|
.attr("cy", function (d) { return series.y._origin; })
|
||||||
.each("end", function () {
|
.each("end", function () {
|
||||||
this.remove();
|
d3.select(this).remove();
|
||||||
})
|
})
|
||||||
|
|
||||||
// Save the shapes to the series array
|
// Save the shapes to the series array
|
||||||
|
|
Loading…
Reference in New Issue