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

amount should be included in render #50

Open
tracend opened this issue Jul 17, 2013 · 0 comments
Open

amount should be included in render #50

tracend opened this issue Jul 17, 2013 · 0 comments

Comments

@tracend
Copy link
Member

tracend commented Jul 17, 2013

Currently you'll have to calculate the axis before you can render

This is done by using amount

vis.gt( 5 ).amount().render();

Amount should be implied when you try to render so you don't have that constant extra step.

A flag like _amountSetup that's set when amount is executed and reset when a new query method is created will make sure that render isn't using outdated axis.

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

No branches or pull requests

1 participant