Hi,
I am trying to plot a real-time webchart on a ASP.NET MVC 3 Razor view page.
The chart gets automatically gets data from the database and plots a new point on the chart on a set time interval and removes the first point after a set maximum number of points on the chart has been exceeded.
I am able to do this on a windows form using the timers to refresh to get data. But I am a little stumped on how to do that on ASP.NET.
Can anyone help?
Thanks in advance!
Cheers,
Mark
Hello Mark,
In this scenario usage of “WebChart” may not be the best approach because this control needs to make a Postback to the Server (to generate new image) every time when change is made.
This can lead to both performance and appearance (flickering) issues.
In such scenarios I can recommend you using either our Silverlight chart or better (for MVC) our new IGNITEUI data chart. Here are some samples showing work of these controls with real-time data:
http://ko.infragistics.com/products/silverlight/sample/data-chart/#/binding-live-data
http://ko.infragistics.com/products/jquery/sample/chart/live-data
Have you been able to resolve your issue? If you have more questions or concerns or if you need any further assistance with this case don’t hesitate to contact us again.