Drawing Text At an Angle - How To?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Steve Maughan
Newbie
Newbie
Posts: 13
Joined: Mon Jun 25, 2007 12:00 am

Drawing Text At an Angle - How To?

Post by Steve Maughan » Mon Feb 09, 2009 3:42 pm

I'd like to draw a some text (at x, y) on the Canvas of a 2D TChart at an angle (theta) using the OnAfterDraw event. Is this possible? Anyone know how?

Thanks,

Steve Maughan

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

Post by Narcís » Mon Feb 09, 2009 4:28 pm

Hi Steve,

Yes, you can use TChart.Canvas.RotateLabel method for that.
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