dotnetCHARTING Send comments on this topic.
TickLabel Property
See Also  Example
dotnetCHARTING Namespace > Axis Class : TickLabel Property


Gets or sets the Label of all tick marks.

Syntax

Visual Basic (Declaration)  
Public Property TickLabel As Label
Visual Basic (Usage) Copy Code
Dim instance As Axis
Dim value As Label
 
instance.TickLabel = value
 
value = instance.TickLabel
C#  
public Label TickLabel {get; set;}

Return Value

A Label object that specifies tick label properties.

Example

C# Copy Code
Chart.XAxis.TickLabel.Text = "%Name - %YValue";
// When rendered, the x axis' tick labels will read something like this: "Element's Name - 159"
// where "Element's" Name is the name of an element and "159" is it's value.
    
Visual Basic Copy Code
Chart.XAxis.TickLabel.Text = "%Name - %YValue"
' When rendered, the x axis' tick labels will read something like this: "Element's Name - 159"
' where "Element's" Name is the name of an element and "159" is it's value.

Remarks

When the axis is a label axis, the tick label's text can be populated with tokens which represent information about the plotted data.

See Also