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

Add update method to global api #27

Merged
merged 1 commit into from
Aug 6, 2014

Conversation

brainfloat
Copy link
Contributor

I've been working on a project that requires dynamic layout, currently the chart only updates on window resize and the existing refresh() method in the global API completely resets the chart including the hidden/shown items and stacked/grouped setting.

I've added an update method to the API to expose chart.update() so a simple redraw can be requested through the api, I think this would be a useful addition to the project.

@krispo
Copy link
Owner

krispo commented Aug 6, 2014

Ok, thanks man! I'll add it.

You can check also refreshDataOnly option in config attribute, and this real-time example.

krispo added a commit that referenced this pull request Aug 6, 2014
@krispo krispo merged commit 6b09699 into krispo:master Aug 6, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants