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

Removed glass rect. Fixed events for scrubber. #329

Merged
merged 3 commits into from Sep 21, 2015

Conversation

chaosmail
Copy link
Contributor

the most crazy PR since i started with n3-charts.

  • Removed the glass rect, improved scrubber (much faster because we bind mousemove to svg node)
  • Enabled all events for all tooltips
  • Crazy refactoring of the event and scrubber tests

Here is an example for click and hover in scrubber mode: http://plnkr.co/edit/LByntodp64Dt3m0roAC9?p=preview

Fixes #324
Fixes #270

Best,
Christoph

@lorem--ipsum
Copy link
Member

Nice work ! One remark, though : the click/hover events won't fire on anything but the columns, because the line/area dots (or the dots themselves for a dot series) will be hidden by the scrubber...

@chaosmail
Copy link
Contributor Author

yeah, you are right. now it should work ;)

@chaosmail
Copy link
Contributor Author

Alright, I enhanced the tests a little bit and rebased to master

@lorem--ipsum
Copy link
Member

Dude, this is great work. 🍗

lorem--ipsum pushed a commit that referenced this pull request Sep 21, 2015
Removed glass rect. Fixed events for scrubber.
@lorem--ipsum lorem--ipsum merged commit eba216d into n3-charts:master Sep 21, 2015
lorem--ipsum pushed a commit that referenced this pull request Nov 3, 2015
Removed glass rect. Fixed events for scrubber.
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

2 participants