Title.Position Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets an ElementPosition object, which can be used to get or set the position of the title.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public ElementPosition Position { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.ElementPosition

An ElementPosition value that represents the position of the title. The default value is Auto.

If the Position property is automatic (that is, Title.Position.Auto = true) the title position is calculated automatically by the Chart control, taking into account the Docking, Alignment and IsDockedInsideChartArea property settings.

If it is not automatic, the Docking, DockedToChartArea and IsDockedInsideChartArea properties are ignored, and the title position is solely determined by the value of the returned ElementPosition object.

.NET Framework
Available since 4.0
Return to top