-
Notifications
You must be signed in to change notification settings - Fork 194
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: 小计/总计功能,支持按维度分组汇总 #2337 #2338
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…otalsDimGroup # Conflicts: # packages/s2-core/package.json
…otalsDimGroup # Conflicts: # packages/s2-core/scripts/test-live.mjs
…otalsDimGroup # Conflicts: # packages/s2-core/scripts/test-live.mjs
# Conflicts: # packages/s2-core/__tests__/unit/data-process/new-total-spec.tsx # packages/s2-core/src/data-set/pivot-data-set.ts # s2-site/examples/analysis/totals/demo/dimension-group.ts
# Conflicts: # packages/s2-core/__tests__/unit/data-process/new-total-spec.tsx # packages/s2-core/src/data-set/pivot-data-set.ts # s2-site/examples/analysis/totals/demo/dimension-group.ts
github-actions
bot
requested review from
GaoFuhong,
lcx-seima,
lijinke666,
serializedowen,
stone-lyl and
wjgogogo
September 7, 2023 06:43
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🎉 This PR is included in version @antv/s2-v1.50.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version @antv/s2-v1.51.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
wjgogogo
pushed a commit
that referenced
this pull request
Oct 25, 2023
* feat(Api): 添加 totalDimensionGroup/subTotalDimensionGroup api,以及一些临时的开发函数 * feat(Hierarchy): 总计小计结点下添加Hierarchy * feat(Render): getMultipleMap 实现,计算总计小计下的布局信息 * feat(Render): 按维度分组的小计总计下表头位置的调整和渲染 * feat(DataSet): 存在维度分组时的汇总值获取 * feat(DataSet): 存在维度分组时的汇总值获取 * feat(DataSet): 存在维度分组时的汇总值获取 * feat: 补充注释 * feat: 单测快照更新,添加isTotalRoot属性 * fix: 有多个 Value 时不允许隐藏度量列 * fix: 有多个 Value 时不允许隐藏度量列 * fix: 删除了一个莫名其妙的函数 * test: 按维度分组汇总能力单测 * docs: 按维度分组汇总能力文档 * test: 更新,多度量指标不允许隐藏指标头 * docs: 图片示例 * test: 更新 snap 数据文件 * chore: 版本号更新 * chore: 版本号更新 * chore: 版本号更新 * chore: 版本号更新 * chore: 版本号更新 * chore: 版本号更新 * chore: 版本号更新 * Merge remote-tracking branch 'origin/Juze_TotalsDimGroup' into Juze_TotalsDimGroup * test: 更新快照 * chore: 删除开发测试文件 * fix: 汇总指标节点也是汇总节点 * chore: 删除无用文件 * fix: isTotalRoot 替换 isTotals * fix: isTotalRoot 替换 isTotals * fix: isTotalRoot 替换 isTotals --------- Co-authored-by: JuZe <[email protected]>
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
👀 PR includes
✨ Feature
📝 Description
总计/小计 按配置的维度进行分组汇总,以便进行更精确的汇总数据对比。
所增加的两个 API:
🖼️ Screenshot
下图中总计按城市+类别进行分组汇总,小计按子类别进行分组汇总。
🔗 Related issue link
🔍 Self-Check before the merge