position of left axis labels in pdf export?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
klint
Newbie
Newbie
Posts: 9
Joined: Tue Mar 01, 2005 5:00 am

position of left axis labels in pdf export?

Post by klint » Thu May 05, 2005 6:28 am

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.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Fri May 06, 2005 1:19 pm

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.
Marjan Slatinek,
http://www.steema.com

klint
Newbie
Newbie
Posts: 9
Joined: Tue Mar 01, 2005 5:00 am

Post by klint » Mon May 09, 2005 12:27 am

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.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Tue May 10, 2005 7:56 am

Hi, Klint.

Yes, please contact me directly at "marjan at steema dot com" and I'll send you updated TeePDFCanvas.pas unit.
Marjan Slatinek,
http://www.steema.com

Silo
Newbie
Newbie
Posts: 1
Joined: Thu Apr 07, 2005 4:00 am
Location: France (Toulouse)

Post by Silo » Thu Jun 16, 2005 9:57 am

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

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

Post by Narcís » Thu Jun 16, 2005 10:09 am

Hi Silo,

If you are a TeeChart Source Code customer you can contact me and I'll send you updated TeePDFCanvas.pas.
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