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/11/28 02:35:55 UTC

[GitHub] [incubator-echarts] anachronin edited a comment on issue #9402: Cannot read property 'getRawIndex' of undefined

anachronin edited a comment on issue #9402: Cannot read property 'getRawIndex' of undefined
URL: https://github.com/apache/incubator-echarts/issues/9402#issuecomment-559308228
 
 
   I use `ReactEcharts` and had similar problem with 'scatter' and 'bar' series. Likely because events are being dispatched while the chart is re-rendering. After setting `silent: false` to the series, the error was eliminated. But this disabled `tooltip` too. 
   
   This works for me: use a React `shouldComponentUpdate` method to prevent Echarts from re-rendering.

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