You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/11/09 13:25:47 UTC

[GitHub] sxmpasch commented on issue #9375: 图标为负数出题

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org