Skip to main content

CustomizeResolveOverlappingModeEventArgs.ResolveOverlappingMode Property

Specifies the resolve overlapping mode for the series labels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public ResolveOverlappingMode ResolveOverlappingMode { get; set; }

Property Value

Type Description
ResolveOverlappingMode

A ResolveOverlappingMode enumeration value, specifying the behavior of series labels. This value is assigned to the CustomizeResolveOverlappingModeEventArgs.ResolveOverlappingMode property.

Available values:

Name Description
None

The overlapping resolving algorithm is disabled.

Default

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

OverlappingOptions_Default

HideOverlapped

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

OverlappingOptions_HideOverlapped

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.

OverlappingOptions_JustifyAroundPoint

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.

OverlappingOptions_JustifyAllAroundPoint

Remarks

When a familiar data source (such as the PivotGridControl) is assigned to the ChartControl.DataSource property, the SeriesLabelBase.ResolveOverlappingMode property of the series labels is auto-adjusted, and it’s impossible to customize this property at design time.

Use the ResolveOverlappingMode property, to set a value to this property at runtime, in the ChartControl.PivotChartingCustomizeResolveOverlappingMode (or, WebChartControl.PivotChartingCustomizeResolveOverlappingMode) event handler.

For more information, see Pivot Charting (Integration with a Pivot Grid Control).

See Also