-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(statistic): 中心统计文本支持 content 设置 (#2567)
* feat(statistic): 中心统计文本支持 content 设置 * docs(statistic): 补全文档 * fix(pie): 饼图中心文本交互状态时,不使用 content * docs(statistic): 完善文档 * feat(statistic): 修复水波图 & 进度环图设置统计文本 content 不生效 & 添加单测
- Loading branch information
Showing
19 changed files
with
245 additions
and
76 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: Statistic Text | ||
order: 7 | ||
contributors: | ||
[ | ||
{ | ||
author: '新茗', | ||
github: 'visiky', | ||
avatar: 'https://gw.alipayobjects.com/zos/antfincdn/KAeYPA3TV0/avatar.jpeg', | ||
}, | ||
] | ||
--- | ||
|
||
`markdown:docs/styles/component.md` | ||
|
||
#### Statistic | ||
|
||
<img src="https://gw.alipayobjects.com/zos/antfincdn/YrJCRYNcAM/0dfb515f-5efd-4341-a5ec-bd1f988b5975.png" class="component-img" alt="slider" /> | ||
|
||
#### Properties - _Statistic_ | ||
|
||
`markdown:docs/common/statistic.en.md` | ||
|
||
Example: | ||
|
||
<playground path="pie/donut/demo/basic.ts" rid="statistic"></playground> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: 统计文本 - Statistic | ||
order: 7 | ||
contributors: | ||
[ | ||
{ | ||
author: '新茗', | ||
github: 'visiky', | ||
avatar: 'https://gw.alipayobjects.com/zos/antfincdn/KAeYPA3TV0/avatar.jpeg', | ||
}, | ||
] | ||
--- | ||
|
||
`markdown:docs/styles/component.md` | ||
|
||
#### 构成元素 | ||
|
||
<img src="https://gw.alipayobjects.com/zos/antfincdn/YrJCRYNcAM/0dfb515f-5efd-4341-a5ec-bd1f988b5975.png" class="component-img" alt="slider" /> | ||
|
||
#### 配置属性 - _Statistic_ | ||
|
||
`markdown:docs/common/statistic.zh.md` | ||
|
||
示例: | ||
|
||
<playground path="pie/donut/demo/basic.ts" rid="statistic"></playground> |
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
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
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
Oops, something went wrong.