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

refactor(drilldown): 矩阵树图下钻交互改造 #2608

Merged
merged 14 commits into from
Jun 8, 2021
Merged

Conversation

visiky
Copy link
Member

@visiky visiky commented Jun 4, 2021

feat(treemap): Treemap plot support config drilldown

  • 抽取通用下钻配置定义,具体 API 如下:
{
     drilldown: {
        enabled: boolean;
       breadCrumb?: object;
    }
}
  • 矩阵树图支持 drilldown 直接开启交互和面包屑的配置
  • 旭日图接入下钻

PR includes

Screenshot

Before After

@visiky visiky requested review from hustcc and liuzhenying June 4, 2021 14:10
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2021

🎊 PR Preview 6798fb8 has been successfully built and deployed to https://antvis-G2Plot-preview-pr-2608.surge.sh?type=diff&date=2021-06-08

🕐 Build time: 86.791s

🤖 By surge-preview

@coveralls
Copy link

coveralls commented Jun 4, 2021

Pull Request Test Coverage Report for Build 917194267

  • 48 of 48 (100.0%) changed or added relevant lines in 11 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.08%) to 96.056%

Files with Coverage Reduction New Missed Lines %
src/plots/sunburst/adaptor.ts 1 93.2%
src/plots/treemap/adaptor.ts 1 98.15%
Totals Coverage Status
Change from base Build 909532382: -0.08%
Covered Lines: 5981
Relevant Lines: 6075

💛 - Coveralls

支持配置面包屑位置 & 整理交互相关的项目目录结构
@visiky visiky force-pushed the drill-down branch 4 times, most recently from 2a538d1 to aadc5ec Compare June 7, 2021 08:55
@visiky visiky force-pushed the drill-down branch 4 times, most recently from 8e64e9f to ead7b67 Compare June 7, 2021 21:05
@visiky visiky merged commit 8c5c3e2 into master Jun 8, 2021
@visiky visiky deleted the drill-down branch June 8, 2021 05:45
@pr-triage pr-triage bot added the PR: merged label Jun 8, 2021
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.

3 participants