Back to Devexpress

Annotation.LabelMode Property

corelibraries-devexpress-dot-xtracharts-dot-annotation-7e91d83f.md

latest3.6 KB
Original Source

Annotation.LabelMode Property

Specifies whether the annotation should be cut off if it doesn’t fit into the diagram’s dimensions.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public bool LabelMode { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property LabelMode As Boolean

Property Value

TypeDescription
Boolean

true to always draw the annotation entirely; otherwise, false. The default is false.

|

Remarks

Enable the LabelMode property, to make an annotation behave similarly to a series label, which means that it won’t be cut off if it doesn’t fit in the diagram‘s dimensions. Instead, the diagram is resized to entirely accommodate the annotation.

LabelMode = falseLabelMode = true

Note

The label mode has an affect only when RelativePosition is used to specify the Annotation.ShapePosition property and the annotation’s Annotation.AnchorPoint property is set to PaneAnchorPoint or SeriesPointAnchorPoint.

When the LabelMode property is enabled, runtime operations aren’t available for the annotations (the Annotation.RuntimeAnchoring, Annotation.RuntimeMoving, Annotation.RuntimeResizing and Annotation.RuntimeRotation properties are not in effect).

The label mode isn’t allowed for series views supporting the XYDiagram3D type, and for the Funnel series view types (both 2D Funnel and 3D Funnel types).

For more information, refer to Annotations.

See Also

Annotations

Annotation Class

Annotation Members

DevExpress.XtraCharts Namespace