Page 1 of 1

Dashboard not printing correctly.

Posted: Tue Aug 23, 2016 3:59 pm
by 16578095
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?

Re: Dashboard not printing correctly.

Posted: Tue Aug 23, 2016 4:18 pm
by 16578095
Attached is the demo project I'm using to test various options out.

Re: Dashboard not printing correctly.

Posted: Wed Aug 24, 2016 10:23 am
by yeray
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 13297 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 13299 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.

Re: Dashboard not printing correctly.

Posted: Wed Aug 24, 2016 11:00 am
by 16578095
Thank you - when might the next maintenance release be available please?

Re: Dashboard not printing correctly.

Posted: Thu Aug 25, 2016 9:02 am
by yeray
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.

Re: Dashboard not printing correctly.

Posted: Thu Aug 25, 2016 10:28 am
by 16578095
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 13304 times

Re: Dashboard not printing correctly.

Posted: Thu Aug 25, 2016 10:43 am
by yeray
Hello,

I see your titles use a white font. Note the printing routine sets a white background. So try changing your font color.

Re: Dashboard not printing correctly.

Posted: Thu Aug 25, 2016 12:52 pm
by 16578095
Doh! Sorry, I didn't spot that. Thank you.