Skip to content

Commit 695f036

Browse files
author
xinming.lxj
committed
docs: 文档更新
1 parent b87a9ba commit 695f036

File tree

10 files changed

+11
-13
lines changed

10 files changed

+11
-13
lines changed

docs/api/pattern.en.md docs/api/options/pattern.en.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: Pattern
3-
order: 12
3+
order: 8
44
---
55

66
### Introduction
7+
78
We can set patterns for geometries.
89
- We provide the default, high contrast patterns: dot, line, and square. For charts with poor color differentiation, pattern can be used as an "intuitive, visual classification attribute" to distinguish each item, making it color-blind friendly.
910
- add grouping for color: Pattern can help to expand the classification of colors when there are not enough harmonious colors, or when the color has a small proportion, the distinction is not obvious.

docs/api/pattern.zh.md docs/api/options/pattern.zh.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: 贴图图案
3-
order: 12
3+
order: 8
44
---
55

66
### 介绍
7+
78
pattern 是附着在图形上的贴图样式。
89
- 我们内置了默认的、区分度较高的三种贴图:点、线、方形。在颜色区分度不高的图表中,pattern 能够作为「直观的、视觉上的分类属性」来区分每个项目,对色盲人士友好。
910
- 扩充颜色分组:pattern 还可以作为颜色的「补充项」。遇到和谐的颜色「不够用」、颜色占比小「区分不明显」等情况,pattern 可以帮助颜色扩充分类。

examples/area/percent/demo/meta.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"zh": "带贴图百分比堆叠面积图",
1919
"en": "Percent Stacked Area with pattern"
2020
},
21-
"new": true,
2221
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/jJsc4f2dCu/dcbe08bf-8f48-4a22-90e3-e3dd60369d0d.png"
2322
}
2423
]

examples/dual-axes/grouped-column-line/demo/meta.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@
2323
{
2424
"filename": "pattern-with-callback.ts",
2525
"title": {
26-
"zh": "带纹理图案的分组柱线图表",
26+
"zh": "带贴图的分组柱线图表",
2727
"en": "Grouped column line with pattern"
2828
},
29-
"new": true,
3029
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/SL3QbumEbL/6131d19d-56b8-42bb-9609-8d0640a77d4a.png"
3130
},
3231
{

examples/heatmap/basic/demo/meta.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"zh": "带贴图热力图",
1919
"en": "Basic heatmap plot with pattern"
2020
},
21-
"new": true,
2221
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/JitXZA%26D%26S/30a463c4-05ee-4a6b-a69c-c2a7b44a9584.png"
2322
},
2423
{

examples/more-plots/sunburst/demo/meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
{
5656
"filename": "pattern.ts",
5757
"title": {
58-
"zh": "带纹理图案的旭日图",
58+
"zh": "带贴图的旭日图",
5959
"en": "Sunburst plot with pattern"
6060
},
6161
"new": true,

examples/progress-plots/liquid/demo/meta.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@
3131
{
3232
"filename": "pattern.ts",
3333
"title": {
34-
"zh": "带纹理图案的水波图",
34+
"zh": "带贴图的水波图",
3535
"en": "Liquid plot with pattern"
3636
},
37-
"new": true,
3837
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/6uQnXA6lU2/4916bed6-3aeb-427b-ad86-51e3db07c0a1.png"
3938
},
4039
{

examples/rose/grouped/demo/meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{
1616
"filename": "pattern.ts",
1717
"title": {
18-
"zh": "带纹理图案的分组玫瑰图",
18+
"zh": "带贴图的分组玫瑰图",
1919
"en": "Grouped rose plot with pattern"
2020
},
2121
"new": true,

examples/tiny/tiny-area/demo/meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{
1616
"filename": "pattern.ts",
1717
"title": {
18-
"zh": "带纹理图案的迷你面积图",
18+
"zh": "带贴图的迷你面积图",
1919
"en": "Tiny area plot with pattern"
2020
},
2121
"new": true,

gatsby-config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ module.exports = {
313313
indexName: 'antv_g2plot',
314314
},
315315
announcement: {
316-
zh: "图表实例:新增了一些「高级用法」,可以前往查看如果通过高级用法,来进行图表之间的联动交互",
317-
en: "Examples of advanced usage have been added, you can go for to see how to make interactions between plots",
316+
zh: "",
317+
en: "",
318318
}
319319
},
320320
};

0 commit comments

Comments
 (0)