Skip to main content

SeriesLabel.ResolveOverlappingMode Property

Gets or sets a value specifying the mode to resolve overlapping of series labels.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v22.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public ResolveOverlappingMode ResolveOverlappingMode { get; set; }

Property Value

Type Description
ResolveOverlappingMode

A ResolveOverlappingMode enumeration value.

Available values:

Name Description
None

The overlapping resolving algorithm is disabled.

WPF_ResolveOverlappingNone

Default

The default algorithm to re-position labels in a random way, to avoid overlapping labels.

WPF_ResolveOverlappingDefault

HideOverlapped

If two or more labels overlap, some of them are automatically hidden, to avoid overlapping.

WPF_ResolveOverlappingHideOverlapped

JustifyAroundPoint

Only labels that are overlapping change their position. They are re-positioned in such a way, so that they are moved around the corresponding point’s center, but their indent from the point center is preserved.

WPF_ResolveOverlappingJustifyAroundPoint

JustifyAllAroundPoint

All labels (both overlapping and non-overlapping) change their position. They are re-positioned in such a way, so that they are moved around the corresponding point’s center, but their indent from the point center is preserved.

WPF_ResolveOverlappingJustifyAllAroundPoint

Remarks

Use the ResolveOverlappingMode property, to determine an overlapping resolving mode to be applied to series labels. The set of the available modes varies, depending on the type of the series.

To specify the minimum distance between series labels, use the XYDiagram2D.LabelsResolveOverlappingMinIndent (PieSeries.LabelsResolveOverlappingMinIndent, CircularDiagram2D.LabelsResolveOverlappingMinIndent) proeprty.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ResolveOverlappingMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also