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

Adding support for band.invert() #151

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

bognikol
Copy link

Band scale maps an array of discrete values to an array of bands which occupy whole range (padding can be treated as a band). As each point in range can be mapped to unique value from domain, invert function for band scale can be implemented.

I need this change for react-vis. Zoom for plots with ordinal values on X axe doesn't work.

@mbostock
Copy link
Member

mbostock commented Aug 2, 2019

Related #64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants