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

select() API function toggles point, rather than selecting/unselecting it #2155

Open
nbdavies opened this issue Aug 29, 2017 · 0 comments
Open

Comments

@nbdavies
Copy link
Contributor

  • C3 version: 0.4.15
  • D3 version: 3.5.17
  • Browser: Chrome 60
  • OS: Mac OSX 10.11.6

jsfiddle: https://jsfiddle.net/7d8n838t/31/

The intended result here is that if you hover over a line point, it and the associated bar will get the selected effect. Same should happen if you hover over the bar.

However, the current problem is that if your cursor travels from the point to the associated bar, or vice versa, there is a good chance that the select effect will not be re-triggered for the line point.

I haven't spotted the issue in the source code, but it seems like the circle's selectedness is being toggled rather than set to the appropriate boolean value.

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

1 participant