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

feat(axes): add onClick handler to axis ticks #60

Merged
merged 5 commits into from
Oct 20, 2017

Conversation

martingordon
Copy link
Contributor

I found this useful in heat maps to allow for additional interactivity (for example, to allow sorting by a row/column label).

@martingordon
Copy link
Contributor Author

@plouc I fixed the failing tests. Any chance we can get this merged in soon? Please let me know if there are any other changes you want me to make.

@plouc
Copy link
Owner

plouc commented Oct 9, 2017

@martingordon, seems OK, thank you. However I think it's useful to also pass event with value, it can be used to determine click position for example, or prevent bubbling in case we a have a click handler higher in the tree.

@martingordon
Copy link
Contributor Author

@plouc Good idea, I just pushed an update.

@plouc plouc merged commit 0c9efe4 into plouc:master Oct 20, 2017
@martingordon martingordon deleted the heat-map-label-onclick branch October 20, 2017 14:33
@debovis
Copy link

debovis commented Nov 9, 2017

@martingordon @plouc Can someone update the documentation to reflect this? Thanks

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

Successfully merging this pull request may close these issues.

None yet

3 participants