Skip to content

Commit

Permalink
Remove extraneous "dx" attribute.
Browse files Browse the repository at this point in the history
Thanks, @mbostock!
  • Loading branch information
jasondavies committed Aug 20, 2012
1 parent 7155ffa commit e5ae048
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/tree/tree-radial.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ d3.json("../data/flare.json", function(json) {
.attr("r", 4.5);

node.append("text")
.attr("dx", function(d) { return d.x < 180 ? 8 : -8; })
.attr("dy", ".31em")
.attr("text-anchor", function(d) { return d.x < 180 ? "start" : "end"; })
.attr("transform", function(d) { return d.x < 180 ? "translate(8)" : "rotate(180)translate(-8)"; })
Expand Down

0 comments on commit e5ae048

Please sign in to comment.