This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push: new 78d6f02 fix: add name for markLine and markArea data 78d6f02 is described below commit 78d6f025e7f9899c08564c7ebf76da90f282a2eb Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Tue Oct 22 11:29:47 2019 +0800 fix: add name for markLine and markArea data --- en/option/partial/mark-area.md | 4 ++++ en/option/partial/mark-line.md | 4 ++++ zh/option/partial/mark-area.md | 4 ++++ zh/option/partial/mark-line.md | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/en/option/partial/mark-area.md b/en/option/partial/mark-area.md index fdc21fb..da9bc11 100644 --- a/en/option/partial/mark-area.md +++ b/en/option/partial/mark-area.md @@ -145,6 +145,10 @@ The value can be the name of the dimension (for example, the value can be `x`, ` The format is [start coordinate, end coordinate], where the coordinate system can be `x`, `y` on [cartesian](~grid), or `radius`, `angle` on [polar](~polar). {{ /if }} + +#${prefix} name(string) = '${name}' +Name of the marker, which will display as a label. + #${prefix} x(number) x value on screen coordinate system, can be pixel number (like `5`), or percent value (like `'20%'`). diff --git a/en/option/partial/mark-line.md b/en/option/partial/mark-line.md index 7ebfa68..1de972d 100644 --- a/en/option/partial/mark-line.md +++ b/en/option/partial/mark-line.md @@ -166,6 +166,10 @@ Coordinates of the starting point or ending point, whose format depends on the c {{ use: marker-coord-explain }} {{ /if }} + +#${prefix} name(string) = '${name}' +Name of the marker, which will display as a label. + #${prefix} x(number) X position according to container, in pixel. diff --git a/zh/option/partial/mark-area.md b/zh/option/partial/mark-area.md index 4e5c38f..ebb6f22 100644 --- a/zh/option/partial/mark-area.md +++ b/zh/option/partial/mark-area.md @@ -140,6 +140,10 @@ data: [ 起点或终点的坐标。坐标格式视系列的坐标系而定,可以是[直角坐标系](~grid)上的 `x`, `y`,也可以是[极坐标系](~polar)上的 `radius`, `angle`。 {{ /if }} + +#${prefix} name(string) = '${name}' +标注名称,将会作为文字显示。 + #${prefix} x(number) 相对容器的屏幕 x 坐标,单位像素,支持百分比形式,例如 `'20%'`。 diff --git a/zh/option/partial/mark-line.md b/zh/option/partial/mark-line.md index c8896de..8774c3b 100644 --- a/zh/option/partial/mark-line.md +++ b/zh/option/partial/mark-line.md @@ -170,6 +170,10 @@ data: [ {{ use: marker-coord-explain }} {{ /if }} + +#${prefix} name(string) = '${name}' +标注名称,将会作为文字显示。 + #${prefix} x(number) 相对容器的屏幕 x 坐标,单位像素。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org