Jump to content
Software FX Community

exporting to metafile


User (Legacy)
 Share

Recommended Posts

Hello,

I'm using chartfx client server 5.0.5 and have got a question about

exporting the chart in VC++ to a metafile using the following command:

m_pChartFX->Export(CHART_METAFILE,COleVariant("c:\\temp\\chartfx1.wmf"))

When I open this file in powerpoint, it shows a very small rectangle, when

resizing it only contains a gray area.

If I save it like

m_pChartFX->Export(CHART_CFXOLEFILE,COleVariant("c:\\temp\\chartfx1.obj"));

and then open it powerpoint as an ole object, it shows the chart all right

but the graphics are horrible.. however when you double click on it the

component activates and the graphics are shown properly..

Is there any way the OLEObject can show better graphics when is not

activated? Or even better how can I get the Export to Metafile to work?

b.t.w. The chart is created without a window...

Then finally I would like to show customized point labels for the objects

displayed in the chart. I created an event handler that replaces the strings

using the GetPointLabel event. When exporting this chart to an ChartFX OLE

File and importing it in PowerPoint the regular point labels appear but not

the customized ones. Does anybody know why?

Thanks in advance,

Frans

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