Jump to content
Software FX Community

dynamically adding and removing series from a realtime XY chart

User (Legacy)

Recommended Posts


I have a realtime XY chart running very similar to a stripchart, and I need

to add and remove series at runtime. I know basically how to add a series,

but when I modify the MaxValues property to account for the new series, my

data is lost. Is there a way to add series and resize the chart MaxValues

without having to lose the data? If not, is there a quick/simple way to

copy the previous series data out of the chart, increase MaxValues, and then

put the data back in?

I also need to remove one or more series at runtime, but I can't seem to

find a way to do this other than to simply hide the graph. The problem I'll

have with this is when a user removes most of the series from a chart and

then starts adding new series to the chart, the MaxValues value will become

very large over time. Is there a way to remove a series independently of

the other series?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...