Escape Characters in Labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

Escape Characters in Labels

Post by Luke » Wed Dec 10, 2008 10:06 am

if I add \t for tabs in labels they are not being picked up by the Legend text. Is there any other way to get a column effect in legend data

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 Dec 10, 2008 11:30 am

Hi Luke,

None of the escape characters work fine in legend's text. So you could do something like:

Code: Select all

			for (int i = 0; i < 10; i++)
			{
				line1.Add(i, CalcColumns("column1", "column2", "column3"));
			}
where:

Code: Select all

public string CalcColumns(param string[] elementsToSpace)
{ 
//add code to evenly space elements using blank spaces here 
}
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