ChartDirector 7.1 (.NET Edition)

WinChartViewer.MinimumDrag


Declaration

[C#]public int MinimumDrag {get; set;};
[VB]Public Property MinimumDrag As Integer

Description

Gets or sets the minimum mouse drag distance before it is considered as an intentional drag.

A mouse drag occurs if the mouse button is down while the mouse moves. However, sometimes a user may want to click on a point, but due to mouse vibrations, the mouse moves by a small amount while the button is still down. This may then be interpreted as a mouse drag.

This property determines the minimum drag distance in pixels before it is considered as an intentional drag. The default is 5 pixels. Non-intentional drags will be handled as mouse clicks instead of drags.