Jump to content
Software FX Community

Exported metafiles/gradients and legend colors.


User (Legacy)

Recommended Posts

Hi,

I have a chart in which gradient colors are used. In the design of the

chart the legend colors seem to be fine (seems when the legend is on top it

uses the Color choice of the gradient colors when the legend it docked to

the bottom it uses the alternate colors). However this seems to reverse

itself when exported to a metafile. See the attached image, the image on

the right is an exported metafile of the chart on the left. Is there a work

around for this or could I possibly be doing something wrong? Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

That is weird, because the images exported to metafiles that I am displaying

to the user clearly show the gradients in the metafile image.

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:7Ywh5w5nFHA.356@webserver3.softwarefx.com...

> Metafiles don't support gradients, Metafiles are a GDI format while

> gradients is a new feature of GDI+.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Link to comment
Share on other sites

Thanks for the reply.

I am exporting to a memory stream:

Chart.Export(FileFormat.Metafile, this.imageMemoryStream);

If I get a chance I will put together a sample, but right now it is low on

my priority list. Thanks for the look anyway!

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:TxIkKUBqFHA.4084@webserver3.softwarefx.com...

> Are you exporting to the clipboard or to a file ?

>

> Can you provide a sample application that reproduces the problem ?

>

> --

> Francisco Padron

> www.chartfx.com

>

>

post-2107-1392237960081_thumb.jpg

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...