You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2021/10/09 15:12:58 UTC

[echarts] branch revert-15535-line-click created (now 27b2398)

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

susiwen8 pushed a change to branch revert-15535-line-click
in repository https://gitbox.apache.org/repos/asf/echarts.git.


      at 27b2398  Revert "Feat(line): event on whole line"

This branch includes the following new commits:

     new 27b2398  Revert "Feat(line): event on whole line"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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


[echarts] 01/01: Revert "Feat(line): event on whole line"

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

susiwen8 pushed a commit to branch revert-15535-line-click
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 27b239820588ab95a4eccbd14e72ff21c6c8893d
Author: susiwen8 <su...@gmail.com>
AuthorDate: Sat Oct 9 23:12:46 2021 +0800

    Revert "Feat(line): event on whole line"
---
 src/core/echarts.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/echarts.ts b/src/core/echarts.ts
index 6e802ca..8a61c98 100644
--- a/src/core/echarts.ts
+++ b/src/core/echarts.ts
@@ -1007,7 +1007,7 @@ class ECharts extends Eventful<ECEventDefinition> {
                 else {
                     el && findEventDispatcher(el, (parent) => {
                         const ecData = getECData(parent);
-                        if (ecData && (ecData.dataIndex != null || ecData.seriesIndex != null)) {
+                        if (ecData && ecData.dataIndex != null) {
                             const dataModel = ecData.dataModel || ecModel.getSeriesByIndex(ecData.seriesIndex);
                             params = (
                                 dataModel && dataModel.getDataParams(ecData.dataIndex, ecData.dataType) || {}

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