mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
split sunburst breadcrumb names on '_' to apply ' '-dependent wrapping more freqently (#376)
This commit is contained in:
parent
afcdcf06a1
commit
d96b634ded
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user