Export chart to image is not clear

TeeChart for ActiveX, COM and ASP
Post Reply
Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

Export chart to image is not clear

Post by Oblicore » Sun Feb 01, 2009 12:30 pm

Hi,
Export chart to image is not clear.
Please review the uploaded file "ExportReportTo image.JPG".
Once export to imgae (jpg), the resolution seems to be changed and not as displayed in the UI.
Thanks you for your input.
Wissam[/quote][/url]

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

Post by Narcís » Mon Feb 02, 2009 11:42 am

Hi Wissam,

Have you tried setting image's dimensions before exporting?

Code: Select all

    TChart1.Export.asJPEG.Width = TChart1.Width
    TChart1.Export.asJPEG.Height = TChart1.Height
If this doesn't help please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the TeeChart version you are using.

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

Oblicore
Newbie
Newbie
Posts: 79
Joined: Fri May 27, 2005 4:00 am

I have added a zip file called : Studio_tee.zip

Post by Oblicore » Wed Feb 18, 2009 1:21 pm

Hello,

Back to the same case with the resolution.
The zip file includes a small project that allow to load a teechart file. Here are instructions to see the problem.

1. Load the project and run it.

2. Load teechart

3. Open properties page

4. Go to save and save the teechart with size 600x400

Best Regards,
Wissam
Oblicore

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

Post by Yeray » Wed Feb 18, 2009 2:56 pm

Hi Wissam,

Forcing the size to be 600x400 the result image is this and has 96ppp of resolution:
Image

And leaving the default size (760x415) this is the result again with 96 ppp:
Image

We are not sure to understand the problem you have. We only see a size difference between the two images.
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