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



Gets or sets the ChartType of this Chart.

Syntax

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

Example

C#Copy Code
Chart.Type = ChartType.Pie; 
Visual BasicCopy Code
Chart.Type = ChartType.Pie

See Also