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/scales #161

Merged
merged 12 commits into from
Jul 6, 2021
Merged

feat/scales #161

merged 12 commits into from
Jul 6, 2021

Conversation

pearmini
Copy link
Member

@pearmini pearmini commented Jun 23, 2021

  • 重构了 types,为了可读性,对于 scale 的 options 没有使用泛型了
  • identity 支持 map 任意类型的数据(除了 undefined,nulll, NaN)
  • ordinal 的 domain 和 range 都支持 object
  • linear 默认使用 interpolateNumber 插值器,但是也暴露了 interpolateColor 和 interpolateValue(interpolateNumber + interpolateColor)这两个插值器给用户选择,具体使用方式见文档

@pearmini pearmini requested a review from hustcc June 23, 2021 02:31
@pearmini pearmini changed the title Feat/types Feat/scales Jun 23, 2021
@hustcc
Copy link
Member

hustcc commented Jun 24, 2021

后面分多个 pr。

@pearmini pearmini changed the title Feat/scales feat/scales Jun 30, 2021
@hustcc hustcc merged commit dbc6276 into master Jul 6, 2021
@hustcc hustcc deleted the feat/types branch July 6, 2021 11:24
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