开发者

Performance out of windows C# chart controls?

Has any one had any luck with getting good performance out of the built in c# chart running in real time?

I have made a chart with 3 charting areas and 9 series which are all the fast line type. I update in real time points to the series and shift the graphs over once 7 seconds of data has been graphed. All this works fine, however the rate that my graphs update is horribly slow. Sometimes it can take almost a second for the data being fed in to be shown in the graph (and many times i wonder if it is accurately updating my graph with my data since it is so slow and the data changes can be so fast).

I have tried using mychart.Series.SuspendUpdates(), Series.ResumeUpdates(), and Series.Invalidate() as i saw on different posting with no noticeable results.

If anyone could share some insight about ways to optimize I would be truly gracious.( and cutting the number d开发者_如何学Goata points is not a valid optimization )

Thanks in advance OCV


If external libraries is an option, ZedGraph worked great for me when displaying data at 10ms intervals (up to 8 series).

If you really must use the built-in C#, I think you might prevent blocking by separating drawing a data into separate threads.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜