CustomizeResolveOverlappingModeEventArgs.ResolveOverlappingMode Property
Specifies the resolve overlapping mode for the series labels.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public ResolveOverlappingMode ResolveOverlappingMode { get; set; }
#Property Value
Type | Description |
---|---|
Resolve |
A Resolve |
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. |
Hide |
If two or more labels overlap, some of them are automatically hidden, to avoid overlapping. |
Justify |
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. |
Justify |
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. |
#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).