Reputation: 2169
I already found some examples for drawing a chart with real time data in one of the links below in the comments. My question now is, can I also draw in real time things such as chart labels, axis and other related things?
Actually what I was looking for was to draw a chart for real-time data. Searching for real-time instead of dynamic data, I found my answer. Now I have another question. Is there a way to also add text in the chart that will change dynamically as the chart draws?
Upvotes: 2
Views: 17316
Reputation: 19893
You haven't specified whether it's WPF / WinForms or Silverlight, I'll give you a WPF/Silverlight answer.
There are free charting controls available like in WPF/Silverlight Toolkit or Visifire(not sure if it's free anymore). That + Databinding + (optionally) the MVVM pattern (which - for me personally makes things easier)
You can use an ObservableCollection to store data that's changing over time
Upvotes: 1
Reputation: 14783
You can use the .net charting controls
http://code.msdn.microsoft.com/mschart
As for updating the charts over time, just refresh the chart periodically.
Upvotes: 4