Skip to content

Commit 1b21aae

Browse files
committed
use same 'stroke-linejoin' as pie traces
1 parent 160bf4b commit 1b21aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/traces/sunburst/plot.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ module.exports = function(gd, cdmodule, transitionOpts, makeOnCompleteCallback)
4141
join = layer.selectAll('g.trace.sunburst')
4242
.data(cdmodule, function(cd) { return cd[0].trace.uid; });
4343

44+
// using same 'stroke-linejoin' as pie traces
4445
join.enter().append('g')
4546
.classed('trace', true)
46-
.classed('sunburst', true);
47-
48-
// TODO add 'stroke-linejoin': 'round' or 'stroke-miterlimit' ???
47+
.classed('sunburst', true)
48+
.attr('stroke-linejoin', 'round');
4949

5050
join.order();
5151

0 commit comments

Comments
 (0)