Page 1 of 1

45 deg angle bottom axis issue

Posted: Tue Aug 19, 2014 5:33 pm
by 16568318
Hi

I was looking for a solution to this... http://codeverge.com/embarcadero.delphi ... om/1091037 so upgraded from 2013.9 Pro to 2014.11 Pro and it looks like the problem still exists.

Is there any estimate of a fix? If at all.

Thx
MartinF

PS a brief description "The problem is not limited to date formats. When LabelsAngle>0 (I tried 45, 60 90) the labels of bottomAxis will go thru the axis.
I get the impression that the margins and padding do not work at the bottom. With LabelsAngle=0 and two-line labels, the bottom row will touch the border whatever I try with the margins and padding."

Re: 45 deg angle bottom axis issue

Posted: Wed Aug 20, 2014 9:59 am
by yeray
Hi Martin,

The following code seems to work fine for me here with TeeChart v2014.11 and XE5:

Code: Select all

uses VCLTee.Series, VCLTee.TeeConst;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Title.Text.Text:=TeeMsg_Version;
  Chart1.View3D:=false;
  Chart1.AddSeries(TLineSeries).FillSampleValues;
  Chart1.Axes.Bottom.LabelsAngle:=90;
end;
2014-08-20_1155.png
2014-08-20_1155.png (30.56 KiB) Viewed 2955 times
Could you please try the project attached to see what gives for you?