katherinebai opened a new issue #10088: The label position is strange when the 
pie chart series data value is null.
URL: https://github.com/apache/incubator-echarts/issues/10088
 
 
   ### Version
   4.2.1-rc1
   
   ### Steps to reproduce
   Run the following option:
   
   option = {
        "animation": true,
        "tooltip": {
                "trigger": "item"
        },
        "legend": {
                "show": true,
                "orient": "vertical",
                "align": "left",
                "right": 5,
                "top": "center"
        },
        "series": [{
                "name": "Series1",
                "type": "pie",
                "selectedMode": false,
                "stillShowZeroSum": false,
                "data": [{
                        "value": 13,
                        "name": "DD000045",
                        "itemStyle": {
                                "borderColor": "#FFFFFF",
                                "borderWidth": 2,
                                "borderType": "solid"
                        }
                }, {
                        "value": 7,
                        "name": "DD000048",
                        "itemStyle": {
                                "borderColor": "#FFFFFF",
                                "borderWidth": 2,
                                "borderType": "solid"
                        }
                }, {
                        "value": 7,
                        "name": "DD000046",
                        "itemStyle": {
                                "borderColor": "#FFFFFF",
                                "borderWidth": 2,
                                "borderType": "solid"
                        }
                }, {
                        "value": null,
                        "name": "DD000049",
                        "itemStyle": {
                                "borderColor": "#FFFFFF",
                                "borderWidth": 2,
                                "borderType": "solid"
                        }
                }, {
                        "value": 5,
                        "name": "DD000047",
                        "itemStyle": {
                                "borderColor": "#FFFFFF",
                                "borderWidth": 2,
                                "borderType": "solid"
                        }
                }],
                "label": {
                        "show": true,
                        "position": "inside",
                        "color": "#000000",
                        "fontFamily": "'Arial'",
                        "fontSize": 14.67,
                        "fontStyle": "Normal",
                        "fontWeight": 400,
                        "borderWidth": 1,
                        "borderType": "solid",
                        "padding": 3
                },
                "labelLine": {
                        "show": false
                },
                "hoverAnimation": false,
                "center": [186.668701171875, 144],
                "radius": [72, 97.2]
        }],
        "color": ["#0087CD", "#8BB73D", "#EBC54B", "#EA772A", "#D03736"]
   };
   
   ### What is expected?
   Label does not show on the left-top corner.
   
   ### What is actually happening?
   On the left-top corner, there is some strange text.
   
![image](https://user-images.githubusercontent.com/36399340/54173423-dcc5c600-44bc-11e9-95ee-5328d00ea191.png)
   
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to