Skip to main content
All docs
V25.1
  • TdxChartCrosshairOptions.ShowArgumentLabels Property

    Specifies if crosshair argument axis labels are visible.

    Declaration

    property ShowArgumentLabels: Boolean read; write; default True;

    Property Value

    Type Default Description
    Boolean True

    True if crosshair argument 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]
    True (default) VCL Chart Control: Argument Crosshair Axis Labels are Visible
    False VCL Chart Control: Argument and Value Crosshair Axis Labels are Hidden

    Crosshair Argument Axis Label Customization

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

    Axes.AxisX.CrosshairLabels.Appearance
    Allows you to customize font and background fill settings of crosshair argument axis labels.
    Axes.AxisX.CrosshairLabels.TextFormat
    Applies a custom formatting pattern to crosshair argument 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 ShowArgumentLabels property’s default value is True.

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

    See Also