This is an automated email from the ASF dual-hosted git repository.
wangdd pushed a commit to branch gl-en
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/gl-en by this push:
new bacafc2 doc: fix some en doc ( part of en/option/...)
bacafc2 is described below
commit bacafc239d9f2f451e1c578249e8ae1d4c56199d
Author: Wdingding <[email protected]>
AuthorDate: Mon Sep 23 13:46:45 2019 +0800
doc: fix some en doc ( part of en/option/...)
---
en/option/option.md | 7 +++++++
en/option/partial/1d-data.md | 2 +-
en/option/partial/animation.md | 2 +-
en/option/partial/icon.md | 2 +-
en/option/partial/rect-layout.md | 8 ++++----
en/option/partial/series-name.md | 2 +-
en/option/partial/tooltip-common.md | 2 +-
en/option/partial/z-zlevel.md | 2 +-
en/option/series/lines.md | 5 +++--
9 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/en/option/option.md b/en/option/option.md
index 333e114..07ece20 100644
--- a/en/option/option.md
+++ b/en/option/option.md
@@ -76,6 +76,13 @@ Global font style.
{{import: partial-animation }}
+# blendMode(string) = 'source-over'
+
+Sets the type of compositing operation to apply when drawing a new shape. See
the different type:
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation
。
+
+The default is `'source-over'`. Support settings for each series.
+
+`'lighter'` is also a common type of compositing operation. In this mode, the
area where the number of graphics is concentrated is superimposed into a
high-brightness color (white). It often used to highlight the effect of the
area. See example [Global airline](${galleryEditorPath}lines-airline)
# useUTC(boolean) = false
diff --git a/en/option/partial/1d-data.md b/en/option/partial/1d-data.md
index f04c472..d570b57 100644
--- a/en/option/partial/1d-data.md
+++ b/en/option/partial/1d-data.md
@@ -56,7 +56,7 @@ More likely, we need to assign name to each data item, in
which case each item s
}]
```
-Each data item can be further custerized:
+Each data item can be further customized:
```js
[{
diff --git a/en/option/partial/animation.md b/en/option/partial/animation.md
index 76f5bc9..dac48af 100644
--- a/en/option/partial/animation.md
+++ b/en/option/partial/animation.md
@@ -37,7 +37,7 @@ Easing method used for animation.
{{ if: !${noAnimationDelay} }}
#${prefix} animationDelayUpdate(number|Function) = 0
-Delay before updating animation, which supports callback function for
different data to have different animation effect.
+Delay before updating animation, which supports callback function for
different data to have different animation effects.
For example:
```js
diff --git a/en/option/partial/icon.md b/en/option/partial/icon.md
index be48e28..9a34b73 100644
--- a/en/option/partial/icon.md
+++ b/en/option/partial/icon.md
@@ -42,7 +42,7 @@ A `dataURI` example:
{{ target: partial-icon-path }}
-Icons can be set to arbitrary vector path via `'path://'` in ECharts. As
compared with raster image, vector paths prevent from jagging and blurring when
scaled, and have a better control over changing colors. Size of vectoer icon
will be adapted automatically. Refer to [SVG
PathData](http://www.w3.org/TR/SVG/paths.html#PathData) for more information
about format of path. You may export vector paths from tools like Adobe
Illustrator.
+Icons can be set to arbitrary vector path via `'path://'` in ECharts. As
compared with a raster image, vector paths prevent jagging and blurring when
scaled, and have better control over changing colors. The size of the vector
icon will be adapted automatically. Refer to [SVG
PathData](http://www.w3.org/TR/SVG/paths.html#PathData) for more information
about the format of the path. You may export vector paths from tools like Adobe
For example:
diff --git a/en/option/partial/rect-layout.md b/en/option/partial/rect-layout.md
index 9f961d3..d2add5c 100644
--- a/en/option/partial/rect-layout.md
+++ b/en/option/partial/rect-layout.md
@@ -12,7 +12,7 @@
Distance between ${componentName} component and the left side of the container.
-`left` value can be instant pixel value like `20`; it can also be percentage
value relative to container width like `'20%'`; and it can also be `'left'`,
`'center'`, or `'right'`.
+`left` value can be instant pixel value like `20`; it can also be a percentage
value relative to container width like `'20%'`; and it can also be `'left'`,
`'center'`, or `'right'`.
If the `left` value is set to be `'left'`, `'center'`, or `'right'`, then the
component will be aligned automatically based on position.
@@ -20,7 +20,7 @@ If the `left` value is set to be `'left'`, `'center'`, or
`'right'`, then the co
Distance between ${componentName} component and the top side of the container.
-`top` value can be instant pixel value like `20`; it can also be percentage
value relative to container width like `'20%'`; and it can also be `'top'`,
`'middle'`, or `'bottom'`.
+`top` value can be instant pixel value like `20`; it can also be a percentage
value relative to container width like `'20%'`; and it can also be `'top'`,
`'middle'`, or `'bottom'`.
If the `left` value is set to be `'top'`, `'middle'`, or `'bottom'`, then the
component will be aligned automatically based on position.
@@ -28,7 +28,7 @@ If the `left` value is set to be `'top'`, `'middle'`, or
`'bottom'`, then the co
Distance between ${componentName} component and the right side of the
container.
-`right` value can be instant pixel value like `20`; it can also be percentage
value relative to container width like `'20%'`.
+`right` value can be instant pixel value like `20`; it can also be a
percentage value relative to container width like `'20%'`.
{{ if: !${defaultRight} }}Adaptive by default.{{ /if }}
@@ -36,6 +36,6 @@ Distance between ${componentName} component and the right
side of the container.
Distance between ${componentName} component and the bottom side of the
container.
-`bottom` value can be instant pixel value like `20`; it can also be percentage
value relative to container width like `'20%'`.
+`bottom` value can be instant pixel value like `20`; it can also be a
percentage value relative to container width like `'20%'`.
{{ if: !${defaultBottom} }}Adaptive by default.{{ /if }}
diff --git a/en/option/partial/series-name.md b/en/option/partial/series-name.md
index 3fedc7a..5a951c7 100644
--- a/en/option/partial/series-name.md
+++ b/en/option/partial/series-name.md
@@ -1,3 +1,3 @@
{{ target: partial-series-name }}
## name(string)
-Series name used for displaying in [tooltip](~tooltip) and filtering with
[legend](~legend), or updaing data and configuration with `setOption`.
+Series name used for displaying in [tooltip](~tooltip) and filtering with
[legend](~legend), or updating data and configuration with `setOption`.
diff --git a/en/option/partial/tooltip-common.md
b/en/option/partial/tooltip-common.md
index bcb3f24..2cc0598 100644
--- a/en/option/partial/tooltip-common.md
+++ b/en/option/partial/tooltip-common.md
@@ -123,7 +123,7 @@ Options:
#${prefix} axisPointer(Object)
-Configuration item for axis indicator.
+Configuration item for axisPointer.
`tooltip.axisPointer` is like syntactic sugar of axisPointer settings on axes
(for example, [xAxis.axisPointer](~xAxis.axisPointer) or
[angleAxis.axisPointer](~angleAxis.axisPointer)). More detailed features can be
configured on `someAxis.axisPointer`. But in common cases, using
`tooltip.axisPinter` is more convenient.
diff --git a/en/option/partial/z-zlevel.md b/en/option/partial/z-zlevel.md
index 69bf278..0b1056d 100644
--- a/en/option/partial/z-zlevel.md
+++ b/en/option/partial/z-zlevel.md
@@ -4,7 +4,7 @@
`zlevel` value of all graphical elements in ${componentName}.
-`zlevel` is used to make layers with Canvas. Graphical elements with different
`zlevel` values will be placed in different Canvases, which is a common
optimization technique. We can put those frequently changed elements (like
those with animations) to a seperate `zlevel`. Notice that too many Canvases
will increase memory cost, and should be used carefully on mobile phones to
avoid crash.
+`zlevel` is used to make layers with Canvas. Graphical elements with different
`zlevel` values will be placed in different Canvases, which is a common
optimization technique. We can put those frequently changed elements (like
those with animations) to a separate `zlevel`. Notice that too many Canvases
will increase memory cost, and should be used carefully on mobile phones to
avoid crash.
Canvases with bigger `zlevel` will be placed on Canvases with smaller `zlevel`.
diff --git a/en/option/series/lines.md b/en/option/series/lines.md
index 59418c2..0b9204e 100644
--- a/en/option/series/lines.md
+++ b/en/option/series/lines.md
@@ -29,14 +29,15 @@ ECharts 2.x uses the `markLine` to draw the migrating
effect, while in ECharts 3
) }}
## polyline(boolean) = false
-If draw as polyline.
+If draw as a polyline.
Default to be `false`. Can only draw a two end straight line.
If it is set true, [data.coords](~series-lines.data.coords) can have more than
two coord to draw a polyline. It is useful when visualizing GPS track data. See
example [lines-bus](${galleryEditorPath}lines-bmap-bus).
## effect(Object)
-The setting about special effect of lines.
+The setting about the special effects of lines.
+
**Tips: **All the graphs with trail effect should be put on a individual
layer, which means that [zlevel](~series-lines.zlevel) need to be different
with others. And the animation ([animation](~series-lines.animation): false)
of this layer is suggested to be turned off at the meanwhile. Otherwise, other
graphic elements in other series and the [label](~series-lines.label) of
animation would produce unnecessary ghosts.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]