sxmpasch commented on issue #9375: 图标为负数出题
URL: 
https://github.com/apache/incubator-echarts/issues/9375#issuecomment-437358667
 
 
   1. In a pie chart, values may not be negative. 
   在饼图中,值可能不是负数。
   ```
           data:[
               {
                   name:"五号",
                   value:80
               },
               {
                   name:"一号",
                   value:45
              }
           ]
   
   ```
   
   2. If you want the legend to show something, make sure the name of the data 
values match the names on the legend, e.g.
   ```
    legend: {
           orient: 'vertical',
           x: 'left',
           data:['五号','一号']
       },
   
   ```
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to