mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:16:18 +02:00
TAChart: Fixes to label rotation
git-svn-id: trunk@29313 -
This commit is contained in:
parent
4af1a3d673
commit
d0b38815eb
@ -72,9 +72,9 @@ end;
|
||||
|
||||
procedure TForm1.seAxisAngleChange(Sender: TObject);
|
||||
begin
|
||||
Chart1.LeftAxis.Marks.LabelFont.Orientation := seAxisAngle.Value * 10;
|
||||
Chart1.LeftAxis.Marks.LabelFont.Orientation := 900 + seAxisAngle.Value * 10;
|
||||
Chart1.BottomAxis.Marks.LabelFont.Orientation := seAxisAngle.Value * 10;
|
||||
ChartMulti.LeftAxis.Marks.LabelFont.Orientation := seAxisAngle.Value * 10;
|
||||
ChartMulti.LeftAxis.Marks.LabelFont.Orientation := 900 + seAxisAngle.Value * 10;
|
||||
ChartMulti.BottomAxis.Marks.LabelFont.Orientation := seAxisAngle.Value * 10;
|
||||
end;
|
||||
|
||||
|
@ -91,7 +91,7 @@ begin
|
||||
sl := TStringList.Create;
|
||||
try
|
||||
sl.Text := AText;
|
||||
MultiLineTextExtent(ACanvas, sl);
|
||||
Result := MultiLineTextExtent(ACanvas, sl);
|
||||
finally
|
||||
sl.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user