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 2019/02/18 03:05:20 UTC

[GitHub] Ovilia commented on issue #9927: [line] add visualColorAccessPath

Ovilia commented on issue #9927: [line] add  visualColorAccessPath
URL: https://github.com/apache/incubator-echarts/pull/9927#issuecomment-464564822
 
 
   Thanks for your contribution!
   
   We do think legend needs some enhancement, not only for the line color. But it's OK to make a PR only about the line color.
   But I think there may be some problems with this PR.
   
   ```js
   option = {
       title: {
           text: 'Awesome Chart'
       },
       xAxis: {
           data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
       },
       yAxis: {},
       series: [{
           type: 'line',
           name: 'a',
           data:[220, 182, 191, 234, 290, 330, 310],
           lineStyle: {
               color: 'blue'
           },
           itemStyle: {
               color: 'green'
           }
       }],
       legend: {
           data: ['a']
       }
   };
   ```
   
   For a test case like this, the item color (border of small circles) is blue after change, but it's expected to be green, as the `itemStyle.color` defines.
   
   @100pah Any comments?

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