Jump to content
Software FX Community

exporting to metafile


User (Legacy)

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

Archived

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

×
×
  • Create New...