Jump to content
Software FX Community

Re: How to clone charts to preserve only properties, not data?

Software FX

Recommended Posts

You can use the Export method, in conjuction with the FileMask property to

export the chart to a file or memory stream then load it back into a new

chart object.




"Petr Prikryl"

<Answer.via.news.please.prikrylp@nospam.skil.nospam.cz.nospam> wrote in

message news:b76x7RPDAHA.1416@sfxserver.softwarefx.com...

> Hi, (CFX98, VC++ 6, ATL, WTL, Windows 9x+)


> I would like to ask you for hints how the following

> behaviour can or should be implemented.


> Our application shows some results in the chart

> where a user can interactively change some

> properties like colours, a kind of graph for series,

> etc.


> What we need is to create another chart which is

> the clone of the original chart with respect to

> properties. The number of series and their

> labeling is preserved, but the points will be

> different (different values, possibly different

> count of points).


> In other words, the new chart should look the same,

> but it will be filled with a different set of

> points.


> How this should be done?


> Thanks for your help,


> Petr


> --

> Petr Prikryl, SKIL s.r.o., e-mail: prikrylp at skil dot cz

> Please, don't reply via e-mail.




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...