Ovilia commented on issue #9940: feat(legend): add legend.color
URL: 
https://github.com/apache/incubator-echarts/pull/9940#issuecomment-514457616
 
 
   How to use it as a function? I tried with this but it doesn't seem to work.
   ```
   legend: {
           data: ['2011年', '2012年'],
           color: function (param) {
               console.log(param);
               return 'blue';
           }
   },
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to