TdxChartXYSeriesLineValueLabels.ResolveOverlappingMode Property
Specifies the active label overlap resolution mode.
Declaration
property ResolveOverlappingMode: TdxChartSeriesLineValueLabelsResolveOverlappingMode read; write; default TdxChartSeriesValueLabelsResolveOverlappingMode.Default;
Property Value
Type | Default | Description |
---|---|---|
TdxChartSeriesLineValueLabelsResolveOverlappingMode | Default | The active label overlap resolution mode. |
Remarks
Different label overlap resolution modes allow you to make a Line or Area series more readable when it does not have enough space to display all value labels without overlapping.
Use the ResolveOverlappingMode
property to switch between available label overlap resolution modes. The ResolveOverlappingIndent property allows you to adjust the minimum distance between value labels.
Examples
Value | Example (Line View)[1] | Example (Area View)[2] |
---|---|---|
Default | ||
HideOverlapped | ||
JustifyAllAroundPoint | ||
JustifyAroundPoint | ||
None |
Related Compiled Demo
To see this functionality in action, run the Chart Control demo in the VCL Demo Center installed with compiled VCL DevExpress demos. Select Line or Area in the left sidebar.
You can customize label overlap resolution settings in the Label Overlapping group of the Options pane.
Tip
You can find full source code for the installed compiled Chart control demo in the following folder:
%PUBLIC%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressChart
Default Value
The ResolveOverlappingMode
property’s default value is TdxChartSeriesValueLabelsResolveOverlappingMode.Default.
-
This example demonstrates all possible
ResolveOverlappingMode
property values for the same three XY series under the following conditions:- All series use a simple Line View.
- The ValueLabels.ResolveOverlappingIndent property is set to
0
(default) for every series View.
-
This example demonstrates all possible
ResolveOverlappingMode
property values for the same two XY series under the following conditions:- All series use a simple Area View.
- The ValueLabels.ResolveOverlappingIndent property is set to
0
(default) for every series View.