You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/12/30 02:25:40 UTC

[incubator-echarts] branch master updated: fix https://github.com/apache/incubator-echarts/issues/11658

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

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 52e92ff  fix https://github.com/apache/incubator-echarts/issues/11658
     new 8320d9e  Merge pull request #11934 from daming-lu/fix_issue_11658
52e92ff is described below

commit 52e92ffd3d7b87712a027b64fb8f41398b3b07f4
Author: ludaming <lu...@baidu.com>
AuthorDate: Fri Dec 27 23:33:05 2019 -0800

    fix https://github.com/apache/incubator-echarts/issues/11658
---
 src/chart/pie/PieView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chart/pie/PieView.js b/src/chart/pie/PieView.js
index 6df30b3..dc9f635 100644
--- a/src/chart/pie/PieView.js
+++ b/src/chart/pie/PieView.js
@@ -171,7 +171,7 @@ piePieceProto.updateData = function (data, idx, firstCreate) {
     toggleItemSelected(
         this,
         data.getItemLayout(idx),
-        seriesModel.isSelected(null, idx),
+        seriesModel.isSelected(data.getName(idx)),
         seriesModel.get('selectedOffset'),
         seriesModel.get('animation')
     );


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