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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
