Comments (6)
@kvent2016 从你的描述中,我无法确定问题具体的表现,请提供一下相应的代码片段或者模拟代码,从而帮助定位问题
from ngx-echarts.
onChartClick(event){
this.parentEchart = true;
}
比较得出问题所在如上所示,执行(chartClick)="onChartClick($event) 该方法,点击后parentEchart输出为true,但html绑定的依然是false。
留个QQ可以吗,或者286507295加下我,感谢!
补充:
很有可能是事件没有传递到controller层,当我在绑字chartClick的div上再加个(click)事件。点击饼图执行后,再点击一下就可以了。(click)做了一遍数据传递。chartClick并没有传递参数到html。
from ngx-echarts.
目测这个issue和#28 是同一个情况,我会抽空将这个问题fix掉。
from ngx-echarts.
@kvent2016 我还是没法复现这个问题。我测试了angular能够正确检测chartClick事件处理函数内部的模型变化。
from ngx-echarts.
@xieziyu #28这个问题有没有修复。。我使用的最新的2.0在点击barChart以后。想更新另外一个pieChart.发现视图没有发生变化
source.zip
from ngx-echarts.
@SaErNuoSi @kvent2016
Thanks for your comments. This issue should be fixed in v2.0.1. I will publish it soon.
from ngx-echarts.
Related Issues (20)
- [loading] property binding is not working . HOT 9
- chart area mousemove HOT 1
- visualMap issues HOT 1
- display context menu only when right clicked on bar HOT 4
- Adding Events from `echarts-gl` into `ngx-echarts` HOT 2
- [HELP NEEDED] "Error: yAxis "0" not found" console error for mixed line and Bar graph. HOT 1
- Can't bind to 'options' since it isn't a known property of 'div'? HOT 3
- force directed graph demo broken HOT 5
- Feature: Function wrapper for the standalone ECharts provider configuration
- heatmap not working using ngx-echarts 16.0.0, but working fine when using echart 5.4.2 directly HOT 1
- [SOLVED] I've got custom theme.js and dunno how to import it into angular app HOT 3
- 实参类型 unknown 不可分配给形参类型 ECElementEvent HOT 1
- After updating from 16.0.0 to 16.1.0 I get compilation errors using angular HOT 9
- Width and Height 100% of parent container
- 'legendselectchanged' event has no Output HOT 3
- Make the directive standalone HOT 1
- echarts/core -> Implementation of registerMap doesn't exists HOT 3
- Ngx-Echarts Animation not working Initially HOT 3
- dispatchAction not updating chart if echart directive is used in ng-template
- Most of EChartsOption and connected fields ts types are not exported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-echarts.