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

wangzx pushed a commit to branch fix-lines-log
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit e87a314d9bb2d1c40825fc6dd3942bc0ee671268
Author: Zhongxiang Wang <[email protected]>
AuthorDate: Fri Jan 14 21:06:24 2022 +0800

    fix(lines): use echarts log instead of zrender log.
---
 src/chart/lines/linesLayout.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/chart/lines/linesLayout.ts b/src/chart/lines/linesLayout.ts
index 4e4a833..56f637d 100644
--- a/src/chart/lines/linesLayout.ts
+++ b/src/chart/lines/linesLayout.ts
@@ -22,7 +22,7 @@
 import createRenderPlanner from '../helper/createRenderPlanner';
 import { StageHandler } from '../../util/types';
 import LinesSeriesModel, {LinesDataItemOption} from './LinesSeries';
-import { logError } from 'zrender/src/core/util';
+import { error } from '../../util/log';
 
 const linesLayout: StageHandler = {
     seriesType: 'lines',
@@ -33,7 +33,7 @@ const linesLayout: StageHandler = {
         const coordSys = seriesModel.coordinateSystem;
         if (!coordSys) {
             if (__DEV__) {
-                logError('The lines series must have a coordinate system.');
+                error('The lines series must have a coordinate system.');
             }
             return;
         }

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

Reply via email to