problem when saving t-chart to jpg

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

problem when saving t-chart to jpg

Post by Oblicore » Wed Dec 19, 2007 8:47 am

We have a .net page that displays a .tee file and the properties pop up. when selected to save the tee chart to a jpg we also select different size than displayed in the page. the jpg that is created display all the tabs of the series in the chart but the label of the last tab is missing. Is there a way to work around it?

Is there a way to upload files to show an example of the problem?

Thanks
Zoe

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

Post by Narcís » Wed Dec 19, 2007 9:00 am

Hi Zoe,

Yes please, send us a simple example project we can run "as-is" to reproduce the problem here. You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

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

Files uploaded

Post by Oblicore » Wed Dec 19, 2007 9:28 am

I have uploaded 3 files:
Capture-1 is a screen shot of the page with teechart on it
Capture-2 is the properties page and my selections
Result is how the result jpg is created. if you look at the last tab (the one on the right) it is missing the label.

Thanks
Zoe

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

Also uploaded

Post by Oblicore » Wed Dec 19, 2007 9:50 am

teecharttest.rar

If you unrar it under C:\ it will create a teecharttest directory. duble click on the html file. it will show you a page with the teechart.

Press on the propeties link, it will open propeties pop up. save the teechart as a jpg and change the size to be smaller then whats there (let say 600).

Thanks.
Zoe

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

Post by Narcís » Wed Dec 19, 2007 10:56 am

Hi Zoe,

Thanks for the example I could reproduce the issue here. This is because chart calculates that this label won't fit in the axis and would overlap with other labels or just won't fit in the ChartRect so it is not displayed. This is obviously wrong, so I'll add this to our defect list to be enhanced for future releases.
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

Post by Oblicore » Wed Dec 19, 2007 12:16 pm

Thank you for your reply.

Do you have a prediction as for when this will be solved?
This is a critical problem for our clients.

Canyou suggest a work around?

Thanks.
Zoe

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

Post by Narcís » Wed Dec 19, 2007 12:26 pm

Hi Zoe,

I can't give you an estimated fix date at the moment. In the meantime, a workaround can be setting bottom axes labels separation to zero

Code: Select all

    TChart1.Axis.Bottom.Labels.Separation = 0
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

Post Reply