Skip to content

Commit

Permalink
split sunburst breadcrumb names on '_' to apply ' '-dependent wrappin…
Browse files Browse the repository at this point in the history
…g more freqently
  • Loading branch information
williaster committed Apr 19, 2016
1 parent afcdcf0 commit 78d64ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/assets/visualizations/sunburst.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function sunburstVis(slice) {
.attr("y", breadcrumbDims.height / 4)
.attr("dy", "0.35em")
.attr("class", "step-label")
.text(function (d) { return d.name; })
.text(function (d) { return d.name.replace(/_/g, " "); })
.call(wrapSvgText, breadcrumbDims.width, breadcrumbDims.height / 2);

// Set position for entering and updating nodes.
Expand Down

0 comments on commit 78d64ec

Please sign in to comment.