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

Hover over lines/series #1041

Open
mark-raymond opened this issue May 10, 2013 · 2 comments
Open

Hover over lines/series #1041

mark-raymond opened this issue May 10, 2013 · 2 comments

Comments

@mark-raymond
Copy link

Currently, a hover event is raised any time the mouse moves over the graph. You are given the position of the mouse, and the data point the mouse is over if the mouse is over a data point. It would be useful if the event also gave you the series that the mouse is over, even when the mouse is not currently hovering over an individual point.

@loriopatrick
Copy link

It does sound useful, however the implementation would probably be a little too computationally heavy to be ran every on every mouse move event. I don't think the feature should be added to the event handler as the performance hit would not be worth it for many. With that said, it would make a great plugin. I'll try and mock up a method that adds this feature later this week.

@dnschnur
Copy link
Member

We're reworking a lot of the interaction stuff for 0.9; the idea is to allow individual plugins (internal line/area/point as well as external pie/etc.) to define their own iteraction behaviors.

Performance isn't a big concern, since there's already a mechanism (the per-series hoverable property) to disable interaction on a per-series basis.

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

No branches or pull requests

3 participants