Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartToolTips.CrosshairOptions Property

Provides access to Crosshair Cursor settings.

#Declaration

Delphi
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.

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

Compiled DevExpress demos ship with source code installed in the Public Documents folder (%Public%) for all users (default). You can find all project and source code files for the Chart control 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