Skip to content

Commit eaf0365

Browse files
authored
Merge pull request #4316 from VisActor/fix/common-chart-option-labelLayout
docs: fix common chart option labelLayout
2 parents 7472b71 + 0901cca commit eaf0365

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/assets/option/en/chart/common.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,3 @@ Whether to enable automatic bandSize. If enabled, the bandSize will be automatic
258258
### extend(number)
259259

260260
The expansion value added after calculating the bandSize based on barWidth to fix the overall length of the axis. The unit is px.
261-
262-
## labelLayout(string)='series'
263-
264-
By default, it is laid out separately by series, and can be set to 'series' or 'region'. When set to `region`, the label of different series in the same region will be calculated together to prevent overlap.

docs/assets/option/en/common/chart-spec.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ color: ['#BBD6B8', '#EA5455', '#19A7CE'],
8787
prefix = '#' + ${prefix},
8888
includeId = false
8989
) }}
90+
91+
#${prefix} labelLayout(string)='series'
92+
93+
By default, it is laid out separately by series, and can be set to 'series' or 'region'. When set to `region`, the label of different series in the same region will be calculated together to prevent overlap.

docs/assets/option/zh/chart/common.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,3 @@ IGaugePointerSeriesSpec-->
202202
### extend(number)
203203

204204
根据 barWidth 计算出 bandSize,从而固定轴整体长度之后,添加的扩增值。单位为 px。
205-
206-
## labelLayout(string)='series'
207-
208-
标签布局方式。默认按照系列单独布局,可设置为'series' 或 'region'。当设置为 region 时,相同 region 的系列标签会共同进行防重叠计算。

docs/assets/option/zh/common/chart-spec.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ color: ['#BBD6B8', '#EA5455', '#19A7CE'],
8787
prefix = '#' + ${prefix},
8888
includeId = false
8989
) }}
90+
91+
#${prefix} labelLayout(string)='series'
92+
93+
标签布局方式。默认按照系列单独布局,可设置为'series' 或 'region'。当设置为 region 时,相同 region 的系列标签会共同进行防重叠计算。

0 commit comments

Comments
 (0)