Page 1 of 1

Escape Characters in Labels

Posted: Wed Dec 10, 2008 10:06 am
by 13047002
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

Posted: Wed Dec 10, 2008 11:30 am
by narcis
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 
}