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


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

  • Create New...