superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: shift labels down along y-axis (#6596)
Date Sat, 05 Jan 2019 17:50:07 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f291dae  shift labels down along y-axis (#6596)
f291dae is described below

commit f291dae2004ffe1e21d56e5ab8c7a64676f26531
Author: Marcus <marcuseagan@gmail.com>
AuthorDate: Sat Jan 5 09:50:01 2019 -0800

    shift labels down along y-axis (#6596)
---
 superset/assets/src/visualizations/Sunburst/Sunburst.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/Sunburst/Sunburst.js b/superset/assets/src/visualizations/Sunburst/Sunburst.js
index 5e13c19..e9c1188 100644
--- a/superset/assets/src/visualizations/Sunburst/Sunburst.js
+++ b/superset/assets/src/visualizations/Sunburst/Sunburst.js
@@ -140,7 +140,7 @@ function Sunburst(element, props) {
     entering.append('svg:text')
         .attr('x', (breadcrumbDims.width + breadcrumbDims.tipTailWidth) / 2)
         .attr('y', breadcrumbDims.height / 4)
-        .attr('dy', '0.35em')
+        .attr('dy', '0.85em')
         .style('fill', function (d) {
           // Make text white or black based on the lightness of the background
           const col = d3.hsl(colorByCategory ?


Mime
View raw message