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


A collection of LabelOverride objects.

Syntax

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

Example

This example will replace each tick label value of '10' with 'High'.
C#Copy Code
           [C#]
Axis a = new Axis();
a.LabelOverrides.Add(
new LabelOverride("10","High") );
    
C#Copy Code
           [Visual Basic]
Dim a As New Axis()
a.LabelOverrides.Add(
new LabelOverride("10","High") )
    

Remarks

LabelOverrides defines a string find and replace pair used to manipulate tick labels.

See Also

© 2010 All Rights Reserved.