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

feat(constant): add getTicks #139

Merged
merged 1 commit into from
May 10, 2021
Merged

feat(constant): add getTicks #139

merged 1 commit into from
May 10, 2021

Conversation

pearmini
Copy link
Member

@pearmini pearmini commented May 8, 2021

constant 也可以算是一种 continuous scale,y = b 也满足 y = f(x) + b,只不过这个比例尺比较特殊的是它的 domain 可以是 string 类型。如果 domain 是 number,那么就用 d3Ticks,否者就返回 []

@pearmini pearmini merged commit 428cc16 into master May 10, 2021
@pearmini pearmini deleted the feat/constant branch May 10, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants