Title.Position Property

Definition

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

C#
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.ElementPositionConverter))]
public System.Windows.Forms.DataVisualization.Charting.ElementPosition Position { get; set; }

Property Value

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

Attributes

Remarks

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.

Applies to

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