Labels and Titles way too large when printing

TeeChart for ActiveX, COM and ASP
kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Labels and Titles way too large when printing

Post by kant » Wed Oct 16, 2013 9:30 am

Hello,
I habe an MS Access application with a integrated linechart both on a preview form and a printed report.
All label and title sizes are defined at runtime and share the same code. Graph title is a label on Access report.
Up to TeeChart 2012 everything works fine. With the latest 2013 version the preview form looks as before
but the printed report has grossly oversized labels and titles.Reverting to 2012 resolves the problem.
Also, PDF created with 2012 is 78 KB, with 2013 3802 KB and the printer usually returns a memory error.
Strangely, the file information on the 2013.ocx shows some rather dated version information.

Thanks for your help,
Andreas
Attachments
Screen_2013ocx.jpg
Screen 2013
Screen_2013ocx.jpg (349.23 KiB) Viewed 9982 times
Print_2013ocx.jpg
Print 2013
Print_2013ocx.jpg (368.9 KiB) Viewed 9925 times
Print_2012ocx.jpg
Print 2012
Print_2012ocx.jpg (340.3 KiB) Viewed 9930 times

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

Re: Labels and Titles way too large when printing

Post by Yeray » Fri Oct 18, 2013 11:01 am

Hello,

Excuse us for the delayed reply here.
I'm trying to reproduce the problem here but I can't. Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Fri Oct 25, 2013 6:44 pm

Yeray,
My project is pretty large and retrieves it's data from MS SQL Server.
I could not yet get around to make a sample Database.
Will get back on this in 2 weeks.

Best regards,
Andreas

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

Re: Labels and Titles way too large when printing

Post by Yeray » Wed Oct 30, 2013 9:03 am

Hi Andreas,

If the data isn't relevant, you could try just with FillSampleValues or a simple routine adding some points.
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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Fri Nov 22, 2013 10:03 am

Hi,
It took me a while to produce the Test database.
It is an Access 2003-DB and has 1 form and 1 report.
Just open them.
The form is always fine unless you want to print it.

Thanks for your help,
Andreas
Attachments
Test_TeeChart1.zip
(114.45 KiB) Downloaded 318 times

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

Re: Labels and Titles way too large when printing

Post by Narcís » Fri Nov 22, 2013 11:53 am

Hi Andreas,

Thanks for the example. I can not run it due to missing Codejock.Controls.v15.0.2.ocx. However, the issue most likely is the same as discussed here: http://bugs.teechart.net/show_bug.cgi?id=69. This will be included in the following TeeChart Pro ActiveX maintenance release.
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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Mon Nov 25, 2013 10:25 am

Hi Narcís

The description fits my problem.
Also I have built a modified example
with the Codejock reference removed.

Thanks,
Andreas
Attachments
Test_TeeChart2.zip
(130.42 KiB) Downloaded 326 times

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

Re: Labels and Titles way too large when printing

Post by Narcís » Mon Nov 25, 2013 11:13 am

Hi Andreas,

Thanks for your feedback. I could reproduce the issue with your file now. We exepct the fix being included for the next maintenance release. If you are interested, we could send you a test .ocx.
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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Mon Nov 25, 2013 2:46 pm

Hi Narcís

I'd gladly test the revised ocx on my full project.

Best regards,
Andreas

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

Re: Labels and Titles way too large when printing

Post by Narcís » Tue Nov 26, 2013 1:00 pm

Hi Andreas,

Ok, just sent you a test .ocx to your forums profile email address.
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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Wed Nov 27, 2013 2:22 pm

Hi Narcis

Thanks for your test OCX.
We are not quite there yet - see the enclosed JPEG's.
Please note that that title and footer text
are directly on the MS Access form/report,
not on the TeeChart control.

Best wishes,
Andreas
Attachments
TeeChart2014_Print.jpg
TeeChart2014_Print.jpg (222.24 KiB) Viewed 9761 times
TeeChart2014_Screen.jpg
TeeChart2014_Screen.jpg (165.02 KiB) Viewed 9777 times

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

Re: Labels and Titles way too large when printing

Post by Narcís » Thu Nov 28, 2013 12:37 pm

Hi Andreas,

Could you please attach the new example project?

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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Fri Nov 29, 2013 10:36 am

Hi Narcís

I used my production tool to produce the images.
So here's my Test.mdb modified to work with your Test.ocx.
The symptoms are the same.

Best wishes,
Andreas
Attachments
Test_TeeChart3.rar
(94.86 KiB) Downloaded 398 times

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

Re: Labels and Titles way too large when printing

Post by Narcís » Fri Nov 29, 2013 4:14 pm

Hi Andreas,

We are investigating the issue here. In the meantime, a workaround is disabling GDI+ in your chart:

Code: Select all

     TChart1.Aspect.GDIPlus.Active = False
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

kant
Newbie
Newbie
Posts: 8
Joined: Tue Nov 06, 2012 12:00 am

Re: Labels and Titles way too large when printing

Post by kant » Wed Feb 26, 2014 12:55 pm

Hi Narcis

Are there any news on this?
Disabling GDI+ is a momentary workaround but printouts are not really satisfactory ...
I could also live with an older fully functional 2013 Version for the moment.

Best wishes,
Andreas

Post Reply