Skip to main content

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.

VCL Chart Control: Different Value Label Overlap Resolution Modes

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 VCL Chart Control: The Default Label Overlap Resolution Mode (Line View) VCL Chart Control: The Default Label Overlap Resolution Mode (Area View)
HideOverlapped VCL Chart Control: Overlapped Value Labels are Hidden in Line Views VCL Chart Control: Overlapped Value Labels are Hidden in Area Views
JustifyAllAroundPoint VCL Chart Control: Value Labels Keep Distance from all Series Points in Line Views VCL Chart Control: Value Labels Keep Distance from all Series Points in Area Views
JustifyAroundPoint VCL Chart Control: Value Labels Keep Distance from Corresponding Series Points in Line Views VCL Chart Control: Value Labels Keep Distance from Corresponding Series Points in Area Views
None VCL Chart Control: Overlapping Labels in Line Views VCL Chart Control: Overlapping Labels in Area Views

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.

Download: Compiled VCL Demos

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.

Footnotes
  1. This example demonstrates all possible ResolveOverlappingMode property values for the same three XY series under the following conditions:

  2. This example demonstrates all possible ResolveOverlappingMode property values for the same two XY series under the following conditions:

See Also