Page 1 of 1

Problem printing TChart

Posted: Tue Nov 25, 2008 3:59 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:14 pm
by narcis
Hi Paul,

Please see my reply here.