Skip to content

Commit

Permalink
Fix axis line
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkiernander committed Dec 16, 2016
1 parent dc4af05 commit 65f6985
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
6 changes: 4 additions & 2 deletions dist/dimple.latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@
}
});
if (axis.gridlineShapes !== null) {
handleTrans(axis.gridlineShapes.selectAll("path")).remove();
axis.gridlineShapes.selectAll("path").remove();
handleTrans(axis.gridlineShapes.selectAll("line"))
.attr("class", appendClass(chart.customClassList.gridline))
.call(function (context) {
Expand Down Expand Up @@ -4993,7 +4993,9 @@
}
});
removed.call(function () {
series.shapes.exit().remove();
if (series.shapes) {
series.shapes.exit().remove();
}
});
}
};
Expand Down
4 changes: 2 additions & 2 deletions dist/dimple.latest.min.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/dimple.v2.3.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@
}
});
if (axis.gridlineShapes !== null) {
handleTrans(axis.gridlineShapes.selectAll("path")).remove();
axis.gridlineShapes.selectAll("path").remove();
handleTrans(axis.gridlineShapes.selectAll("line"))
.attr("class", appendClass(chart.customClassList.gridline))
.call(function (context) {
Expand Down Expand Up @@ -4993,7 +4993,9 @@
}
});
removed.call(function () {
series.shapes.exit().remove();
if (series.shapes) {
series.shapes.exit().remove();
}
});
}
};
Expand Down
4 changes: 2 additions & 2 deletions dist/dimple.v2.3.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/objects/chart/methods/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
}
});
if (axis.gridlineShapes !== null) {
handleTrans(axis.gridlineShapes.selectAll("path")).remove();
axis.gridlineShapes.selectAll("path").remove();
handleTrans(axis.gridlineShapes.selectAll("line"))
.attr("class", appendClass(chart.customClassList.gridline))
.call(function (context) {
Expand Down

0 comments on commit 65f6985

Please sign in to comment.