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 2021/05/06 06:22:11 UTC
[echarts] 03/03: chore: remove unused import and code.
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch fix-scripts
in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 76c7f7a5583219d4f7bcaa8cbcb69eced34fb7bc
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Thu May 6 14:18:18 2021 +0800
chore: remove unused import and code.
---
src/chart/candlestick/candlestickVisual.ts | 4 +---
src/model/mixin/palette.ts | 1 -
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/chart/candlestick/candlestickVisual.ts b/src/chart/candlestick/candlestickVisual.ts
index 306123b..963d3dd 100644
--- a/src/chart/candlestick/candlestickVisual.ts
+++ b/src/chart/candlestick/candlestickVisual.ts
@@ -51,8 +51,6 @@ const candlestickVisual: StageHandler = {
);
}
- const data = seriesModel.getData();
-
// Only visible series has each data be visual encoded
if (ecModel.isSeriesFiltered(seriesModel)) {
return;
@@ -81,4 +79,4 @@ const candlestickVisual: StageHandler = {
};
-export default candlestickVisual;
\ No newline at end of file
+export default candlestickVisual;
diff --git a/src/model/mixin/palette.ts b/src/model/mixin/palette.ts
index 73b6e7a..cd2e9f1 100644
--- a/src/model/mixin/palette.ts
+++ b/src/model/mixin/palette.ts
@@ -18,7 +18,6 @@
*/
import {Dictionary} from 'zrender/src/core/types';
-import {isArray} from 'zrender/src/core/util';
import {makeInner, normalizeToArray} from '../../util/model';
import Model from '../Model';
import {ZRColor, PaletteOptionMixin, DecalObject, AriaOptionMixin} from '../../util/types';
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org