You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/02/24 09:33:23 UTC

[GitHub] [echarts] zhixiaotong edited a comment on issue #16575: [Feature] 是否可以增加一个忽略colorBy的属性配置到series中

zhixiaotong edited a comment on issue #16575:
URL: https://github.com/apache/echarts/issues/16575#issuecomment-1049643216


   ``` javascript
   options: {
      legend: {data: ['2015', '2016']},
       color: ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#3ba272'],
       geo: {
           ......
       },
       series: [
          {type: 'map',...}, // 不想这个series占用color分配的下标
          {type: 'scatter', name: '2015',...},
          {type: 'effectScatter', name: '2015',...}, // name相同的分配一致的color
          {type: 'scatter', name: '2016',...},
          {type: 'effectScatter', name: '2016',...},
          ...
       ]
   }


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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