ChartDirector 5.1 (.NET Edition)

WebChartViewer.MinimumDrag


Declaration

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

Description

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

Note: This property is applicable only if the browser side JsChartViewer is included in the web page.

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.