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

plugin breaks sankey point.event click handling #121

Open
jwentz-boc opened this issue May 9, 2018 · 1 comment
Open

plugin breaks sankey point.event click handling #121

jwentz-boc opened this issue May 9, 2018 · 1 comment

Comments

@jwentz-boc
Copy link

This plugin has been very helpful and is much appreciated. However including it breaks the plotOptions.sankey.point.events.click functionality. Without the plugin, the click function this.from and this.to are correct; when the plugin is included, they are wrong -- seems like from/to are always the first path in the chart regardless of clicked path.

You can see this behavior in this jsfiddle: https://jsfiddle.net/t0anz45m/ which uses a simple alert to show the from/to values.

With <script src="https://blacklabel.github.io/custom_events/js/customEvents.js"></script> included, clicking a path always shows Brazil/France. Remove that <script> tag and the proper path is shown.

Thanks for your help.

@sebastianbochan
Copy link
Collaborator

Hi @jwentz-boc,
Thank you for the reporting, I will try to debug it as soon as possible.

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

No branches or pull requests

2 participants