Hi Kevin,
You can use the DragLeftShortcut, DragRightShortcut, DragUpShortcut and DragDownShortcut properties to disable moving the data point in particular direction - for example:
dataPointDragTool.DragLeftShortcut = new NShortcut();
Unfortunately there is no data point moved event (we'll add one) but for the time being you can inherit from the NDataPointDragTool and override the OnKeyDown method:
class MyDataPointDragTool : NDataPointDragTool
{
public override void OnKeyDown(object sender, NKeyEventArgs e)
{
base.OnKeyDown(sender, e);
if (e.Handled)
{
// the data point was moved
}
}
}
Hope this helps - let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team