public String TitleOrName()

Remarks


Return the Title or the Name of the Axis depending if you've set a title or not.

Example


[C#]
private void button1_Click(object sender, System.EventArgs e) 
{
myCustomAxis.Title.Text = "My Own Axis";
MessageBox.Show(myCustomAxis.TitleOrName());
// if you do not set a title will return for example "left Axis".
}


[VB.Net]
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 
    myCustomAxis.Title.Text = "My Own Axis"
    MessageBox.Show(myCustomAxis.TitleOrName())
    ' if you do not set a title will return for example "left Axis".
End Sub

See Also

Axis Class | Axis Members | Steema.TeeChart Namespace