Page 1 of 1

TAnnotationTool label rotation

Posted: Wed Jul 10, 2013 9:34 pm
by 9236183
Hello,

Just a quick query in regard to the TAnnoationTool to see if it has the ability to be rotated like Marks can have a rotation angle (e.g. TPie) ?

Re: TAnnotationTool label rotation

Posted: Thu Jul 11, 2013 2:29 pm
by yeray
Hello,

This is a feature request already present in the wish list to be implemented in future releases (TV52010464).
In the meanwhile I can only think on drawing manually your texts at OnAfterDraw event:

Code: Select all

procedure TForm1.Chart1AfterDraw(Sender: TObject);
begin
  Chart1.Canvas.RotateLabel(300, 300, 'my rotated label', 45);
end;