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

Chart data变化不触发图表刷新 #4

Open
Deathsteps opened this issue Apr 16, 2019 · 3 comments
Open

Chart data变化不触发图表刷新 #4

Deathsteps opened this issue Apr 16, 2019 · 3 comments

Comments

@Deathsteps
Copy link

Deathsteps commented Apr 16, 2019

我看代码中,Chart 组件的 componentWillReceiveProps 实现是空的

componentWillReceiveProps (nextProps: IRChart) {

@RaulZuo
Copy link
Contributor

RaulZuo commented May 8, 2019

data变化是在 componentDidUpdate 中实现图表刷新的

@adam1985
Copy link

adam1985 commented May 9, 2019

data变化刷新图表的确有点问题?多次chart.repaint()?

@RaulZuo
Copy link
Contributor

RaulZuo commented May 14, 2019

图表re-render的时候会多次chart.repaint()?
把具体实例代码贴出来看下

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