Skip to main content
All docs
V23.2

TdxChartCrosshairOptions.ShowValueLabels Property

Specifies if crosshair value axis labels are visible.

Declaration

property ShowValueLabels: Boolean read; write; default False;

Property Value

Type Default Description
Boolean False

True if crosshair value axis labels are visible; otherwise, False.

Remarks

Crosshair argument and value axis labels complement crosshair lines and display arguments and values that correspond to crosshair line positions within the XY diagram area.

VCL Chart Control: Crosshair Argument and Value Axis Labels

You can use ShowArgumentLabels and ShowValueLabels properties to independently hide or display crosshair argument and value axis labels.

Property Value Examples

Value Example[1]
False (default) VCL Chart Control: Argument and Value Crosshair Axis Labels are Hidden
True VCL Chart Control: Value Crosshair Axis Labels are Visible

Crosshair Value Axis Label Customization

You can use the following API members at the level of individual XY diagrams to customize crosshair value axis labels:

Axes.AxisY.CrosshairLabels.Appearance
Allows you to customize font and background fill settings of crosshair value axis labels.
Axes.AxisY.CrosshairLabels.TextFormat
Applies a custom formatting pattern to crosshair value axis labels. Custom formatting patterns are particularly useful for crosshair axis labels that correspond to crosshair lines that do not snap to series points.

Default Value

The ShowValueLabels property’s default value is False.

Footnotes
  1. These examples demonstrate different ShowValueLabels property values for the same XY diagram with three simple line series under the following conditions:

See Also