Reputation: 3296
I am looking for a way to chart data using C# .NET. I have a SQLite file containing the data I wish to chart, but the data is updated every 15 seconds and I would like to have the ability to "animate" or live update the data at a specified interval.
I was using ASP.NET charting controls but found it to slow down as more data is added. When I was using this method, I simply placed an auto refresh on the page and regenerated the graph each time.
I am open to using any .NET technology available to present this data (i.e. Silverlight, WPF, .NET, etc.).
I also would like to avoid using any third party PAID software, FOSS .NET solutions are fine.
Does anyone know how to present the data and generate the graph so the chart only renders additions instead of rebuilding the entire graph each time the "page" is reloaded?
Thanks!
Upvotes: 3
Views: 3851
Reputation: 2704
I have developed a couple of systems that streamed high frequency financial data to client browsers. They used:
I would suggest looking at tutorials on :
In using Silverlight and pushing updates to the client this way, only the new/ updated data changes, therefore only this data is rendered and there are no page reloads.
Upvotes: 0
Reputation: 6908
WPF and Silverlight both support data binding. If the data being monitored supports INotifyPropertyChanged and, for collections, INotifyCollectionChanged, then some behind-the-scenes observer pattern technology gets hooked up and you can get have portions of your GUI respond to very precise changes in your data rather than having to refresh everything. This technology is probably exactly what you are looking for, but may take a little legwork on your part if you aren't familiar with the technology, which is one of the backbones of WPF and of Silverlight.
Fortunately, getting started is not hard, and is a great investment in knowledge. Perhaps start with one of the many free databinding tutorials, or I recommend one of the web certification video courses, such as those offered by PluralSight.
Upvotes: 2
Reputation: 10967
Well i would suggest some Commercial Control's which works fine and are fast enough . http://devexpress.com/Products/NET/Controls/Charting/ http://www.componentone.com/SuperProducts/Chart/
Upvotes: 0