XYDiagram2D.ShowCrosshair(ControlCoordinates) Method
Shows the Crosshair Cursor at the specified coordinates of the Chart Control.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
Parameters
Name | Type | Description |
---|---|---|
coordinates | ControlCoordinates | Chart Control coordinates. |
Remarks
The following code snippet shows the Crosshair Cursor at the Chart Control coordinates.
XYDiagram diagram = (XYDiagram)chartControl1.Diagram;
ControlCoordinates coordinates = diagram.DiagramToPoint("Asia", 80);
diagram.ShowCrosshair(coordinates);
See Also