Nekosandesu commented on issue #9515: magic
URL: 
https://github.com/apache/incubator-echarts/issues/9515#issuecomment-486942023
 
 
   > 
   > 
   > let option = Object.getOwnPropertyNames(chart._componentsMap) ;
   > 
   > /* 获取图表中 magicType 模拟line 点击 */
   > option.map(item => {
   > item.includes('toolbox') &&
   > 
chart._componentsMap[item]._features['magicType'].model.iconPaths.line.trigger('click');
   > });
   > 
   > 可以实现效果
   
   大佬,试了图标倒是亮了,但是图表还是没切换过来呀呜呜呜

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