Skip to content

Commit

Permalink
use same 'stroke-linejoin' as pie traces
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Mar 22, 2019
1 parent 160bf4b commit 1b21aae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/traces/sunburst/plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ module.exports = function(gd, cdmodule, transitionOpts, makeOnCompleteCallback)
join = layer.selectAll('g.trace.sunburst')
.data(cdmodule, function(cd) { return cd[0].trace.uid; });

// using same 'stroke-linejoin' as pie traces
join.enter().append('g')
.classed('trace', true)
.classed('sunburst', true);

// TODO add 'stroke-linejoin': 'round' or 'stroke-miterlimit' ???
.classed('sunburst', true)
.attr('stroke-linejoin', 'round');

join.order();

Expand Down

0 comments on commit 1b21aae

Please sign in to comment.