Page 1 of 1

position of left axis labels in pdf export?

Posted: Thu May 05, 2005 6:28 am
by 9341112
I have a problem with the positioning of the left axis labels in a pdf file. They are being written through the vertical axis like they are left aligned.

example: http://abri.une.edu.au/staff/klint/bbb.pdf

Is this the same clipping thing that was solved in mid march?

Also, is there anyway to offset the position of the chart? I'd like to leave some space at the bottom (i.e. specify the pdf page size and the position/size of the chart on the page separately).

klint.

Posted: Fri May 06, 2005 1:19 pm
by Marjan
Hi, Klint.

Is this the same clipping thing that was solved in mid march?
Yes, I think so. In the latest sources I'm working the labels are correctly aligned.
Also, is there anyway to offset the position of the chart?
Not once chart size is set. But you could add extra space to chart by increasing it's bottom margin.

Posted: Mon May 09, 2005 12:27 am
by 9341112
The march clipping problem was a tempory string in cliprectangle not being cleared. ClipRectangle doesnt seem to be called at all (the break point that I set never occured). Setting tmpSt to empty in cliprectangle doesnt appear to fix the problem. All the other occurances of tmpSt seem to initialise it.

What do I need to do to get this to draw properly? Can I get an updated teepdfcanvas.pas?

klint.

[edit] I've just noticed it's not just my left axis, the bottom axis is left aligned on the ticks.

Posted: Tue May 10, 2005 7:56 am
by Marjan
Hi, Klint.

Yes, please contact me directly at "marjan at steema dot com" and I'll send you updated TeePDFCanvas.pas unit.

Posted: Thu Jun 16, 2005 9:57 am
by 9341575
I'm in the same case than Klint, labels of left and bottom axis are aligned on the ticks.
I tried with different lenght, and the labels are written from to beginning of the tricks to the inside of the chart.

Is there an update I can get ?

Regards

Posted: Thu Jun 16, 2005 10:09 am
by narcis
Hi Silo,

If you are a TeeChart Source Code customer you can contact me and I'll send you updated TeePDFCanvas.pas.