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/10/30 13:20:33 UTC

[GitHub] rweller59 opened a new issue #9307: Pie slice colors are picking up default color scheme

rweller59 opened a new issue #9307: Pie slice colors are picking up default color scheme
URL: https://github.com/apache/incubator-echarts/issues/9307
 
 
   Setting color as below: the first 7 pie slices (starting from the top going clockwise) are getting the default color scheme applied, the rest of the slices use the color as defined ('#808080).
   
   I am using the latest version of eCharts and 'echarts-for-react'
   
   ```
   {
             name:'time',
             type:'pie',
             radius : ['95%', '100%'],
             itemStyle : {
               normal : {
                 label : {
                   show : true,
                 },
                 labelLine : {
                   show : false
                 }
               },
             },
             color: ['#808080'],
   
             data:[
               { value:1, label: '12 AM' },
               { value:1, label: '1 AM' },
               { value:1, label: '2 AM' },
               { value:1, label: '3 AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
               { value:1, label: '12AM' },
             ],
             axisLabel: {
               formatter: function(d) {
                   return d.label;
               }
             }
           }
   ```

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