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 2020/05/15 08:23:39 UTC

[GitHub] [incubator-echarts] geminate commented on issue #12594: .setOption not trigger dataView refresh

geminate commented on issue #12594:
URL: https://github.com/apache/incubator-echarts/issues/12594#issuecomment-629102534


   `  instance.refreshDataView = () => {
       const dataView = instance._componentsViews[2]._features.dataView
       if (dataView._dom) {
         dataView.onclick.bind(dataView)(dataView.ecModel, dataView.api)
       }
     }`
   目前通过这种 Hack 方式解决了,_componentsViews数组index视情况而定。
   
   不过还是建议官方提供一个 手动触发toolbox里工具点击的方法


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



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