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 |
|
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.
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) |
|
False |
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
.
-
These examples demonstrate different
ShowArgumentLabels
property values for the same XY diagram with three simple Line series under the following conditions:- The SnapToPointMode property is set to NearestToCursor.
- The SnapToSeriesMode property is set to All.
- ArgumentLines.Visible and ValueLines.Visible properties are set to
True
. - The ShowValueLabels property is set to
False
.