Skip to content

Explicit transform options #494

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

Merged
merged 8 commits into from
Aug 11, 2021
Merged

Explicit transform options #494

merged 8 commits into from
Aug 11, 2021

Conversation

mbostock
Copy link
Member

This PR allows transform options to be kept separate from passthrough options, as well as shorthand options for the normalize and window transforms. Explicit transform options can disambiguate the intended recipient of the options, which could be a specific transform in a sequence of transforms or the output mark. This is especially important for the stack option’s reverse option, which overlaps with the basic reverse transform.

Supersedes #480.
Supersedes #439.
Related #472.
Fixes #479.

@mbostock mbostock force-pushed the mbostock/normalize-shorthand branch from 762f784 to addf7fe Compare August 10, 2021 22:38
@mbostock mbostock merged commit f9c6811 into main Aug 11, 2021
@mbostock mbostock deleted the mbostock/normalize-shorthand branch August 11, 2021 15:19
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.

Plot.normalizeX and Plot.mapX have different structure
2 participants