Dashboard not printing correctly.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
OSNick
Newbie
Newbie
Posts: 23
Joined: Thu Apr 21, 2016 12:00 am

Dashboard not printing correctly.

Post by OSNick » Tue Aug 23, 2016 3:59 pm

I'm using D2007 with TeeChart Pro v2016.18 .160504 32bit VCL. Running on Windows 10.

I have created a Tdashboard form with a ChartPreviewer connected and a print button that just does ChartPreviewer1.Execute;

The chart looks fine in the previewer but when I print it renders the dashboard into a small square top left of the paper.

Is there a fix for this please?

OSNick
Newbie
Newbie
Posts: 23
Joined: Thu Apr 21, 2016 12:00 am

Re: Dashboard not printing correctly.

Post by OSNick » Tue Aug 23, 2016 4:18 pm

Attached is the demo project I'm using to test various options out.
Attachments
TDashBoard.zip
Demo project and compiled exe.
(10.63 KiB) Downloaded 1573 times

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

Re: Dashboard not printing correctly.

Post by Yeray » Wed Aug 24, 2016 10:23 am

Hello,

Using a virtual pdf printer I get this result with TeeChart v2016.18 that seems to be what you are reporting:
AcroRd32_2016-08-24_12-21-08.png
AcroRd32_2016-08-24_12-21-08.png (7.76 KiB) Viewed 23704 times
However, with the current sources I get this:
AcroRd32_2016-08-24_12-21-30.png
AcroRd32_2016-08-24_12-21-30.png (29 KiB) Viewed 23706 times
Which is not perfect because the gradients aren't supported in the export to pdf, but it works much better.

So the next maintenance release should fix this issue.
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

OSNick
Newbie
Newbie
Posts: 23
Joined: Thu Apr 21, 2016 12:00 am

Re: Dashboard not printing correctly.

Post by OSNick » Wed Aug 24, 2016 11:00 am

Thank you - when might the next maintenance release be available please?

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

Re: Dashboard not printing correctly.

Post by Yeray » Thu Aug 25, 2016 9:02 am

Hello Nick,

Since you are a source code customer I can send you the affected units so you can extract them to your "Sources" folder overriding the v2016.18 units and rebuild the packages with TeeRecompile.
I'll send you a mail with the patch.
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

OSNick
Newbie
Newbie
Posts: 23
Joined: Thu Apr 21, 2016 12:00 am

Re: Dashboard not printing correctly.

Post by OSNick » Thu Aug 25, 2016 10:28 am

Thank you - the dashboard charts now print correctly BUT there are no titles either for the charts or the dashboard.
DashboardPrint.JPG
DashboardPrint.JPG (247.74 KiB) Viewed 23711 times

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

Re: Dashboard not printing correctly.

Post by Yeray » Thu Aug 25, 2016 10:43 am

Hello,

I see your titles use a white font. Note the printing routine sets a white background. So try changing your font color.
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

OSNick
Newbie
Newbie
Posts: 23
Joined: Thu Apr 21, 2016 12:00 am

Re: Dashboard not printing correctly.

Post by OSNick » Thu Aug 25, 2016 12:52 pm

Doh! Sorry, I didn't spot that. Thank you.

Post Reply