hustcc / hustcc/echarts-for-react

onEvents brush function is unable to pass props to other components

Open
#526 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5k
Forks
650
PR merge metrics
No merged PRs in 30d

Description

onEvents brush function is unable to pass props to other components.

I have an onEvent listener which takes the coordinate range of the chart and pass it into another component.
However, the chart re-renders whenever a selection is done to pass the data into the other component.
It works with console.log.
![Problem](https://user-images.githubusercontent.com/39236457/212639808-8ba3d70b-c3d4-4afd-b160-9403d931d995.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.