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

fix: interactive legends should be toggleable by default #7115

Merged
merged 3 commits into from
Dec 15, 2020

Conversation

arvind
Copy link
Member

@arvind arvind commented Dec 14, 2020

This PR offers a cleaner approach for toggling interactive legend items. By default, direct manipulation is disabled for bound point selections. Under our previous approach, however, this combination would yield errant references to undefined signals. Under this proposed approach, toggling is also considered a direct manipulation operation that is disabled by default but then explicitly re-enabled (if needed) by the bind-legend selection operator.

@arvind arvind requested a review from a team December 14, 2020 20:36
src/compile/selection/legends.ts Outdated Show resolved Hide resolved
@arvind arvind merged commit e73e71a into as/selection-params Dec 15, 2020
@arvind arvind deleted the as/toggle-legends branch December 15, 2020 14:37
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

Successfully merging this pull request may close these issues.

2 participants