Page 1 of 1

Problem with chart printing

Posted: Tue Nov 25, 2008 3:55 pm
by 10550029
Hi,

I have a very strange problem when I print a chart on a canvas or saving the bitmap to a file :

- I create a TChart component and assign to it the TChart I have on my form (used to change some parameters like hiding legend)
- I copy the series with the method "CloneChartSeries"
- I save the bitmap to a file using TeeCreateBitmap.SaveToFile

My problem is that it works correctly on a workstation, but on another worstation, when I save the bitmap, the size of the Chart and the color of the series are changed. Furthermore, if I display the colors with "ShowMessage", they are correct, but not on the bitmap.

Have you any idea of the origin of the problem?

Best regards,

Paul

Posted: Mon Dec 01, 2008 2:13 pm
by narcis
Hi Paul,

Could you please try reproducing this in different machines? If the problem persists could you send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.