Jump to content
Software FX Community

Replacing points


User (Legacy)

Recommended Posts

I am getting real time data, however, i do not wish to keep adding points.

Instead i want to add the most recent data for today for the value of a new

point which will be added to the chart. I then want to change that point's

value if any new updates from my real time source come back. So i do't want

to keep adding points, i just want to replace the same one. Whats the best

way to do this?

Link to comment
Share on other sites

Hello,

Using the opendata method to manually pass data with the Unchange setting

should give you the best result.

System.Random r;

r= new System.Random();

chart1.OpenData(COD.Values, 1, (int) SoftwareFX.ChartFX.COD.Unchange);

chart1.Value[0, 0] = r.NextDouble()* 80;

chart1.CloseData(COD.Values);

JT

Tech Support

"Marco Carvalho" <MCarvalho@gweiss.com> wrote in message

news:80Io6$MaDHA.696@WEBSERVER1...

> I am getting real time data, however, i do not wish to keep adding points.

> Instead i want to add the most recent data for today for the value of a

new

> point which will be added to the chart. I then want to change that point's

> value if any new updates from my real time source come back. So i do't

want

> to keep adding points, i just want to replace the same one. Whats the best

> way to do this?

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...