Skip to content

Commit 9948c96

Browse files
authored
docs: 日常文档走查 (#2532)
1 parent c2bad7a commit 9948c96

File tree

8 files changed

+29
-27
lines changed

8 files changed

+29
-27
lines changed

docs/api/plots/liquid.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ The wave configure for liquid plot, includes:
9898

9999
<description>**optional** _object_</description>
100100

101-
Text component.
101+
Metric central text component.
102102

103103
`markdown:docs/common/statistic.en.md`

docs/api/plots/pie.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Set the sector style. The 'fill' in the pieStyle will override the 'color' confi
115115

116116
<description>**optional** _object_</description>
117117

118-
Statistical content components. When the innerRadius (' innerRadius') is greater than 0, the default is to display the summary value. You can use 'formatter' to format the content, or you can use 'customHtml' to customize more content.
118+
Statistical content components. When the innerRadius is greater than 0, the default is to display the summary value. You can use 'formatter' to format the content, or you can use 'customHtml' to customize more content.
119119

120120
![image](https://gw.alipayobjects.com/zos/bmw-prod/860bbf6e-cf20-4bdf-88bd-e8d685d12e9a.svg)
121121

docs/api/plots/progress.en.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: 进度条图
2+
title: Progress plot
33
order: 20
44
---
55

66
### Plot Container
77

8-
`markdown:docs/common/chart-options.zh.md`
8+
`markdown:docs/common/chart-options.en.md`
99

1010
### Data Mapping
1111

@@ -29,10 +29,10 @@ order: 20
2929

3030
柱子样式配置。
3131

32-
`markdown:docs/common/shape-style.zh.md`
32+
`markdown:docs/common/shape-style.en.md`
3333

34-
`markdown:docs/common/color.zh.md`
34+
`markdown:docs/common/color.en.md`
3535

3636
### Plot Component
3737

38-
`markdown:docs/common/component-progress.zh.md`
38+
`markdown:docs/common/component-progress.en.md`

docs/api/plots/ring-progress.en.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: 进度环图
2+
title: Ring progress plot
33
order: 19
44
---
55

66
### Plot Container
77

8-
`markdown:docs/common/chart-options.zh.md`
8+
`markdown:docs/common/chart-options.en.md`
99

1010
### Data Mapping
1111

@@ -35,18 +35,18 @@ order: 19
3535

3636
柱子样式配置。
3737

38-
`markdown:docs/common/shape-style.zh.md`
38+
`markdown:docs/common/shape-style.en.md`
3939

40-
`markdown:docs/common/color.zh.md`
40+
`markdown:docs/common/color.en.md`
4141

4242
### Plot Component
4343

44-
`markdown:docs/common/component-progress.zh.md`
44+
`markdown:docs/common/component-progress.en.md`
4545

4646
#### statistic
4747

4848
<description>**optional** _object_</description>
4949

50-
统计内容组件,主要包含 title、content 来部分内容。
50+
Metric central text component, contains 'title' and 'content'.
5151

52-
`markdown:docs/common/statistic.zh.md`
52+
`markdown:docs/common/statistic.en.md`

docs/common/theme.en.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Recommend to use 💄 [ThemeSet](https://theme-set.antv.vision) to customize your theme configurations online.
2+
13
#### Built-in Theme
24

35
Built-in defaults: 'default' and 'dark'
@@ -101,5 +103,3 @@ In addition, G2 provides a custom topic mechanism to define a new topic structur
101103
<playground path="general/theme/demo/register-theme.ts" rid="rect-register-theme"></playground>
102104

103105
🌰 Customize theme [DEMO](/zh/examples/general/theme#register-theme)
104-
💄 Online theme constructor [AntV ThemeSet](https://theme-set.antv.vision)
105-

docs/common/theme.zh.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
2+
推荐使用 💄 [ThemeSet](https://theme-set.antv.vision) 在线自定义自己的主题配置。
3+
14
#### 内置主题
25

3-
目前默认的内置主要要两套`default``dark`
6+
目前默认的内置主要有两套`default``dark`
47

58
```ts
69
{
@@ -88,5 +91,4 @@ plot.update({ theme: { defaultColor: '#FF6B3B' } })
8891
<playground path="general/theme/demo/register-theme.ts" rid="rect-register-theme"></playground>
8992

9093
🌰 自定义主题 [DEMO](/zh/examples/general/theme#register-theme) 示例
91-
💄 在线主题构建工具 [AntV ThemeSet](https://theme-set.antv.vision)
9294

docs/manual/plots/bullet.en.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ order: 9
5656
</table>
5757
</div>
5858

59-
## 设计指引
59+
## Design Guide
6060

6161
### 元素构成
6262

6363
子弹图的发明是为了取代仪表盘上常见的那种里程表,时速表等基于圆形的信息表达方式。更多可以查看:[Bullet Graph Design Specification](https://www.perceptualedge.com/articles/misc/Bullet_Graph_Design_Spec.pdf)
6464

6565
<img alt="design" src="https://zos.alipayobjects.com/rmsportal/DkOloAVoymGGRJgmezOc.png" width='600'>
6666

67-
## 快速上手
67+
## Quick start
6868

6969
<div class='sign'>
7070

@@ -97,12 +97,12 @@ bulletPlot.render();
9797

9898
</div>
9999

100-
📊 查看更多<a href="/en/examples/progress-plots/bullet" target='blank'>示例</a>.
100+
📊 See more <a href="/en/examples/progress-plots/bullet" target='blank'>examples</a>.
101101

102-
🎨 子弹图详细的配置参考 [API 文档](/en/docs/api/plots/bullet)
102+
🎨 For an overview of the bullet plot options see the [API reference](/en/docs/api/plots/bullet)
103103

104104
</div>
105105

106-
## 子弹图特性
106+
## Bullet plot features
107107

108-
- 正在努力补充中...
108+
- Working hard to add...

docs/manual/plots/gauge.en.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ contributors:
4646

4747
为了视觉上的不拥挤且符合常识,我们建议指针的数量不超过 3 根。
4848

49-
## 快速上手
49+
## Quick start
5050

5151
<div class='sign'>
5252

@@ -70,9 +70,9 @@ gauge.render();
7070

7171
</div>
7272

73-
📊 查看更多<a href="/zh/examples/progress-plots/gauge" target='blank'>示例</a>.
73+
📊 See more <a href="/zh/examples/progress-plots/gauge" target='blank'>examples</a>.
7474

75-
🎨 仪表盘详细的配置参考 [API 文档](/zh/docs/api/plots/gauge).
75+
🎨 For an overview of the gauge plot options see the [API reference](/zh/docs/api/plots/gauge).
7676

7777
</div>
7878

0 commit comments

Comments
 (0)