Skip to main content
A newer version of this page is available. .

Annotation.Angle Property

Specifies the angle by which the annotation‘s shape is rotated.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
[XtraSerializableProperty]
public int Angle { get; set; }

Property Value

Type Description
Int32

An integer value specifying the rotation angle, in degrees. The default is 0.

Remarks

Use the Angle property, to specify the angle by which an annotation’s shape is rotated.

The angle which is specified by this property is measured in degrees, clockwise from the horizontal.

Angle = 0 Angle = 30
AngleAnnotations_0 AngleAnnotations_30

When the Annotation.ShapePosition property is set to RelativePosition, you can also define the angle by which the annotation is rotated around its anchor point, via the RelativePosition.Angle property.

For more information, refer to Annotations Appearance and Annotations Position and Layout.

See Also