Chart3DControl.ShowCrosshair(Point) Method
In This Article
Shows the Crosshair Cursor at the point with the specified coordinates relative to the 3D chart’s top-left corner.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
screen |
Point | The Crosshair Cursor coordinates relative to the 3D chart’s top-left corner. |
#Remarks
The following example shows the Crosshair Cursor on the MouseUp event:
private void Chart_MouseUp(object sender, MouseButtonEventArgs e) {
Chart3DControl chart = (Chart3DControl)sender;
Point point = e.GetPosition(chart);
chart.ShowCrosshair(point);
}
You can use the HideCrosshair method to hide the Crosshair Cursor.
See Also