junlincc opened a new issue #11562:
URL: https://github.com/apache/incubator-superset/issues/11562


   Describe the bug
   There remain some quirks in the new Echarts-based pie chart.
   
   If label lines are turned on and there is no label, e.g. the label is 
disabled for the slice because it doesn't meet the percent threshold, you have 
lines coming off the slices with no associated text.
   
   The chart layout isn't automatic with the legend. If you want to fit the 
legend, you have to manually resize the pie chart smaller so the legend will 
fit. With the legend showing, the chart isn't shifted down vertically to use 
the unused whitespace. The chart thus needs to be smaller than before with the 
legend showing.
   
   Screenshots
   
   Example of 1st item:
   
   
![1](https://user-images.githubusercontent.com/67837651/98176205-f34c3c80-1eac-11eb-992c-2f8a85e5f479.png)
   
   
   Example of 2nd item:
   
   In 0.37 the chart size and layout was automatic and would fill available 
whitespace.
   
![2](https://user-images.githubusercontent.com/67837651/98176224-f9dab400-1eac-11eb-825e-d7d3b75a0f6c.png)
   
   
   In 0.38, you need to manually size the chart to fit available white space. 
Also, the chart layout doesn't shift down to accomodate the legend.
   
![3](https://user-images.githubusercontent.com/67837651/98176238-fe06d180-1eac-11eb-8c89-839b9db46259.png)
   
   
   cc @bryanck 
   @eugeniamz 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to