Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Ability to change values dynamically and have the chart animate in real time #4

Open
kevinnal opened this issue Jan 12, 2015 · 2 comments

Comments

@kevinnal
Copy link

We are using SignalR and would like to update chart dynamically when values are changed from server side. Ideally chart will be constantly changing (some values will change and chart has to reflect this in real time) and animation will simply adjust color sections according to value changes.

One could simply have a textbox with number input which will update certain value and will see animated change take place.

Is this possible with current js? if not what is the effort to accomplish this.

Thanks in advance!

@pre2612
Copy link

pre2612 commented Feb 26, 2016

I achieved this using angular creating a scope function and calling that function in view to create chart. everytime data changes view (chart) gets regerated

@pre2612
Copy link

pre2612 commented Feb 26, 2016

even with jquery this should be possible. create a function with all the changes you want when data changes. you can watch data change and call the function. Remove html inside that element and recreate it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants