Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rather sharing the x-scale across bullet multiples, compute a separate scale per multiple. This gives the user more control over the scale: by setting the range values across multiples (in data), the user can precisely control the resulting scales. For transitions, we cache the old scale value in a hidden __chart__ attribute. This is a bit of a hack (it might be cleaner to persist it in the data of a child element), but it might provide a sticky way for charts to communicate with each other in the future, say for performing transitions across chart types.
- Loading branch information
Showing
3 changed files
with
275 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.