You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2025/08/04 09:39:46 UTC
(echarts-doc) 08/08: Add coord sys reference universally.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch feat-coord-sys
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
commit 594cc7d0e8723446b5abf447df75b9d7dab57edd
Author: 100pah <su...@gmail.com>
AuthorDate: Mon Aug 4 17:39:02 2025 +0800
Add coord sys reference universally.
---
en/option/component/data-zoom-slider.md | 10 ++++++++++
en/option/component/geo.md | 9 +++++++++
en/option/component/grid.md | 8 ++++++++
en/option/component/legend.md | 9 +++++++++
en/option/component/parallel.md | 10 ++++++++++
en/option/component/polar.md | 9 +++++++++
en/option/component/radar.md | 9 +++++++++
en/option/component/timeline.md | 9 +++++++++
en/option/component/title.md | 9 +++++++++
en/option/component/toolbox.md | 9 +++++++++
en/option/component/visual-map-continuous.md | 3 ++-
en/option/component/visual-map-piecewise.md | 3 ++-
en/option/component/visual-map.md | 10 ++++++++++
en/option/series/bar.md | 3 +--
en/option/series/funnel.md | 11 +++++++++++
en/option/series/gauge.md | 11 +++++++++++
en/option/series/graph.md | 2 +-
en/option/series/map.md | 6 ++++++
en/option/series/pie.md | 3 ++-
en/option/series/radar.md | 2 +-
en/option/series/sankey.md | 9 +++++++++
en/option/series/sunburst.md | 9 +++++++++
en/option/series/themeRiver.md | 8 +++++---
en/option/series/tree.md | 9 +++++++++
en/option/series/treemap.md | 9 +++++++++
zh/option/component/data-zoom-slider.md | 10 ++++++++++
zh/option/component/geo.md | 9 +++++++++
zh/option/component/grid.md | 8 ++++++++
zh/option/component/legend.md | 9 +++++++++
zh/option/component/parallel.md | 9 +++++++++
zh/option/component/polar.md | 9 +++++++++
zh/option/component/radar.md | 9 +++++++++
zh/option/component/timeline.md | 9 +++++++++
zh/option/component/title.md | 9 +++++++++
zh/option/component/toolbox.md | 9 +++++++++
zh/option/component/visual-map-continuous.md | 3 ++-
zh/option/component/visual-map-piecewise.md | 3 ++-
zh/option/component/visual-map.md | 10 ++++++++++
zh/option/series/funnel.md | 11 +++++++++++
zh/option/series/gauge.md | 11 +++++++++++
zh/option/series/graph.md | 2 +-
zh/option/series/map.md | 6 ++++++
zh/option/series/pie.md | 3 ++-
zh/option/series/sankey.md | 9 +++++++++
zh/option/series/sunburst.md | 9 +++++++++
zh/option/series/themeRiver.md | 8 +++++---
zh/option/series/tree.md | 9 +++++++++
zh/option/series/treemap.md | 9 +++++++++
48 files changed, 355 insertions(+), 17 deletions(-)
diff --git a/en/option/component/data-zoom-slider.md b/en/option/component/data-zoom-slider.md
index 6117cd0e..b2d679fb 100644
--- a/en/option/component/data-zoom-slider.md
+++ b/en/option/component/data-zoom-slider.md
@@ -239,6 +239,16 @@ Whether to update view while dragging. If it is set as `false`, the view will be
componentName = 'dataZoom-slider'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "dataZoom",
+ nonSeriesComponentSubType = "slider",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## width(string|number)
<ExampleUIControlNumber default="30"/>
diff --git a/en/option/component/geo.md b/en/option/component/geo.md
index 54ef5a97..93589a35 100644
--- a/en/option/component/geo.md
+++ b/en/option/component/geo.md
@@ -37,6 +37,15 @@ Whether to show the geo component.
prefix = '#'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "geo",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## regions(Array)
Configure style for specified regions.
diff --git a/en/option/component/grid.md b/en/option/component/grid.md
index f2344c97..48f2d399 100644
--- a/en/option/component/grid.md
+++ b/en/option/component/grid.md
@@ -120,3 +120,11 @@ See also [outerBounds example](${galleryEditorPath}doc-example/grid-outerBounds&
{{ use: partial-tooltip-in-coords() }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "grid",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
diff --git a/en/option/component/legend.md b/en/option/component/legend.md
index ac97dae3..209d2697 100644
--- a/en/option/component/legend.md
+++ b/en/option/component/legend.md
@@ -49,6 +49,15 @@ When `'scroll'` used, these options below can be used for detailed configuration
componentName = "legend"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "legend",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## orient(string) = 'horizontal'
<ExampleUIControlEnum options="vertical,horizontal" default="horizontal" />
diff --git a/en/option/component/parallel.md b/en/option/component/parallel.md
index defb4156..084c84c0 100644
--- a/en/option/component/parallel.md
+++ b/en/option/component/parallel.md
@@ -20,6 +20,16 @@
defaultBottom = 60
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "parallel",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
+
## layout(string) = 'horizontal'
<ExampleUIControlEnum options="horizontal,vertical" default="horizontal" />
diff --git a/en/option/component/polar.md b/en/option/component/polar.md
index ab22e0e8..846a5201 100644
--- a/en/option/component/polar.md
+++ b/en/option/component/polar.md
@@ -18,5 +18,14 @@ Polar coordinate can be used in scatter and line chart. Every polar coordinate h
disableArray = false
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "polar",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
{{ use: partial-tooltip-in-coords() }}
diff --git a/en/option/component/radar.md b/en/option/component/radar.md
index 1df480b5..16430515 100644
--- a/en/option/component/radar.md
+++ b/en/option/component/radar.md
@@ -20,6 +20,15 @@ Here is a custom example of radar component.
defaultRadius = "75%"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "radar",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## startAngle(number) = 90
The start angle of coordinate, which is the angle of the first indicator axis.
diff --git a/en/option/component/timeline.md b/en/option/component/timeline.md
index a908b9a9..8116e97c 100644
--- a/en/option/component/timeline.md
+++ b/en/option/component/timeline.md
@@ -181,6 +181,15 @@ Position of the play button, whose valid values are `'left'` and `'right'`.
componentName = 'timeline'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "timeline",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## padding(number|Array) = 5
<ExampleUIControlVector default="5,5,5,5" dims="T,R,B,L" />
diff --git a/en/option/component/title.md b/en/option/component/title.md
index 69df32f3..f448dacb 100644
--- a/en/option/component/title.md
+++ b/en/option/component/title.md
@@ -116,6 +116,15 @@ The gap between the main title and subtitle.
componentName = "title"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "title",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
{{ use: partial-component-common-style(
componentName = "title",
prefix = '#',
diff --git a/en/option/component/toolbox.md b/en/option/component/toolbox.md
index 626bf9bc..caf1b23e 100644
--- a/en/option/component/toolbox.md
+++ b/en/option/component/toolbox.md
@@ -489,6 +489,15 @@ Title.
componentName = "toolbox"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "toolbox",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## tooltip(Object)
Tooltip configuration for toolbox tooltip, which is similar to [tooltip](~tooltip). It is not shown by default. If you wish to set special style for toolbox icon label (especially when using CSS to control text style), you may set as the following example:
diff --git a/en/option/component/visual-map-continuous.md b/en/option/component/visual-map-continuous.md
index 89ecad2e..835d42f6 100644
--- a/en/option/component/visual-map-continuous.md
+++ b/en/option/component/visual-map-continuous.md
@@ -170,7 +170,8 @@ You can understand the order of items in `text` array just by a simple trial. Se
The distance between the ends of the main bar and the label, with unit px. See [visualMap-continuous.text](~visualMap-continuous.text)
{{ use: partial-visual-map-common(
- visualMapName = 'visualMap-continuous'
+ visualMapName = 'visualMap-continuous',
+ visualMapSubType = 'continuous'
) }}
## formatter(string|Function)
diff --git a/en/option/component/visual-map-piecewise.md b/en/option/component/visual-map-piecewise.md
index 42b634f7..7586401a 100644
--- a/en/option/component/visual-map-piecewise.md
+++ b/en/option/component/visual-map-piecewise.md
@@ -218,7 +218,8 @@ The setting of visual channel `symbol` can refer to [visualMap-piecewise.inRange
When they are not specified, `itemSymbol` is adopted as the default value (but just used in visualMap component itself, not in chart).
{{ use: partial-visual-map-common(
- visualMapName = 'visualMap-piecewise'
+ visualMapName = 'visualMap-piecewise',
+ visualMapSubType = 'piecewise'
) }}
## formatter(string|Function)
diff --git a/en/option/component/visual-map.md b/en/option/component/visual-map.md
index bb2baf7a..414416ab 100644
--- a/en/option/component/visual-map.md
+++ b/en/option/component/visual-map.md
@@ -366,6 +366,16 @@ See available configurations in [${visualMapName}.inRange](~${visualMapName}.inR
defaultBottom = "0"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "visualMap",
+ nonSeriesComponentSubType = ${visualMapSubType},
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## orient(string) = 'vertical'
How to layout the visualMap component, `'horizontal'` or `'vertical'`.
diff --git a/en/option/series/bar.md b/en/option/series/bar.md
index 4853db62..e19ad161 100644
--- a/en/option/series/bar.md
+++ b/en/option/series/bar.md
@@ -23,8 +23,7 @@ Bar chart shows different data through the height of a bar, which is used in [re
seriesType = "bar",
coordSysDefault = "'cartesian2d'",
cartesian2d = true,
- polar = true,
- geo = false
+ polar = true
) }}
## roundCap(boolean) = false
diff --git a/en/option/series/funnel.md b/en/option/series/funnel.md
index e8a54e84..fc5648ca 100644
--- a/en/option/series/funnel.md
+++ b/en/option/series/funnel.md
@@ -20,6 +20,17 @@
defaultColorBy = "'data'"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "funnel",
+ coordSysDefault = "'none'",
+ coordSysUsageDefault = "'box'",
+ none = true,
+ calendar = true,
+ matrix = true,
+ version = "6.0.0"
+) }}
+
## min(number) = 0
<ExampleUIControlNumber default="0" step="1" />
diff --git a/en/option/series/gauge.md b/en/option/series/gauge.md
index c7b540df..10123642 100644
--- a/en/option/series/gauge.md
+++ b/en/option/series/gauge.md
@@ -22,6 +22,17 @@
{{ use: component-circular-layout() }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "gauge",
+ coordSysDefault = "'none'",
+ coordSysUsageDefault = "'box'",
+ none = true,
+ calendar = true,
+ matrix = true,
+ version = "6.0.0"
+) }}
+
<!-- overwrite radius -->
## radius(number|string) = '75%'
diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index 2679b6b0..26639d17 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -23,7 +23,7 @@ Graph is a diagram to represent [nodes](~series-graph.nodes) and the [links](~se
{{ use: partial-coord-sys(
seriesType = "graph",
- coordSysDefault = "null",
+ coordSysDefault = "'none'",
none = true,
cartesian2d = true,
polar = true,
diff --git a/en/option/series/map.md b/en/option/series/map.md
index 0aac1c8a..6615be25 100644
--- a/en/option/series/map.md
+++ b/en/option/series/map.md
@@ -25,6 +25,12 @@ Series of same [map type](~series-map.map) will show in one map. At this point,
labelMargin = true
) }}
+{{ use: partial-coord-sys(
+ seriesType = "map",
+ coordSysDefault = "'geo'",
+ geo = true
+) }}
+
## center(Array)
Center of current view-port. It can be an array containing two `number`s in pixels or `string`s in percentage relative to the container width/height.
diff --git a/en/option/series/pie.md b/en/option/series/pie.md
index 7cd20406..0e7d6778 100644
--- a/en/option/series/pie.md
+++ b/en/option/series/pie.md
@@ -33,7 +33,8 @@ Since ECharts v4.6.0, we provide `'labelLine'` and `'edge'` two extra layouts. C
{{ use: partial-coord-sys(
seriesType = "pie",
- coordSysDefault = "null",
+ coordSysDefault = "'none'",
+ coordSysUsageDefault = "'box'",
none = true,
geo = true,
calendar = true,
diff --git a/en/option/series/radar.md b/en/option/series/radar.md
index 51c58b1f..6050528f 100644
--- a/en/option/series/radar.md
+++ b/en/option/series/radar.md
@@ -25,7 +25,7 @@ Here is the example of AQI data which is presented in radar chart.
## radarIndex(number)
-Index of [radar](~radar) component that radar chart uses.
+Index of [radar](~radar) (coordinate system) component that radar chart uses.
{{ use: partial-symbol(
seriesType = "radar",
diff --git a/en/option/series/sankey.md b/en/option/series/sankey.md
index 4ad79a43..bd99a0fa 100644
--- a/en/option/series/sankey.md
+++ b/en/option/series/sankey.md
@@ -36,6 +36,15 @@ In addition, the edge between two small rectangles in the diagram encodes the `l
defaultHeight = 'null'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "sankey",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## nodeWidth(number) = 20
<ExampleUIControlNumber default="20" min="0" step="0.5" />
diff --git a/en/option/series/sunburst.md b/en/option/series/sunburst.md
index 1642da08..600e45ba 100644
--- a/en/option/series/sunburst.md
+++ b/en/option/series/sunburst.md
@@ -151,6 +151,15 @@ The sunburst chart supports data drilling by default, which means when a user cl
defaultRadius = "[0, '75%']"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "sunburst",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## data(Array)
The data structure of [series-sunburst.data](~series-sunburst.data) is like tree. For example:
diff --git a/en/option/series/themeRiver.md b/en/option/series/themeRiver.md
index fde8ec7a..197f4012 100644
--- a/en/option/series/themeRiver.md
+++ b/en/option/series/themeRiver.md
@@ -44,9 +44,11 @@ What's more, the time attribute of the orinigal dataset would map to a single ti
** Notes: **
The positional information of the whole theme river view reuses the positional information of a single time axis, which are left, top, right and bottom.
-## coordinateSystem(string) = "single"
-
-coordinate. The theme river adopts single time axis.
+{{ use: partial-coord-sys(
+ seriesType = "themeRiver",
+ coordSysDefault = "'singleAxis'",
+ singleAxis = true,
+) }}
## boundaryGap(Array) = ["10%", "10%"]
diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index 2767600f..50c85c48 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -35,6 +35,15 @@ The tree diagram is mainly used to visualize the tree data structure, which is a
defaultHeight = 'null'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "tree",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## center(Array)
Center of current view-port. It can be an array containing two `number`s in pixels or `string`s in percentage relative to the container width/height.
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index 47885af7..5516ada3 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -59,6 +59,15 @@ Notice: There are some difference in treemap configuration between ECharts3 and
defaultHeight = '80%'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "treemap",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## squareRatio(number)
<ExampleUIControlNumber min="0.1" default="0.75" step="0.1" />
diff --git a/zh/option/component/data-zoom-slider.md b/zh/option/component/data-zoom-slider.md
index 06ae2969..fd2c5eca 100644
--- a/zh/option/component/data-zoom-slider.md
+++ b/zh/option/component/data-zoom-slider.md
@@ -269,6 +269,16 @@ labelFormatter: function (value) {
componentName = 'dataZoom-slider'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "dataZoom",
+ nonSeriesComponentSubType = "slider",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## width(string|number)
<ExampleUIControlNumber default="30"/>
diff --git a/zh/option/component/geo.md b/zh/option/component/geo.md
index ae5f4b71..3eabf38c 100644
--- a/zh/option/component/geo.md
+++ b/zh/option/component/geo.md
@@ -35,6 +35,15 @@ geo 区域的颜色也可以被 map series 所控制,参见 [series-map.geoInd
prefix = '#'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "geo",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## regions(Array)
在地图中对特定的区域配置样式。
diff --git a/zh/option/component/grid.md b/zh/option/component/grid.md
index 1dec218d..46360a95 100644
--- a/zh/option/component/grid.md
+++ b/zh/option/component/grid.md
@@ -156,3 +156,11 @@ grid 区域是否包含坐标轴的[刻度标签](~yAxis.axisLabel)。
{{ use: partial-tooltip-in-coords() }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "grid",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
diff --git a/zh/option/component/legend.md b/zh/option/component/legend.md
index 998c095e..85e2c64e 100644
--- a/zh/option/component/legend.md
+++ b/zh/option/component/legend.md
@@ -132,6 +132,15 @@ const option = {
componentName = "图例(legend)"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "legend",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## orient(string) = 'horizontal'
<ExampleUIControlEnum options="vertical,horizontal" default="horizontal" />
diff --git a/zh/option/component/parallel.md b/zh/option/component/parallel.md
index 97e15d65..c143a78d 100644
--- a/zh/option/component/parallel.md
+++ b/zh/option/component/parallel.md
@@ -452,6 +452,15 @@ const option = {
defaultBottom = 60
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "parallel",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## layout(string) = 'horizontal'
<ExampleUIControlEnum options="horizontal,vertical" default="horizontal" />
diff --git a/zh/option/component/polar.md b/zh/option/component/polar.md
index a8ac7946..3d5b2b4c 100644
--- a/zh/option/component/polar.md
+++ b/zh/option/component/polar.md
@@ -76,5 +76,14 @@ const option = {
disableArray = false
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "polar",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
{{ use: partial-tooltip-in-coords() }}
diff --git a/zh/option/component/radar.md b/zh/option/component/radar.md
index ea58d769..7998a9e8 100644
--- a/zh/option/component/radar.md
+++ b/zh/option/component/radar.md
@@ -56,6 +56,15 @@ const option = {
defaultRadius = "75%"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "radar",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## startAngle(number) = 90
坐标系起始角度,也就是第一个指示器轴的角度。
diff --git a/zh/option/component/timeline.md b/zh/option/component/timeline.md
index 99a961ee..e03b98e4 100644
--- a/zh/option/component/timeline.md
+++ b/zh/option/component/timeline.md
@@ -543,6 +543,15 @@ const option = {
componentName = '时间轴(timeline)'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "timeline",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## padding(number|Array) = 5
<ExampleUIControlVector default="5,5,5,5" dims="T,R,B,L" />
diff --git a/zh/option/component/title.md b/zh/option/component/title.md
index 5fa0b625..4520c13b 100644
--- a/zh/option/component/title.md
+++ b/zh/option/component/title.md
@@ -133,6 +133,15 @@ const option = {
componentName = "标题(title)"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "title",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
{{ use: partial-component-common-style(
componentName = "标题",
prefix = '#',
diff --git a/zh/option/component/toolbox.md b/zh/option/component/toolbox.md
index 4c199364..b05af9f2 100644
--- a/zh/option/component/toolbox.md
+++ b/zh/option/component/toolbox.md
@@ -563,6 +563,15 @@ feature: {
componentName = "工具栏(toolbox)"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "toolbox",
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## tooltip(Object)
工具箱的 tooltip 配置,配置项同 [tooltip](~tooltip)。默认不显示,可以在需要特殊定制文字样式(尤其是想用自定义 CSS 控制文字样式)的时候开启 tooltip,如下示例:
diff --git a/zh/option/component/visual-map-continuous.md b/zh/option/component/visual-map-continuous.md
index b2f64bab..5c2e60d7 100644
--- a/zh/option/component/visual-map-continuous.md
+++ b/zh/option/component/visual-map-continuous.md
@@ -172,7 +172,8 @@ chart.setOption({visualMap: {range: null}}); // 再把 range 设为 null。
两端文字主体之间的距离,单位为px。参见 [visualMap-continuous.text](~visualMap-continuous.text)
{{ use: partial-visual-map-common(
- visualMapName = 'visualMap-continuous'
+ visualMapName = 'visualMap-continuous',
+ visualMapSubType = 'continuous'
) }}
## formatter(string|Function)
diff --git a/zh/option/component/visual-map-piecewise.md b/zh/option/component/visual-map-piecewise.md
index d478d292..e672b253 100644
--- a/zh/option/component/visual-map-piecewise.md
+++ b/zh/option/component/visual-map-piecewise.md
@@ -233,7 +233,8 @@ symbol的设置参见 [visualMap-piecewise.inRange](~visualMap-piecewise.inRange
当他们没有进行指定时,取此 `itemSymbol` 为默认值(但是只在 visualMap 组件上使用,不在 chart 中使用)。
{{ use: partial-visual-map-common(
- visualMapName = 'visualMap-piecewise'
+ visualMapName = 'visualMap-piecewise',
+ visualMapSubType = 'piecewise'
) }}
## formatter(string|Function)
diff --git a/zh/option/component/visual-map.md b/zh/option/component/visual-map.md
index 15c89b4e..be536530 100644
--- a/zh/option/component/visual-map.md
+++ b/zh/option/component/visual-map.md
@@ -340,6 +340,16 @@ visualMap 组件中,`控制器` 的 `inRange` `outOfRange` 设置。如果没
defaultBottom = "0"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ nonSeriesComponentMainType = "visualMap",
+ nonSeriesComponentSubType = ${visualMapSubType},
+ coordSysDefault = "'none'",
+ matrix = true,
+ calendar = true,
+ none = true
+) }}
+
## orient(string) = 'vertical'
如何放置 visualMap 组件,水平(`'horizontal'`)或者竖直(`'vertical'`)。
diff --git a/zh/option/series/funnel.md b/zh/option/series/funnel.md
index f7262bc6..1049dbf4 100644
--- a/zh/option/series/funnel.md
+++ b/zh/option/series/funnel.md
@@ -42,6 +42,17 @@ option = {
defaultColorBy = "'data'"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "funnel",
+ coordSysDefault = "'none'",
+ coordSysUsageDefault = "'box'",
+ none = true,
+ calendar = true,
+ matrix = true,
+ version = "6.0.0"
+) }}
+
## min(number) = 0
<ExampleUIControlNumber default="0" step="1" />
diff --git a/zh/option/series/gauge.md b/zh/option/series/gauge.md
index 186d505b..d235567c 100644
--- a/zh/option/series/gauge.md
+++ b/zh/option/series/gauge.md
@@ -35,6 +35,17 @@ const option = {
{{ use: component-circular-layout() }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "gauge",
+ coordSysDefault = "'none'",
+ coordSysUsageDefault = "'box'",
+ none = true,
+ calendar = true,
+ matrix = true,
+ version = "6.0.0"
+) }}
+
<!-- overwrite radius -->
## radius(number|string) = '75%'
diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md
index 7b9a1e88..3b8a6136 100644
--- a/zh/option/series/graph.md
+++ b/zh/option/series/graph.md
@@ -32,7 +32,7 @@ option.series[0].data.forEach(function (item) {
{{ use: partial-coord-sys(
seriesType = "graph",
- coordSysDefault = "null",
+ coordSysDefault = "'none'",
none = true,
cartesian2d = true,
polar = true,
diff --git a/zh/option/series/map.md b/zh/option/series/map.md
index 4c3d9fbb..33ee0079 100644
--- a/zh/option/series/map.md
+++ b/zh/option/series/map.md
@@ -27,6 +27,12 @@
labelMargin = true
) }}
+{{ use: partial-coord-sys(
+ seriesType = "map",
+ coordSysDefault = "'geo'",
+ geo = true
+) }}
+
## center(Array)
当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
diff --git a/zh/option/series/pie.md b/zh/option/series/pie.md
index 823dc88b..d92c3a64 100644
--- a/zh/option/series/pie.md
+++ b/zh/option/series/pie.md
@@ -54,7 +54,8 @@ const option = {
{{ use: partial-coord-sys(
seriesType = "pie",
- coordSysDefault = "null",
+ coordSysDefault = "'none'",
+ coordSysUsageDefault = "'box'",
none = true,
geo = true,
calendar = true,
diff --git a/zh/option/series/sankey.md b/zh/option/series/sankey.md
index 4caf5be7..a74c5730 100644
--- a/zh/option/series/sankey.md
+++ b/zh/option/series/sankey.md
@@ -45,6 +45,15 @@ const option = {"tooltip":{"trigger":"item","triggerOn":"mousemove"},"series":[{
defaultHeight = 'null'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "sankey",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## nodeWidth(number) = 20
<ExampleUIControlNumber default="20" min="0" step="0.5" />
diff --git a/zh/option/series/sunburst.md b/zh/option/series/sunburst.md
index d94f9cb4..020ca31c 100644
--- a/zh/option/series/sunburst.md
+++ b/zh/option/series/sunburst.md
@@ -303,6 +303,15 @@ const option = {
defaultRadius = "[0, '75%']"
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "sunburst",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## data(Array)
[series-sunburst.data](~series-sunburst.data) 的数据格式是树状的,例如:
diff --git a/zh/option/series/themeRiver.md b/zh/option/series/themeRiver.md
index 7a8c2d5d..a2f23048 100644
--- a/zh/option/series/themeRiver.md
+++ b/zh/option/series/themeRiver.md
@@ -117,9 +117,11 @@ const option = {
** 注意:**
整个主题河流view的位置信息复用了单个时间轴的位置信息,即left,top,right,bottom。
-## coordinateSystem(string) = "single"
-
-坐标系统,主题河流用的是单个的时间轴。
+{{ use: partial-coord-sys(
+ seriesType = "themeRiver",
+ coordSysDefault = "'singleAxis'",
+ singleAxis = true,
+) }}
## boundaryGap(Array) = ["10%", "10%"]
diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md
index 25052247..660a4ef7 100644
--- a/zh/option/series/tree.md
+++ b/zh/option/series/tree.md
@@ -78,6 +78,15 @@ const option = {
defaultHeight = 'null'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "tree",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## center(Array)
当前视角的中心点。可以是包含两个 `number` 类型(表示像素值)或 `string` 类型(表示相对容器的百分比)的数组。
diff --git a/zh/option/series/treemap.md b/zh/option/series/treemap.md
index 1339b292..97201428 100644
--- a/zh/option/series/treemap.md
+++ b/zh/option/series/treemap.md
@@ -212,6 +212,15 @@ const option = {
defaultHeight = '80%'
) }}
+{{ use: partial-coord-sys(
+ version = '6.0.0',
+ seriesType = "treemap",
+ coordSysDefault = "'none'",
+ calendar = true,
+ matrix = true,
+ none = true
+) }}
+
## squareRatio(number)
<ExampleUIControlNumber min="0.1" default="0.75" step="0.1" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org