You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/01/05 17:50:03 UTC

[GitHub] mistercrunch closed pull request #6596: shift labels down along y-axis

mistercrunch closed pull request #6596: shift labels down along y-axis
URL: https://github.com/apache/incubator-superset/pull/6596
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/superset/assets/src/visualizations/Sunburst/Sunburst.js b/superset/assets/src/visualizations/Sunburst/Sunburst.js
index 5e13c198a9..e9c1188cec 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 ?


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org