You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/09/16 01:56:55 UTC
[echarts-doc] 01/03: feat(pie): add `coordinateSystem` option for pie series
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch feat-pie-coordinateSystem
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
commit 054af810a2ca65a8e9701348789b4e470e44ba53
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Wed Aug 17 12:45:31 2022 +0800
feat(pie): add `coordinateSystem` option for pie series
---
en/option/partial/coord-sys.md | 42 ++++++++++++++++++++++++++++++++++++++++++
en/option/series/pie.md | 9 +++++++++
zh/option/partial/coord-sys.md | 42 ++++++++++++++++++++++++++++++++++++++++++
zh/option/series/pie.md | 9 +++++++++
4 files changed, 102 insertions(+)
diff --git a/en/option/partial/coord-sys.md b/en/option/partial/coord-sys.md
index 989fdb46..2ebcf4ca 100644
--- a/en/option/partial/coord-sys.md
+++ b/en/option/partial/coord-sys.md
@@ -3,6 +3,12 @@
## coordinateSystem(string) = ${coordSysDefault}
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
The coordinate used in the series, whose options are:
{{ if: ${none} }}
@@ -44,34 +50,70 @@ The coordinate used in the series, whose options are:
{{ if: ${cartesian2d} }}
## xAxisIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
Index of [x axis](~xAxis) to combine with, which is useful for multiple x axes in one chart.
## yAxisIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
Index of [y axis](~yAxis) to combine with, which is useful for multiple y axes in one chart.
{{ /if }}
{{ if: ${polar} }}
## polarIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
Index of [polar coordinate](~polar) to combine with, which is useful for multiple polar axes in one chart.
{{ /if }}
{{ if: ${geo} }}
## geoIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
Index of [geographic coordinate](~geo) to combine with, which is useful for multiple geographic axes in one chart.
{{ /if }}
{{ if: ${parallel} }}
## parallelIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
Index of [parallel coordinates](~parallel) to combine with, which is useful for multiple parallel axes in one chart.
{{ /if }}
{{ if: ${calendar} }}
## calendarIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
Index of [calendar coordinates](~calendar) to combine with, which is useful for multiple calendar coordinates in one chart.
{{ /if }}
diff --git a/en/option/series/pie.md b/en/option/series/pie.md
index 7c19fd0b..d90c10ca 100644
--- a/en/option/series/pie.md
+++ b/en/option/series/pie.md
@@ -31,6 +31,15 @@ Since ECharts v4.6.0, we provide `'labelLine'` and `'edge'` two extra layouts. C
{{ use: partial-legend-hover-link() }}
+{{ use: partial-coord-sys(
+ seriesType = "pie",
+ coordSysDefault = "null",
+ none = true,
+ geo = true,
+ calendar = true,
+ version = "5.4.0"
+) }}
+
{{ use: partial-selected-mode() }}
## selectedOffset(number) = 10
diff --git a/zh/option/partial/coord-sys.md b/zh/option/partial/coord-sys.md
index a64d1db4..fab95b59 100644
--- a/zh/option/partial/coord-sys.md
+++ b/zh/option/partial/coord-sys.md
@@ -3,6 +3,12 @@
## coordinateSystem(string) = ${coordSysDefault}
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
该系列使用的坐标系,可选:
{{ if: ${none} }}
@@ -44,34 +50,70 @@
{{ if: ${cartesian2d} }}
## xAxisIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
使用的 [x 轴](~xAxis)的 index,在单个图表实例中存在多个 x 轴的时候有用。
## yAxisIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
使用的 [y 轴](~yAxis)的 index,在单个图表实例中存在多个 y轴的时候有用。
{{ /if }}
{{ if: ${polar} }}
## polarIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
使用的[极坐标系](~polar)的 index,在单个图表实例中存在多个极坐标系的时候有用。
{{ /if }}
{{ if: ${geo} }}
## geoIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
使用的[地理坐标系](~geo)的 index,在单个图表实例中存在多个地理坐标系的时候有用。
{{ /if }}
{{ if: ${parallel} }}
## parallelIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
使用的[平行坐标系](~parallel)的 index,在单个图表实例中存在多个平行坐标系的时候有用。
{{ /if }}
{{ if: ${calendar} }}
## calendarIndex(number) = 0
+{{ if: ${version} }}
+{{ use: partial-version(
+ version = ${version}
+) }}
+{{ /if }}
+
使用的[日历坐标系](~calendar)的 index,在单个图表实例中存在多个日历坐标系的时候有用。
{{ /if }}
diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md
index 5527e2e0..794f6203 100644
--- a/zh/option/series/pie.md
+++ b/zh/option/series/pie.md
@@ -52,6 +52,15 @@ const option = {
{{ use: partial-legend-hover-link() }}
+{{ use: partial-coord-sys(
+ seriesType = "pie",
+ coordSysDefault = "null",
+ none = true,
+ geo = true,
+ calendar = true,
+ version = "5.4.0"
+) }}
+
{{ use: partial-selected-mode() }}
## selectedOffset(number) = 10
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org