Skip to main content
All docs
V25.1
  • 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

    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