Back to Devexpress

TdxChartCrosshairOptions.ShowValueLabels Property

vcl-dxchartcore-dot-tdxchartcrosshairoptions-c7027570.md

latest3.0 KB
Original Source

TdxChartCrosshairOptions.ShowValueLabels Property

Specifies if crosshair value axis labels are visible.

Declaration

delphi
property ShowValueLabels: Boolean read; write; default False;

Property Value

TypeDefaultDescription
BooleanFalse

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.

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

Property Value Examples

ValueExample[1]
False ( default )
True

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.AppearanceAllows you to customize font and background fill settings of crosshair value axis labels.Axes.AxisY.CrosshairLabels.TextFormatApplies 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

TdxChartCrosshairOptions.HighlightPoints Property

TdxChartCrosshairOptions.StickyLines Property

TdxChartCrosshairOptions.ValueLines Property

TdxChartCrosshairOptions Class

TdxChartCrosshairOptions Members

dxChartCore Unit