Hi Kevin,
You can create a custom tool that performs a hit test on mouse move - for example:
[Serializable]
public class MyCustomTool : NTool
{
#region Construcotrs
public MyCustomTool()
{
}
#endregion
#region Overrides
public override void OnMouseMove(object sender, NMouseEventArgs e)
{
NControlView view = (NControlView)this.GetView();
NHitTestCacheService hitTestService = GetView().GetServiceOfType(typeof(NHitTestCacheService)) as NHitTestCacheService;
if (hitTestService == null)
return;
NHitTestResult result = new NHitTestResult(hitTestService.HitTest(new NPointF(e.X, e.Y)) as NChartNode);
INMouseService mouseService = (INMouseService)GetView().GetServiceOfType(typeof(INMouseService));
if (result.ChartElement == ChartElement.DataPoint)
{
mouseService.Cursor = Cursors.SizeAll;
}
else
{
mouseService.Cursor = mouseService.DefaultCursor;
}
}
#endregion
}
The above code changes the mouse cursor when the mouse is over a data point. Hope this helps - lets us know if you meet any problems.
Best Regards,
Nevron Support Team