Giter Club home page Giter Club logo

Comments (6)

xieziyu avatar xieziyu commented on May 16, 2024

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

from ngx-echarts.

kvent2016 avatar kvent2016 commented on May 16, 2024

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

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

from ngx-echarts.

xieziyu avatar xieziyu commented on May 16, 2024

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

from ngx-echarts.

xieziyu avatar xieziyu commented on May 16, 2024

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

from ngx-echarts.

SaErNuoSi avatar SaErNuoSi commented on May 16, 2024

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

from ngx-echarts.

xieziyu avatar xieziyu commented on May 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.