阅读背景:

在c# WPF上重置chartplotter数据

来源:互联网 

I am using dynamic data display library to view a dynamic integer value coming in at frequent intervals and plotting it as a linegraph ('line1') onto a chartplotter named 'plotter'. What I want is to have a way to erase all the data from the chartplotter when I uncheck the checkbox and start plotting again once i check it back. I thought I might be able to accomplish it with plotter.Children.Remove(line1), but it does not erase the old data. Instead it plots over the old data again and I have double data lines. Here is the code example (includes some pseudo codes) that I have so far. I am using dynamic data display library to view




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: