You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/06/30 02:03:07 UTC
[incubator-echarts-doc] 01/01: Merge branch 'master' into
live-example
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch live-example
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
commit 27fa7cb71091180de9db322068f821c607ed3224
Merge: 083ddca e387a74
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Jun 30 10:02:38 2020 +0800
Merge branch 'master' into live-example
en/api/echarts-instance.md | 14 +--
en/api/echarts.md | 14 +--
en/api/events.md | 2 +-
en/option/component/radar.md | 1 +
en/option/component/toolbox.md | 2 +-
en/option/component/visual-map-piecewise.md | 2 +-
en/option/component/visual-map.md | 4 +-
en/option/partial/2d-data.md | 2 +-
en/option/series/custom.md | 4 +-
en/option/series/gauge.md | 6 +-
en/option/series/sankey.md | 26 ++++--
en/option/series/scatter.md | 1 +
en/option/series/themeRiver.md | 2 +
en/option/series/tree.md | 2 +-
en/tutorial/custom-build.md | 6 +-
en/tutorial/custom-series.md | 28 ++----
en/tutorial/data-zoom.md | 9 +-
en/tutorial/dataset.md | 105 +++------------------
en/tutorial/drag-example.md | 11 +--
en/tutorial/getting-started.md | 4 +-
en/tutorial/media-query.md | 19 ++--
en/tutorial/npm-webpack.md | 2 +-
en/tutorial/renderer.md | 6 +-
en/tutorial/rich-text.md | 51 ++--------
en/tutorial/style-overview.md | 4 +-
en/tutorial/visual-map.md | 12 +--
slides/ani/asset/common/echarts.min.js | 10 +-
slides/arch-brief/asset/common/echarts.min.js | 10 +-
slides/custom/asset/common/echarts.js | 12 +--
zh/api/echarts-instance.md | 8 +-
zh/api/echarts.md | 14 +--
zh/api/events.md | 2 +-
zh/option/component/axis-common.md | 2 +-
zh/option/component/radar.md | 1 +
zh/option/component/toolbox.md | 2 +-
zh/option/option.md | 2 +-
zh/option/partial/2d-data.md | 4 +-
zh/option/series/custom.md | 2 +-
zh/option/series/gauge.md | 4 +-
zh/option/series/sankey.md | 6 +-
zh/option/series/scatter.md | 1 +
zh/option/series/themeRiver.md | 2 +
zh/tutorial/custom-build.md | 6 +-
zh/tutorial/custom-series.md | 27 ++----
zh/tutorial/data-zoom.md | 7 +-
zh/tutorial/dataset.md | 129 +++++---------------------
zh/tutorial/drag-example.md | 9 +-
zh/tutorial/echarts-gl.md | 70 +++++++-------
zh/tutorial/getting-started.md | 4 +-
zh/tutorial/graphic.md | 3 +-
zh/tutorial/media-query.md | 10 +-
zh/tutorial/rich-text.md | 50 ++--------
zh/tutorial/style-overview.md | 4 +-
zh/tutorial/visual-map.md | 8 +-
54 files changed, 243 insertions(+), 505 deletions(-)
diff --cc zh/option/series/gauge.md
index b6181a4,36aff76..9d227ae
--- a/zh/option/series/gauge.md
+++ b/zh/option/series/gauge.md
@@@ -6,21 -6,8 +6,21 @@@
**仪表盘**
**示例:**
- ~[600x500](${galleryViewPath}gauge-car)
+ ~[600x500](${galleryViewPath}gauge-car&reset=1&edit=1)
+<ExampleBaseOption name="gauge" title="基础仪表盘" title-en="Basic Gauge">
+const option = {
+ series: [
+ {
+ name: 'Indicator',
+ type: 'gauge',
+ detail: {formatter: '{value}%'},
+ data: [{value: 50, name: 'Percent'}]
+ }
+ ]
+};
+</ExampleBaseOption>
+
## type(string) = 'gauge'
{{use: partial-component-id(prefix="#")}}
@@@ -30,19 -17,11 +30,19 @@@
{{ use: partial-circular-layout }}
<!-- overwrite radius -->
## radius(number|string) = '75%'
+
+<ExampleUIControlPercent default="75%" />
+
仪表盘半径,可以是相对于容器高宽中较小的一项的一半的百分比,也可以是绝对的数值。
- {{ use partial-legend-hover-link }}
+ {{ use: partial-legend-hover-link }}
## startAngle(number) = 225
+
+
+<ExampleUIControlAngle min="-360" max="360" default="225" step="1" />
+
+
仪表盘起始角度。[圆心](~series-gauge.center) 正右手侧为`0`度,正上方为`90`度,正左手侧为`180`度。
## endAngle(number) = -45
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org