Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

饼图出现缺某一块现象 #26

Closed
kvent2016 opened this issue Sep 15, 2017 · 6 comments
Closed

饼图出现缺某一块现象 #26

kvent2016 opened this issue Sep 15, 2017 · 6 comments

Comments

@kvent2016
Copy link

点击饼图某一块时,重新设置options,出现startAngel of undefined并缺少某一块。但使用搜索或其他方式调用同样方法更新options却无此现象。

@xieziyu
Copy link
Owner

xieziyu commented Sep 18, 2017

@kvent2016 从你的描述中,我无法确定问题具体的表现,请提供一下相应的代码片段或者模拟代码,从而帮助定位问题

@kvent2016
Copy link
Author

kvent2016 commented Sep 19, 2017

onChartClick(event){
this.parentEchart = true;
}
比较得出问题所在如上所示,执行(chartClick)="onChartClick($event) 该方法,点击后parentEchart输出为true,但html绑定的依然是false。
留个QQ可以吗,或者286507295加下我,感谢!

补充:
很有可能是事件没有传递到controller层,当我在绑字chartClick的div上再加个(click)事件。点击饼图执行后,再点击一下就可以了。(click)做了一遍数据传递。chartClick并没有传递参数到html。

@xieziyu
Copy link
Owner

xieziyu commented Sep 26, 2017

目测这个issue和#28 是同一个情况,我会抽空将这个问题fix掉。

@xieziyu
Copy link
Owner

xieziyu commented Sep 26, 2017

@kvent2016 我还是没法复现这个问题。我测试了angular能够正确检测chartClick事件处理函数内部的模型变化。

@SaErNuoSi
Copy link

@xieziyu #28这个问题有没有修复。。我使用的最新的2.0在点击barChart以后。想更新另外一个pieChart.发现视图没有发生变化
source.zip

@xieziyu
Copy link
Owner

xieziyu commented Dec 11, 2017

@SaErNuoSi @kvent2016
Thanks for your comments. This issue should be fixed in v2.0.1. I will publish it soon.

@xieziyu xieziyu closed this as completed Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants