SeriesLabelBase.ResolveOverlappingMode Property
Gets or sets a value specifying the mode to resolve overlapping of series labels.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v17.2.dll
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
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. |
Default | The default algorithm to re-position labels in a random way, to avoid overlapping labels. |
HideOverlapped | If two or more labels overlap, some of them are automatically hidden, to avoid overlapping. |
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. |
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. |
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 view type of the series.
Note
To learn which view types support resolve overlapping, or to get more details on this feature, refer to Series Point Labels.
Related GitHub Examples
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.