Annotation Text outside of border

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
johnk
Newbie
Newbie
Posts: 31
Joined: Thu Jun 23, 2005 4:00 am

Annotation Text outside of border

Post by johnk » Tue May 16, 2006 9:44 pm

My chart has a feature that allows the user to add an annotation. When the annotation is added the text always appears outside of the annotation border on the left side. I've tried setting TextAlign, customsize, customposition on the shape object but nothing works.

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

Post by Narcís » Wed May 17, 2006 8:20 am

Hi johnk,

I'm not able to reproduce the problem here using latest TeeChart for .NET v2 release. Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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

johnk
Newbie
Newbie
Posts: 31
Joined: Thu Jun 23, 2005 4:00 am

Post by johnk » Wed May 17, 2006 2:15 pm

I discovered the problem. In my chart I am subscribing to the BeforeDrawAxes event and using the Graphics3D to draw. I set the TextAlign on the Graphics3D to StringAlignment.Far for the drawing and did not reset it back. The annotations were clearly using the Graphics3D to draw the text.

Post Reply