Skip to main content
All docs
V23.2

TdxChartToolTips.CrosshairOptions Property

Provides access to Crosshair Cursor settings.

Declaration

property CrosshairOptions: TdxChartCrosshairOptions read; write;

Property Value

Type Description
TdxChartCrosshairOptions

Stores Crosshair Cursor settings.

Remarks

Crosshair Cursor allows users to obtain additional information on one or more series points based on the mouse pointer position.

VCL Chart Control: A Crosshair Cursor Example in an XY Diagram

Use CrosshairOptions.SnapToSeriesMode, CrosshairOptions.SnapToPointMode, CrosshairOptions.SnapToOutRangePoints, and CrosshairOptions.StickyLines properties to configure crosshair navigation behavior and target series point selection.

Refer to the TdxChartCrosshairOptions class description for detailed information on all available options.

To see the Crosshair Cursor functionality in action, run the Chart Control demo in the VCL Demo Center installed with compiled VCL DevExpress demos. Hover the mouse pointer over line series in the XY diagram area to display a crosshair label with additional information on target series points.

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

Limitations

Simple diagrams do not support the Crosshair Cursor mode because it is designed for use in a two-dimensional Cartesian coordinate system.

See Also