-
Notifications
You must be signed in to change notification settings - Fork 55
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
Decorate XYPlot onMouseEnter and onMouseLeave events #176
Comments
Hey @krissalvador27! I can take this up. Just to clarify: decorating the Let me know if that's what you had in mind, and I can have a PR for this ready. Thanks! |
Hey @tanayv! Sorry for the delay, I've been out of office. What you said is right! Let me know if you need any other support :) |
Hey @tanayv, do you plan on taking up this issue? |
Yes, sorry for the delay. I just had one thing I was slightly confused about:
I couldn't deduce if there was a reason/use case for why the two events were declared in a different way compared to the other events, and I was going through the code base to understand but I haven't been able to do so. If I bind them using the onXYMouseEvent, should I go ahead and remove their original declarations? |
I believe it's to namespace the event object so that it returns So yes, I would remove the original declarations :) |
We decorate
onMouseMove
,onMouseDown
,onMouseUp
,onClick
with helpful information like xScale, yScale, xValue and yValue. We should decorateonMouseEnter
andonMouseLeave
for consistency.The text was updated successfully, but these errors were encountered: