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

Tooltips fix #98

Merged
merged 3 commits into from
Nov 22, 2018
Merged

Conversation

darsi-an
Copy link
Contributor

@darsi-an darsi-an commented Nov 18, 2018

Closes #97

  • Removed eventlistener from base-axis-chart.ts and re-implemented in bar-chart.ts.

Updates

  • list
  • out
  • updates
  • here (and don't forget to link the issues)

Demo screenshot or recording

Review checklist (for reviewers only)

  • Demos all features
  • Documented/annotated
  • Matches UI/UX specs
  • Meets the code style guide
  • Accessible
  • Mobile first (responsive)
  • RTL support (bidirectional text)
  • Performant (limited bloat)

Remove eventlistener from base-axis-chart reimplement in bar-chart

Enchancement carbon-design-system#97: Remove addDataPointEventListener() from base-axis-chart.ts
@netlify
Copy link

netlify bot commented Nov 18, 2018

Deploy preview for kind-hypatia-c6b5c4 ready!

Built with commit 3829954

https://deploy-preview-98--kind-hypatia-c6b5c4.netlify.com


self.hideTooltip();
});
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should throw an error saying:

console.warn("You should implement your own `addDataPointEventListener()` function.");

No return needed btw.

@@ -1,8 +1,5 @@
// D3 Imports
import {
mouse,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great attention to detail 💯

carbon-design-system#97 Remove addDataPointEventListener() from base-axis-chart.ts
@theiliad
Copy link
Member

@zvonimirfras @cal-smith

@zvonimirfras zvonimirfras merged commit 1d9627c into carbon-design-system:master Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants