TAnnotationTool label rotation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bdw
Advanced
Posts: 130
Joined: Mon Mar 07, 2005 5:00 am
Location: New Zealand
Contact:

TAnnotationTool label rotation

Post by bdw » Wed Jul 10, 2013 9:34 pm

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) ?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TAnnotationTool label rotation

Post by Yeray » Thu Jul 11, 2013 2:29 pm

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;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply