indubansal786 opened a new issue, #20005:
URL: https://github.com/apache/echarts/issues/20005

   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   https://online.publuu.com/536191/1201517
   
   ### Steps to Reproduce
   
   Using @wuba/react-native-echarts, I need to show a tooltip when the user 
clicks on the chart table which I have created manually. So I used some actions 
 like showtip, hidetip, finished, select.
   
   ### Current Behavior
   
   The app crash, when a user continuously clicks on the pie chart segment.I am 
using dispatch action showtip. **Can't read property of getSeriesByIndex of 
null.**
                              const dataModel = ecData.dataModel || 
ecModel.getSeriesByIndex(ecData.seriesIndex);
   
   
   ### Expected Behavior
   
   When a user clicks on the pie chart segment continuously, the app should not 
crash. In echarts.js class should handle **ecmodel** if it is null it should 
not call getSeriesByIndex()
                              const dataModel = ecData.dataModel || 
ecModel.getSeriesByIndex(ecData.seriesIndex);
   
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to