Jump to content
Software FX Community

Reset series in real time chart


User (Legacy)

Recommended Posts

Hi,

I have a real time chart with one series that works fine.

My question is how do i reset the series ? Meaning, when i press a button i

want the series to start all over again from zero x point. I tried:

chart1.Data.Clear() but then i get null exception when trying to add point

to the chart using:

chart1.RealTime.BeginAddData(1, RealTimeAction.Append);

chart1.Data[0, 0] = data;

I there a way to clear/reset the series ?

Thanks,

Kfir, Finjan.com LTD

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...