Page 1 of 1

Annotation Text outside of border

Posted: Tue May 16, 2006 9:44 pm
by 9787414
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.

Posted: Wed May 17, 2006 8:20 am
by narcis
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.

Posted: Wed May 17, 2006 2:15 pm
by 9787414
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.