Printing issue with TeeChart Pro 2011 for Delphi XE2

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by marder » Wed Nov 07, 2012 4:41 pm

Hi Yeray,

I downloaded the V2012.07 prerelease version (full source code), installed and tried to open the "TeeChart for VCL" project group (to build and use this version).
Actually this does not work, since all projects are removed from the group (cannot be found).

Could it be that this version is only compatible with Delphi XE3 (I’m using Delphi XE2)?

Note: With my currently used version (V2012.06) I still see the issue described in this bug.

Best regards.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by Narcís » Thu Nov 08, 2012 8:19 am

Hi marder,

No, the version should work fine in all environments. Please try downloading built 2012.07.121105 which was released earlier this week: http://www.teechart.net/support/viewtop ... =3&t=13665. To compile and install the packages in the IDE we strongly recommend you to use TeeRecompile tool supplied with the source code installer.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by marder » Thu Nov 08, 2012 11:00 am

Hi Narcis,

Thank your for the installation instructions!

I downloaded again and installed latest version correctly, but still get the same strange font for the marks labels when printing using PrintPartial:
Image

Please note that I have the following code in my FormCreate:

Code: Select all

var
  lCanvas: TGDIPlusCanvas;
begin
  lCanvas := TGDIPlusCanvas.Create;
  lCanvas.AntiAliasText := gpfBest;
  Chart1.Canvas := lCanvas;
The code for printing looks like this:

Code: Select all

  Chart1.PrintPartial(Rect(Printer.PageWidth div 20, Printer.PageHeight div 5, Printer.PageWidth - Printer.PageWidth div 20, Printer.PageHeight - Printer.PageHeight div 10));
Best regards.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by Yeray » Mon Nov 12, 2012 12:06 pm

Hi Marder,

We've been testing this in different machines, with different IDEs and different TeeChart versions, both with a virtual pdf printer and with a physical printer. I'm afraid we can't reproduce the problem, even with the XE2 and v2011.04, the version at the time we recognized to have reproduced it and so opened the bug ticket.
So we are a bit confused. Do you have the IDE up to date (Update 4 Hotfix 1)?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by marder » Mon Nov 12, 2012 3:16 pm

Hi Yeray,

I am using Delphi XE2 Update 4 (IDE Fix Pack XE2 4.9.1).

P.S.: This issue is not very urgent for us, since the workaround you provided (exporting chart to bitmap and printing the bitmap) works ok for our task.

Best regards.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by Yeray » Mon Nov 12, 2012 3:31 pm

Hi Marder,

I've just installed the Fix Pack 4.9.1 and I'm still not able to reproduce the problem here.
So I don't see any difference between your system and mine that could be making us to have different results with the same application.
Do you have the Hotfix 1 installed?
http://edn.embarcadero.com/article/42282
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by marder » Tue Nov 13, 2012 9:26 am

Hi Yeray,

No, I currently do not have this Hotfix installed.
I will send you a feedback as soon as I tested this.

Best regards.

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by marder » Wed Nov 14, 2012 2:31 pm

Hi Yeray,

It seems like the hotfix improved the printed output.
Anyway, the legend and marks labels have still very small font, but I guess this is related to the dimension of the chart.

Thanks for your help!

Best regards.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Printing issue with TeeChart Pro 2011 for Delphi XE2

Post by Yeray » Thu Nov 15, 2012 8:10 am

Hi Marder,
marder wrote:It seems like the hotfix improved the printed output.
Anyway, the legend and marks labels have still very small font, but I guess this is related to the dimension of the chart.
Great!
For the fonts, I'd suggest you to increase the fonts size as said before
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply