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

Add ticks, tickInterval? #8

Closed
mbostock opened this issue Dec 18, 2015 · 2 comments · Fixed by #47
Closed

Add ticks, tickInterval? #8

mbostock opened this issue Dec 18, 2015 · 2 comments · Fixed by #47

Comments

@mbostock
Copy link
Member

Now that d3-array has ticks and tickStep extracted from d3-scale, it seems like it’d be nice to provide an equivalent API for time-based ticks. We’d probably have a function named tickInterval instead of tickStep for time intervals, since it will return a time interval.

Related d3/d3-scale#36.

@curran
Copy link

curran commented Dec 18, 2015

👍 tickInterval sounds great. This would round out the APIs nicely.

@curran
Copy link

curran commented Feb 20, 2017

The implementation of this logic is present in d3-scale as tickInterval in time.js https://github.com/d3/d3-scale/blob/master/src/time.js#L70

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

Successfully merging a pull request may close this issue.

2 participants