Jump to content
Software FX Community

Re: Is there a way to "copy" and/or "save" chart?


Software FX
 Share

Recommended Posts

1) Yes. You can reuse the chart as you like. At any given point however, the 

chart must have only ONE container.

MFC however, will not let you manipulate the control in this way. You can

not pass a pointer to an MFC control. The only way to initialize the pointer

to the control in MFC is by creating one. Well, at least not as far as I

know ...

So even though neither OLE nor Chart FX imposes any restrictions on setting

a diferent container at run time, MFC makes it hard.

2) Chart FX is a generic OLE Control so it doesn't know a CFile/CArchive.

You can export the chart to a file passing the HANDLE to the file (which you

can obtain from CFile if the file is a disk file) and you can also export

the chart to an OLE Stream or Storage.

Frank

SFX

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.

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

 Share

×
×
  • Create New...