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 2019/08/28 17:53:40 UTC

[GitHub] [incubator-echarts] VanquisherMe opened a new issue #11131: 设置柱线图的时候 series名字相同选用的主题色相同

VanquisherMe opened a new issue #11131: 设置柱线图的时候 series名字相同选用的主题色相同
URL: https://github.com/apache/incubator-echarts/issues/11131
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   option = {
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           name:"2",
           data: [820, 932, 901, 934, 1290, 1330, 1320],
           type: 'line'
       },
       {
           name:"2",
           data: [820, 932, 901, 934, 1290, 1330, 1320],
           type: 'bar'
       }]
   };
   
   ### What is expected?
   name相同但是type不一样使用不同的主题色来渲染
   
   ### What is actually happening?
   因为名字相同轴上的颜色也相同
   
   ![image](https://user-images.githubusercontent.com/4927398/63880018-78ada480-c9ff-11e9-85bc-86e45a9c9d6d.png)
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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