Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event support #19

Open
felixhao28 opened this issue Mar 26, 2015 · 7 comments
Open

Event support #19

felixhao28 opened this issue Mar 26, 2015 · 7 comments

Comments

@felixhao28
Copy link

Especially for mouse events like onClick and onContextMenu. Currently I have to wrap it in a div to catch those events.

@codesuki
Copy link
Owner

Can you elaborate? What use cases etc

@felixhao28
Copy link
Author

In my case, user needs to choose a data point from the chart and then perform actions on it. Currently when user left click on the chart, the focus lines will freeze and a dialog will appear showing additional information on that data point. When user click the chart again, the focus lines will unfreeze and the dialog will be closed. I have to keep track of the data through tooltipHtml since it is the only access to the selected data point.

Ideally, those events will trigger callbacks with the currently selected data along with the react event object.

@codesuki
Copy link
Owner

I see, nice use case. I definitely want to integrate that.

@martpie
Copy link

martpie commented Oct 3, 2015

Hi ! Any news on this ?

@codesuki
Copy link
Owner

codesuki commented Oct 4, 2015

Hi! Planning to check next week on how to implement that.

@jhawthor
Copy link

Hi, looking really good. Any new updates on this

@codesuki
Copy link
Owner

Sorry not yet. If it is urgent and you want to add it yourself feel free to send a pull request I will have a look at it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants