Multiline Annotation

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 61
Joined: Thu Sep 23, 2010 12:00 am

Multiline Annotation

Post by lilo » Sun Oct 31, 2010 1:56 am

I need a multiline annotation. I am using the "\r\n" in the annotation text. It only displays a single line with \r\n in the text field.

AnnotationChart4.Text = "Point: " & AIndex.ToString() + "\r\n" & " Value: " + Ternary1.ValueMarkText(AIndex)

lilo
Newbie
Newbie
Posts: 61
Joined: Thu Sep 23, 2010 12:00 am

Re: Multiline Annotation

Post by lilo » Sun Oct 31, 2010 11:38 am

OK, the multiline is now working with this code:

AnnotationChart4.Text = String.Format("Point: {0} {2}Value: {1}", AIndex.ToString(), Ternary1.ValueMarkText(AIndex), vbCrLf)

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Multiline Annotation

Post by Sandra » Tue Nov 02, 2010 2:12 pm

Hello lilo,

I am glad that you found a solution for your problem :).

Thanks,
Best Regards,
Sandra Pazos / 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