dotnetCHARTING Send comments on this topic.
AutoNameLabels Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : AutoNameLabels Property



Gets or sets a value which indicates whether elements and series are automatically named when no names are provided.

Syntax

Visual Basic (Declaration) 
Public Property AutoNameLabels As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Boolean
 
instance.AutoNameLabels = value
 
value = instance.AutoNameLabels
C# 
public bool AutoNameLabels {get; set;}
C++/CLI 
public:
property bool AutoNameLabels {
   bool get();
   void set (bool value);
}

Example

C#Copy Code
Chart.AutoNameLabels = true; 
Visual BasicCopy Code
Chart.AutoNameLabels = true

See Also