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



Gets or sets the chart title.

Equivalent to Chart.TitleBox.Label.Text.

Syntax

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

Example

C#Copy Code
Chart.Title = "Chart of Sales for 2003"; 
Visual BasicCopy Code
Chart.Title = "Chart of Sales for 2003"

See Also