Title Constructors

Definition

Initializes a new instance of the Title class.

Overloads

Title()

Initializes a new instance of the Title class.

Title(String)

Initializes a new instance of the Title class with the specified title text.

Title(String, Docking)

Initializes a new instance of the Title class with the specified title text and docking value.

Title(String, Docking, Font, Color)

Initializes a new instance of the Title class with the specified title text, docking value, font and color.

Title()

Initializes a new instance of the Title class.

C#
public Title();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Title(String)

Initializes a new instance of the Title class with the specified title text.

C#
public Title(string text);

Parameters

text
String

A string that represents the text for the title.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Title(String, Docking)

Initializes a new instance of the Title class with the specified title text and docking value.

C#
public Title(string text, System.Web.UI.DataVisualization.Charting.Docking docking);

Parameters

text
String

A string that represents the text for the title.

docking
Docking

A Docking enumeration value that determines where the title will be docked on the chart.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Title(String, Docking, Font, Color)

Initializes a new instance of the Title class with the specified title text, docking value, font and color.

C#
public Title(string text, System.Web.UI.DataVisualization.Charting.Docking docking, System.Drawing.Font font, System.Drawing.Color color);

Parameters

text
String

A string that represents the text for the title.

docking
Docking

A Docking enumeration value that determines where the title will be docked on the chart.

font
Font

The font used to draw the title.

color
Color

The color used to draw the title.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1