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/07/11 08:40:58 UTC

[echarts] branch fix/visualMap-label-indicator updated: fix(visualMap): fix wrong type of ecData.

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

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


The following commit(s) were added to refs/heads/fix/visualMap-label-indicator by this push:
     new 2f29323e1 fix(visualMap): fix wrong type of ecData.
2f29323e1 is described below

commit 2f29323e10311aebf646eb5458271bd5cfbe088b
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Jul 11 16:38:02 2022 +0800

    fix(visualMap): fix wrong type of ecData.
---
 src/component/visualMap/ContinuousView.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/component/visualMap/ContinuousView.ts b/src/component/visualMap/ContinuousView.ts
index 68ad34317..988694516 100644
--- a/src/component/visualMap/ContinuousView.ts
+++ b/src/component/visualMap/ContinuousView.ts
@@ -32,12 +32,12 @@ import GlobalModel from '../../model/Global';
 import ExtensionAPI from '../../core/ExtensionAPI';
 import Element, { ElementEvent } from 'zrender/src/Element';
 import { TextVerticalAlign, TextAlign } from 'zrender/src/core/types';
-import { ColorString, ECEventData, Payload } from '../../util/types';
+import { ColorString, Payload } from '../../util/types';
 import { parsePercent } from 'zrender/src/contain/text';
 import { setAsHighDownDispatcher } from '../../util/states';
 import { createSymbol } from '../../util/symbol';
 import ZRImage from 'zrender/src/graphic/Image';
-import { getECData } from '../../util/innerStore';
+import { ECData, getECData } from '../../util/innerStore';
 import { createTextStyle } from '../../label/labelStyle';
 import { findEventDispatcher } from '../../util/event';
 
@@ -817,7 +817,7 @@ class ContinuousView extends VisualMapView {
     }
 
     private _hoverLinkFromSeriesMouseOver(e: ElementEvent) {
-        let ecData: ECEventData;
+        let ecData: ECData;
 
         findEventDispatcher(e.target, target => {
             const currECData = getECData(target);


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