Page 1 of 1

problem when saving t-chart to jpg

Posted: Wed Dec 19, 2007 8:47 am
by 9527011
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

Posted: Wed Dec 19, 2007 9:00 am
by narcis
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.

Files uploaded

Posted: Wed Dec 19, 2007 9:28 am
by 9527011
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

Also uploaded

Posted: Wed Dec 19, 2007 9:50 am
by 9527011
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

Posted: Wed Dec 19, 2007 10:56 am
by narcis
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.

Posted: Wed Dec 19, 2007 12:16 pm
by 9527011
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

Posted: Wed Dec 19, 2007 12:26 pm
by narcis
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