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/09/08 13:24:02 UTC

[GitHub] kwdiwt opened a new issue #9034: 颜色列表问题

kwdiwt opened a new issue #9034: 颜色列表问题
URL: https://github.com/apache/incubator-echarts/issues/9034
 
 
   ### One-line summary [问题简述]
   颜色列表问题 第三个图颜色有问题
   ### Version & Environment [版本及环境]
   + ECharts version [4.1.0  4.x应该都有这个问题]:
   + Browser version [最新版chrome,最新版firefox]:
   + OS Version [deepin]:
   ### Expected behaviour [期望结果]
   三个图颜色一致
   ### ECharts option [ECharts配置项]
   ```javascript
   option = {
     color: ['#00B4F7', '#ddd'],
     series: [
       {
         type: 'pie',
         radius: ['36%', '41%'],
         center: ['16%', '40%'],
         avoidLabelOverlap: false,
         hoverOffset: 0,
         label: {
           normal: {
             position: 'center'
           }
         },
         data: [
           {
             value: 70,
             name: '1'
           },
           {
             value: 30,
             name: ' '
           }
         ]
       },
       {
         type: 'pie',
         radius: ['36%', '41%'],
         center: ['50%', '40%'],
         avoidLabelOverlap: false,
         hoverOffset: 0,
         label: {
           normal: {
             position: 'center'
           }
         },
         data: [
           {
             value: 70,
             name: '2'
           },
           {
             value: 30,
             name: ' '
           }
         ]
       },
       {
         type: 'pie',
         radius: ['36%', '41%'],
         center: ['84%', '40%'],
         avoidLabelOverlap: false,
         hoverOffset: 0,
         label: {
           normal: {
             position: 'center'
           }
         },
         data: [
           {
             value: 70,
             name: '3'
           },
           {
             value: 30,
             name: ' '
           }
         ]
       }
     ]
   }
   ```
   ### Other comments [其他信息]
   http://jsfiddle.net/cj31rtpf/1316/

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