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

Add constraint info to parcats click/hover events #4211

Merged
merged 2 commits into from
Sep 23, 2019

Conversation

jonmmease
Copy link
Contributor

This PR adds a new constraints key to the event data emitted by parcats click/hover events. The keys are dimension indices or color, and the values are category values.

When clicking on a path, there will be a key for each dimension. When clicking on a category rectangle, there will be a key for the dimension the category belongs to. The color key is only added if:

  1. A color array was provided
  2. The click was on a path or on a category with hoveron: 'color'

keys are dimensions indices and/or 'color', and values are category values
@etpinard etpinard added this to the v1.50.0 milestone Sep 23, 2019
@etpinard
Copy link
Contributor

Nicely done @jonmmease ! 💃

@jonmmease
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants