You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/09/25 13:35:58 UTC

[echarts] 03/03: fix(chart): remove unused imports.

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

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

commit 14521df42ab1cc0d27ed099800dc37e2e425ec7e
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Sun Sep 25 21:34:31 2022 +0800

    fix(chart): remove unused imports.
---
 src/chart/graph/GraphView.ts         | 3 +--
 src/chart/sunburst/sunburstLayout.ts | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/chart/graph/GraphView.ts b/src/chart/graph/GraphView.ts
index bd5b9669c..0c6d1e01b 100644
--- a/src/chart/graph/GraphView.ts
+++ b/src/chart/graph/GraphView.ts
@@ -17,7 +17,6 @@
 * under the License.
 */
 
-import * as zrUtil from 'zrender/src/core/util';
 import SymbolDraw, { ListForSymbolDraw } from '../helper/SymbolDraw';
 import LineDraw from '../helper/LineDraw';
 import RoamController, { RoamControllerHost } from '../../component/helper/RoamController';
@@ -307,4 +306,4 @@ class GraphView extends ChartView {
     }
 }
 
-export default GraphView;
\ No newline at end of file
+export default GraphView;
diff --git a/src/chart/sunburst/sunburstLayout.ts b/src/chart/sunburst/sunburstLayout.ts
index f84fc3b53..a45f211c5 100644
--- a/src/chart/sunburst/sunburstLayout.ts
+++ b/src/chart/sunburst/sunburstLayout.ts
@@ -21,9 +21,8 @@ import { parsePercent } from '../../util/number';
 import * as zrUtil from 'zrender/src/core/util';
 import GlobalModel from '../../model/Global';
 import ExtensionAPI from '../../core/ExtensionAPI';
-import SunburstSeriesModel, { SunburstSeriesNodeItemOption, SunburstSeriesOption } from './SunburstSeries';
+import SunburstSeriesModel, { SunburstSeriesOption } from './SunburstSeries';
 import { TreeNode } from '../../data/Tree';
-import SeriesModel from '../../model/Series';
 
 // let PI2 = Math.PI * 2;
 const RADIAN = Math.PI / 180;


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