This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c579089c chore: fix a few typos
     new c86e55841 Merge pull request #18103 from striezel-stash/fix-small-typos
1c579089c is described below

commit 1c579089c4c450a825ddff43fe438f657084652b
Author: Dirk Stolle <[email protected]>
AuthorDate: Sun Dec 25 14:30:21 2022 +0100

    chore: fix a few typos
---
 src/component/axis/AxisBuilder.ts          | 4 ++--
 src/component/transform/filterTransform.ts | 8 ++++----
 src/model/Series.ts                        | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/component/axis/AxisBuilder.ts 
b/src/component/axis/AxisBuilder.ts
index d01d20d66..c7b48dcaf 100644
--- a/src/component/axis/AxisBuilder.ts
+++ b/src/component/axis/AxisBuilder.ts
@@ -152,7 +152,7 @@ class AxisBuilder {
         );
 
 
-        // FIXME Not use a seperate text group?
+        // FIXME Not use a separate text group?
         const transformGroup = new graphic.Group({
             x: opt.position[0],
             y: opt.position[1],
@@ -796,7 +796,7 @@ function buildAxisLabel(
                         // in category axis.
                         // (2) Compatible with previous version, which always 
use formatted label as
                         // input. But in interval scale the formatted label is 
like '223,445', which
-                        // maked user repalce ','. So we modify it to return 
original val but remain
+                        // maked user replace ','. So we modify it to return 
original val but remain
                         // it as 'string' to avoid error in replacing.
                         axis.type === 'category'
                             ? rawLabel
diff --git a/src/component/transform/filterTransform.ts 
b/src/component/transform/filterTransform.ts
index 627f3724c..5b557a34d 100644
--- a/src/component/transform/filterTransform.ts
+++ b/src/component/transform/filterTransform.ts
@@ -35,12 +35,12 @@ export const filterTransform: 
ExternalDataTransform<FilterTransformOption> = {
 
     type: 'echarts:filter',
 
-    // PEDING: enhance to filter by index rather than create new data
+    // PENDING: enhance to filter by index rather than create new data
     transform: function (params) {
         // [Caveat] Fail-Fast:
-        // Do not return the whole dataset unless user config indicate it 
explicitly.
-        // For example, if no condition specified by mistake, return an empty 
result
-        // is better than return the entire raw soruce for user to find the 
mistake.
+        // Do not return the whole dataset unless user config indicates it 
explicitly.
+        // For example, if no condition is specified by mistake, returning an 
empty result
+        // is better than returning the entire raw source for the user to find 
the mistake.
 
         const upstream = params.upstream;
         let rawItem: DataTransformDataItem;
diff --git a/src/model/Series.ts b/src/model/Series.ts
index e2a5577b9..158174c75 100644
--- a/src/model/Series.ts
+++ b/src/model/Series.ts
@@ -146,7 +146,7 @@ class SeriesModel<Opt extends SeriesOption = SeriesOption> 
extends ComponentMode
     // @readonly
     seriesIndex: number;
 
-    // coodinateSystem will be injected in the echarts/CoordinateSystem
+    // coordinateSystem will be injected in the echarts/CoordinateSystem
     coordinateSystem: CoordinateSystem;
 
     // Injected outside


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to