Hi Rodolphe,
Thanks for using the Syncfusion products.
We have analysed the reported requirement. You can achieve your
requirement by applying the below code snippet.
Code snippet [C#]:
private void ChartArea_MouseRightButtonDown(object sender,
System.Windows.Input.MouseButtonEventArgs e)
{
var point = e.GetPosition(sender as ChartArea);
InteractiveCursor currentCursor = new InteractiveCursor
{
OffsetX = point.X - this.Chart1.Areas[0].AxesThickness.Left - ((sender as ChartArea).ElementMargin.Left
*4),
IsBindWithSegment = false,
IsBindWithMouseMove = false,
BindWithMouseMoveOnSegment = false,
HorizontalCursorVisibility = Visibility.Hidden,
VerticalLabelVisibility = Visibility.Hidden
};
Chart1.Areas[0].InteractiveCursors.Add(currentCursor);
}
Please let us know if you require further assistance on
this.
Thanks,
Karthikeyan V.