Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions en/option/partial/coord-sys.md
Original file line number Diff line number Diff line change
Expand Up @@ -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} }}
Expand Down Expand Up @@ -35,6 +41,12 @@ The coordinate used in the series, whose options are:
Use parallel coordinates, with [parallelIndex](~series-${seriesType}.parallelIndex) to assign the corresponding parallel coordinate components.
{{ /if }}

{{ if: ${calendar} }}
+ `'calendar'`

Use calendar coordinates, with [calendarIndex](~series-${seriesType}.calendarIndex) to assign the corresponding calendar coordinate components.
{{ /if }}

{{ if: ${none} }}
+ `'none'`

Expand All @@ -44,34 +56,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 }}

2 changes: 1 addition & 1 deletion en/option/series/boxplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Multiple `series` can be displayed in the same coordinate system. Please refer t
) }}

{{ use: partial-coord-sys(
seriesType = "cartesian2d",
seriesType = "boxplot",
coordSysDefault = "'cartesian2d'",
cartesian2d = true
) }}
Expand Down
2 changes: 1 addition & 1 deletion en/option/series/candlestick.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ We use red to represent increasing and blue decreasing by default. If you want t
) }}

{{ use: partial-coord-sys(
seriesType = "cartesian2d",
seriesType = "candlestick",
coordSysDefault = "'cartesian2d'",
cartesian2d = true
) }}
Expand Down
2 changes: 1 addition & 1 deletion en/option/series/effectScatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The maximum zooming scale of ripples in animation.
The brush type for ripples. options: `'stroke'` and `'fill'`.

{{ use: partial-coord-sys(
seriesType = "bar",
seriesType = "effectScatter",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
polar = true,
Expand Down
2 changes: 1 addition & 1 deletion en/option/series/line.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Broken line chart relates all the data points [symbol](~series-line.symbol) by b
{{ use: partial-colorby() }}

{{ use: partial-coord-sys(
seriesType = "bar",
seriesType = "line",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
polar = true,
Expand Down
9 changes: 9 additions & 0 deletions en/option/series/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion en/option/series/scatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ It could be used with [rectangular coordinate](~grid) and [polar coordinate](~po
{{ use: partial-colorby() }}

{{ use: partial-coord-sys(
seriesType = "bar",
seriesType = "scatter",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
polar = true,
Expand Down
2 changes: 1 addition & 1 deletion en/option/series/themeRiver.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The positional information of the whole theme river view reuses the positional i

## coordinateSystem(string) = "single"

coordinate. The theme river adopts sinle time axis.
coordinate. The theme river adopts single time axis.

## boundaryGap(Array) = ["10%", "10%"]

Expand Down
48 changes: 48 additions & 0 deletions zh/option/partial/coord-sys.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

## coordinateSystem(string) = ${coordSysDefault}

{{ if: ${version} }}
{{ use: partial-version(
version = ${version}
) }}
{{ /if }}

该系列使用的坐标系,可选:

{{ if: ${none} }}
Expand Down Expand Up @@ -35,6 +41,12 @@
使用平行坐标系,通过 [parallelIndex](~series-${seriesType}.parallelIndex) 指定相应的平行坐标系组件。
{{ /if }}

{{ if: ${calendar} }}
+ `'calendar'`

使用日历坐标系,通过 [calendarIndex](~series-${seriesType}.calendarIndex) 指定相应的日历坐标系组件。
{{ /if }}

{{ if: ${none} }}
+ `'none'`

Expand All @@ -44,34 +56,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 }}

2 changes: 1 addition & 1 deletion zh/option/series/boxplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const option = {
) }}

{{ use: partial-coord-sys(
seriesType = "cartesian2d",
seriesType = "boxplot",
coordSysDefault = "'cartesian2d'",
cartesian2d = true
) }}
Expand Down
2 changes: 1 addition & 1 deletion zh/option/series/candlestick.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const option = {
) }}

{{ use: partial-coord-sys(
seriesType = "cartesian2d",
seriesType = "candlestick",
coordSysDefault = "'cartesian2d'",
cartesian2d = true
) }}
Expand Down
2 changes: 1 addition & 1 deletion zh/option/series/effectScatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const option = {
波纹的绘制方式,可选 `'stroke'` 和 `'fill'`。

{{ use: partial-coord-sys(
seriesType = "bar",
seriesType = "effectScatter",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
polar = true,
Expand Down
2 changes: 1 addition & 1 deletion zh/option/series/line.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const option = {
{{ use: partial-colorby() }}

{{ use: partial-coord-sys(
seriesType = "bar",
seriesType = "line",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
polar = true,
Expand Down
9 changes: 9 additions & 0 deletions zh/option/series/pie.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion zh/option/series/scatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const option = {
{{ use: partial-colorby() }}

{{ use: partial-coord-sys(
seriesType = "bar",
seriesType = "scatter",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
polar = true,
Expand Down