Skip to content

Commit c2bad7a

Browse files
author
Dawnlck
authored
docs(dualbarmix): 修复双轴图的API文档-图形样式中的链接和国际化问题 (#2531)
* docs(dualbarmix): 修复双轴图的API文档-图形样式中的链接和国际化问题 * docs(dualmixbar): 修改双轴图-API文档-链接的格式,并保持中英文一致
1 parent c23ef6c commit c2bad7a

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

docs/api/plots/dual-axes.en.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -63,34 +63,34 @@ Specifies the respective configuration of the two axes in the form of "left axis
6363
- Biaxial line chart: [Line, Line], reference [DEMO](/en/examples/dual-axes/dual-line)
6464
- Column and Line Mixing Chart: [Column, Line], reference [DEMO](/en/examples/dual-axes/column-line)
6565

66-
你还可以通过配置 Line Column 的相关配置(见下文),形成双轴多 Line([DEMO](/en/examples/dual-axes/dual-line#dual-multi-line)), 堆叠柱+Line([DEMO](/en/examples/dual-axes/stacked-column-line)), 分组柱+Line([DEMO](/en/examples/dual-axes/grouped-column-line))
66+
You can also configure the related configuration of Line or Column (see below) to form a DualAxisLine([DEMO](/en/examples/dual-axes/dual-line#dual-multi-line)), StackingColumnLine([DEMO](/en/examples/dual-axes/stacked-column-line)), GroupColumnLine([DEMO](/en/examples/dual-axes/grouped-column-line))
6767

6868
The corresponding graph configuration of polyline is as follows:
6969

7070
| Properties | Type | Description | Default |
7171
| ------------ | -------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- |
7272
| geometry | _string_ | Chart type, specified as 'line' | 'line' |
73-
| seriesField | _string_ | Split the field, if there is a polyline, the specific use of the same[Line seriesfield](./line#seriesfield) |
74-
| smooth | _boolean_ | Whether is smooth[Line smooth](./line#smooth) | false |
75-
| connectNulls | _boolean_ | Whether to connect empty data[Line connectnulls](./line#connectnulls) | true |
76-
| lineStyle | _StyleAttr \| Function_ | Line style[Line lineStyle](./line#linestyle) | |
77-
| point | _pointStyle_ | Line data point graphic style[Line point](./line#point) | |
78-
| label | _ContinueLegendLabelCfg_ | Line label [Line label](./line#label) |
79-
| color | _string \| string[] \| Function_ | Specifies the color of the point[Line color](./line#color) |
73+
| seriesField | _string_ | Split the field, if there is a polyline, the specific use of the same [Line seriesfield](/en/docs/api/plots/line#seriesfield) |
74+
| smooth | _boolean_ | Whether is smooth [Line smooth](/en/docs/api/plots/line#smooth) | false |
75+
| connectNulls | _boolean_ | Whether to connect empty data [Line connectnulls](/en/docs/api/plots/line#connectnulls) | true |
76+
| lineStyle | _StyleAttr \| Function_ | Line style [Line lineStyle](/en/docs/api/plots/line#linestyle) | |
77+
| point | _pointStyle_ | Line data point graphic style [Line point](/en/docs/api/plots/line#point) | |
78+
| label | _ContinueLegendLabelCfg_ | Line label [Line label](/en/docs/api/plots/line#label) |
79+
| color | _string \| string[] \| Function_ | Specifies the color of the point [Line color](/en/docs/api/plots/line#color) |
8080

8181
The graph corresponding to the column is configured as follows:
8282

8383
| Properties | Type | Description | Default |
8484
| ---------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
8585
| geometry | _string_ | Chart type, specified as 'column' | |
8686
| seriesField | _string_ | Split fields, same as GroupField and ColorField under the grouping bar chart, same as StackField and ColorField under the stacking bar chart, specificreference[Column seriesfield](./column#seriesfield) |
87-
| isGroup | _boolean_ | Whether to group bar charts[Column isGroup](./column#isgroup) | false |
88-
| isStack | _boolean_ | Whether to stack histograms[Column isStack](./column#isstack) | false |
89-
| columnWidthRatio | _number_ | Histogram width ratio [0-1] [Column columnWidthRatio](./column#columnwidthratio) | |
90-
| marginRatio | _number_ | The spacing between columns in a grouping [0-1] applies only to grouping histograms[Column marginRatio](./column#marginratio) | |
91-
| columnStyle | _StyleAttr \| Function_ | Column style configuration[Column columnStyle](./column#columnstyle) | |
92-
| label | _ContinueLegendLabelCfg_ | Column label [Column label](./column#label) |
93-
| color | _string \| string[] \| Function_ | Specifies the color of the point[Line color](./column#color) |
87+
| isGroup | _boolean_ | Whether to group bar charts[Column isGroup](/en/docs/api/plots/column#isgroup) | false |
88+
| isStack | _boolean_ | Whether to stack histograms[Column isStack](/en/docs/api/plots/column#isstack) | false |
89+
| columnWidthRatio | _number_ | Histogram width ratio [0-1] [Column columnWidthRatio](/en/docs/api/plots/column#columnwidthratio) | |
90+
| marginRatio | _number_ | The spacing between columns in a grouping [0-1] applies only to grouping histograms[Column marginRatio](/en/docs/api/plots/column#marginratio) | |
91+
| columnStyle | _StyleAttr \| Function_ | Column style configuration[Column columnStyle](/en/docs/api/plots/column#columnstyle) | |
92+
| label | _ContinueLegendLabelCfg_ | Column label [Column label](/en/docs/api/plots/column#label) |
93+
| color | _string \| string[] \| Function_ | Specifies the color of the point [Column color](/en/docs/api/plots/column#color) |
9494
| groupField | _string_ | Split field, used to stack group histograms. Split field takes precedence over SeriesField. IsGroup: true will group by GroupField. | - |
9595

9696
### Plot Components

docs/api/plots/dual-axes.zh.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,27 @@ const data = [[{ time: '1991',value: 20 }], [{ time: '1992', count: 20 }]];
6969
| 细分配置项名称 | 类型 | 功能描述 | 默认值 |
7070
| -------------- | -------------------------------- | ------------------------------------------------------------------------------ | ------ |
7171
| geometry | _string_ | 图形类型,指定为'line' | 'line' |
72-
| seriesField | _string_ | 拆分字段, 若存在则为多折线,具体用法同[折线图 seriesfield](./line#seriesfield) |
73-
| smooth | _boolean_ | 是否平滑,具体用法同[折线图 smooth](./line#smooth) | false |
74-
| connectNulls | _boolean_ | 是否连接空数据,具体用法同[折线图 connectnulls](./line#connectnulls) | true |
75-
| lineStyle | _StyleAttr \| Function_ | 折线图形样式,具体用法同[折线图 lineStyle](./line#linestyle) | |
76-
| point | _pointStyle_ | 线数据点图形样式,具体用法同[折线图 point](./line#point) | |
77-
| label | _ContinueLegendLabelCfg_ | 折线图 label,具体用法同[折线图 label](./line#label) |
78-
| color | _string \| string[] \| Function_ | 指定点的颜色。具体用法同[折线图 color](./line#color) |
72+
| seriesField | _string_ | 拆分字段, 若存在则为多折线,具体用法同[折线图 seriesfield](/zh/docs/api/plots/line#seriesfield) |
73+
| smooth | _boolean_ | 是否平滑,具体用法同[折线图 smooth](/zh/docs/api/plots/line#smooth) | false |
74+
| connectNulls | _boolean_ | 是否连接空数据,具体用法同[折线图 connectnulls](/zh/docs/api/plots/line#connectnulls) | true |
75+
| lineStyle | _StyleAttr \| Function_ | 折线图形样式,具体用法同[折线图 lineStyle](/zh/docs/api/plots/line#linestyle) | |
76+
| point | _pointStyle_ | 线数据点图形样式,具体用法同[折线图 point](/zh/docs/api/plots/line#point) | |
77+
| label | _ContinueLegendLabelCfg_ | 折线图 label,具体用法同[折线图 label](/zh/docs/api/plots/line#label) |
78+
| color | _string \| string[] \| Function_ | 指定点的颜色。具体用法同[折线图 color](/zh/docs/api/plots/line#color) |
7979

8080
柱形对应的图形配置为:
8181

8282
| 细分配置项名称 | 类型 | 功能描述 | 默认值 |
8383
| ---------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
8484
| geometry | _string_ | 图形类型,应指定为'column' | |
85-
| seriesField | _string_ | 拆分字段, 在分组柱状图下同 groupField、colorField,在堆积柱状图下同 stackField、colorField ,具体参考[柱形图 seriesfield](./column#seriesfield) |
86-
| isGroup | _boolean_ | 是否分组柱形图,具体用法同[柱形图 isGroup](./column#isgroup) | false |
87-
| isStack | _boolean_ | 是否堆积柱状图,具体用法同[柱形图 isStack](./column#isstack) | false |
88-
| columnWidthRatio | _number_ | 柱状图宽度占比 [0-1] ,具体用法同[柱形图 columnWidthRatio](./column#columnwidthratio) | |
89-
| marginRatio | _number_ | 分组中柱子之间的间距 [0-1],仅对分组柱状图适用,具体用法同[柱形图 marginRatio](./column#marginratio) | |
90-
| columnStyle | _StyleAttr \| Function_ | 柱子样式配置,具体用法同[柱形图 columnStyle](./column#columnstyle) | |
91-
| label | _ContinueLegendLabelCfg_ | 柱形图 label,具体用法同[柱线图 label](./column#label) |
92-
| color | _string \| string[] \| Function_ | 指定点的颜色。具体用法同[折线图 color](./column#color) |
85+
| seriesField | _string_ | 拆分字段, 在分组柱状图下同 groupField、colorField,在堆积柱状图下同 stackField、colorField ,具体参考[柱形图 seriesfield](/zh/docs/api/plots/column#seriesfield) |
86+
| isGroup | _boolean_ | 是否分组柱形图,具体用法同[柱形图 isGroup](/zh/docs/api/plots/column#isgroup) | false |
87+
| isStack | _boolean_ | 是否堆积柱状图,具体用法同[柱形图 isStack](/zh/docs/api/plots/column#isstack) | false |
88+
| columnWidthRatio | _number_ | 柱状图宽度占比 [0-1] ,具体用法同[柱形图 columnWidthRatio](/zh/docs/api/plots/column#columnwidthratio) | |
89+
| marginRatio | _number_ | 分组中柱子之间的间距 [0-1],仅对分组柱状图适用,具体用法同[柱形图 marginRatio](/zh/docs/api/plots/column#marginratio) | |
90+
| columnStyle | _StyleAttr \| Function_ | 柱子样式配置,具体用法同[柱形图 columnStyle](/zh/docs/api/plots/column#columnstyle) | |
91+
| label | _ContinueLegendLabelCfg_ | 柱形图 label,具体用法同[柱形图 label](/zh/docs/api/plots/column#label) |
92+
| color | _string \| string[] \| Function_ | 指定点的颜色。具体用法同[柱形图 color](/zh/docs/api/plots/column#color) |
9393
| groupField | _string_ | 拆分字段,用于堆叠+分组柱图,拆分优先级高于 seriesField,isGroup: true 时会根据 groupField 进行分组。 | - |
9494

9595
### 图表组件

0 commit comments

Comments
 (0)