-
Notifications
You must be signed in to change notification settings - Fork 185
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
Tooltips fix #98
Conversation
Remove eventlistener from base-axis-chart reimplement in bar-chart Enchancement carbon-design-system#97: Remove addDataPointEventListener() from base-axis-chart.ts
Deploy preview for kind-hypatia-c6b5c4 ready! Built with commit 3829954 |
packages/core/src/base-axis-chart.ts
Outdated
|
||
self.hideTooltip(); | ||
}); | ||
return; |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
Closes #97
Updates
Demo screenshot or recording
Review checklist (for reviewers only)