Skip to content

[fix/treemap]: label.formatter 传参和 label.field 相对应 #2188

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

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

liuzhenying
Copy link
Member

PR includes

  • fixed #0
  • add / modify test cases
  • documents, demos

Screenshot

Before After
屏幕快照 2021-01-07 22 00 37 屏幕快照 2021-01-07 22 01 17

描述: 将 label.fields 的设置,作为 label.formatter 函数的参数传入,方便用户使用自定义数据设置 label ,tooltip 同 (上图配置为`label: { fields: ['name', 'ext'], formatter: (v) => v.name + v.ext }

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2021

😭 Deploy PR Preview 7c86042 failed. Build logs

🤖 By surge-preview

@coveralls
Copy link

Pull Request Test Coverage Report for Build 469071789

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.84%

Totals Coverage Status
Change from base Build 468672596: 0.0%
Covered Lines: 4521
Relevant Lines: 4559

💛 - Coveralls

@hustcc hustcc requested a review from visiky January 8, 2021 01:19
@hustcc hustcc merged commit 159f80c into master Jan 8, 2021
@hustcc hustcc deleted the fix/treemap-di branch January 8, 2021 09:03
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.

4 participants