vcl-dxchartcore-f6d2d3fc.md
Stores Crosshair Cursor settings for a Chart control.
TdxChartCrosshairOptions = class(
TdxChartVisualElementPersistent
)
The Crosshair Cursor allows users to obtain additional information on one or more series points based on the mouse pointer position.
The list below outlines key members of the TdxChartCrosshairOptions class that allow you to configure the Crosshair Cursor in the Chart control.
ArgumentLines | ValueLinesAllow you to display and configure argument and value crosshair lines.LabelsProvides access to crosshair label settings.HighlightPointsEnables or disables the highlight effect for target series points.ShowArgumentLabels | ShowValueLabelsAllow you to independently hide or display crosshair axis labels for arguments and values.SnapToPointMode | SnapToSeriesMode | SnapToOutRangePoints | StickyLinesConfigure crosshair line navigation behavior.AssignCopies Crosshair Cursor settings between Chart controls.
To see the Crosshair Cursor functionality in action, run the Chart Control demo in the VCL Demo Center installed with compiled DevExpress VCL demos. Hover the mouse pointer over a line series in the XY diagram area to display a crosshair label with additional information on target series points.
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
The TdxChartToolTips.CrosshairOptions property references a TdxChartCrosshairOptions object.
TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TdxChartVisualElementPersistent TdxChartCrosshairOptions
See Also
TdxChartCrosshairAxisLabels Class