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 e79b4d40a Fix spelling mistake 'unkown' to 'unknown'
     new 672c7240b Merge pull request #17750 from 
mountainash/fix/unkown-spelling
e79b4d40a is described below

commit e79b4d40a4cea053e05fbc44160ab2d15ce62bd1
Author: Mountain/\Ash <mountain...@rmwpublishing.net>
AuthorDate: Tue Oct 11 13:07:24 2022 +0000

    Fix spelling mistake 'unkown' to 'unknown'
---
 src/chart/lines/LinesSeries.ts | 2 +-
 src/model/Global.ts            | 2 +-
 src/visual/style.ts            | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/chart/lines/LinesSeries.ts b/src/chart/lines/LinesSeries.ts
index f97b6a0b9..7b8ff2878 100644
--- a/src/chart/lines/LinesSeries.ts
+++ b/src/chart/lines/LinesSeries.ts
@@ -306,7 +306,7 @@ class LinesSeriesModel extends 
SeriesModel<LinesSeriesOption> {
         if (__DEV__) {
             const CoordSys = CoordinateSystem.get(option.coordinateSystem);
             if (!CoordSys) {
-                throw new Error('Unkown coordinate system ' + 
option.coordinateSystem);
+                throw new Error('Unknown coordinate system ' + 
option.coordinateSystem);
             }
         }
 
diff --git a/src/model/Global.ts b/src/model/Global.ts
index cadc98b20..8cd57d3d9 100644
--- a/src/model/Global.ts
+++ b/src/model/Global.ts
@@ -427,7 +427,7 @@ import { ${seriesImportName} } from 'echarts/charts';
 echarts.use([${seriesImportName}]);`);
                                 }
                                 else {
-                                    error(`Unkown series ${subType}`);
+                                    error(`Unknown series ${subType}`);
                                 }
                             }
                         }
diff --git a/src/visual/style.ts b/src/visual/style.ts
index 0a1888f99..b0937229b 100644
--- a/src/visual/style.ts
+++ b/src/visual/style.ts
@@ -43,7 +43,7 @@ function getStyleMapper(seriesModel: SeriesModel, stylePath: 
string) {
     const styleMapper = seriesModel.visualStyleMapper
         || defaultStyleMappers[stylePath as 'itemStyle' | 'lineStyle'];
     if (!styleMapper) {
-        console.warn(`Unkown style type '${stylePath}'.`);
+        console.warn(`Unknown style type '${stylePath}'.`);
         return defaultStyleMappers.itemStyle;
     }
     return styleMapper;
@@ -55,7 +55,7 @@ function getDefaultColorKey(seriesModel: SeriesModel, 
stylePath: string): 'strok
         || defaultColorKey[stylePath as 'itemStyle' | 'lineStyle'];
 
     if (!colorKey) {
-        console.warn(`Unkown style type '${stylePath}'.`);
+        console.warn(`Unknown style type '${stylePath}'.`);
         return 'fill';
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to