Skip to content

docs: 新增「堆叠面积图」文档 #6975

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

Closed
wants to merge 2 commits into from

Conversation

fzr365
Copy link
Contributor

@fzr365 fzr365 commented May 30, 2025

Checklist
  • npm test passes
  • benchmarks are included
  • commit message follows commit guidelines
  • documents are updated
Description of change

@fzr365 fzr365 closed this May 30, 2025
@fzr365 fzr365 reopened this May 30, 2025
@fzr365
Copy link
Contributor Author

fzr365 commented May 30, 2025

title: 堆叠面积图
order: 4
screenshot: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*stacked-area-demo.png/original'
category: ['trend', 'composition']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对比下demos下的constant文件里的分类,应该包括
image


<img alt="stacked-area" src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*stacked-area-demo.png/original" width=600/>

## 堆叠面积图的简介
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


---

## 堆叠面积图的应用场景
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

适合和不适合的场景最好像原文档一样举例表示,我看示例里的数据地址都引不到,可以参考g2的图表示例
https://g2.antv.antgroup.com/examples/general/area/#stacked-area


将每个时间点的总和归一化为 100%,突出各部分的占比变化。

```js | ob { autoMount: true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@interstellarmt interstellarmt added the OSCP AntV Open Source Contribution Plan label Jun 4, 2025
@interstellarmt interstellarmt moved this to In Review in 2025 AntV OSCP Phase4 Jun 4, 2025
@interstellarmt
Copy link
Contributor

感谢您的贡献 🎉
关于文档的修改建议已经在相应的地方评论~修改完后记得同步到英文文档

@interstellarmt
Copy link
Contributor

有空记得更新一下文档~如果太久没更新任务会被释放掉的~

@interstellarmt
Copy link
Contributor

太久没更新,先释放了~后续会在基础上继续修改❤️

@github-project-automation github-project-automation bot moved this from In Review to Done in 2025 AntV OSCP Phase4 Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OSCP AntV Open Source Contribution Plan
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants