Automatically breaks DateTime Labels on occurence of a space " ".
public Boolean MultiLine {get; set;}

Remarks


Activate Multiline Axis Labels. TeeChart will automaticall break DateTime Labels on occurence of a space " ". Use '\n' in other label types to break a line or use the SplitInLines method in the OnGetAxisLabel event.

Example


[C#]

DateTime value 1/2/1999 12:00:00

will appear as  

1/2/1999
12:00:00

when Multiline is set to true.

((Line)tChart1[1]).XValues.DateTime=true; 
tChart1.Axes.Bottom.Labels.DateTimeFormat="dd/MM/yyyy" +'\n'+"hh/mm/ss";
tChart1.Axes.Bottom.Labels.MultiLine = true;


Use "myLabel1stLine" + '\n + "MyLabel2ndLine"

for none DateTime Labels or use the SplitInLines method.


See Also

AxisLabels Class | AxisLabels Members | Steema.TeeChart Namespace