Gets and sets whether NearestTool calculates nearest point vertically, horizontally or in both directions.
public NearestPointDirection Direction {get; set;}

See Also

NearestPoint Class | NearestPoint Members | Steema.TeeChart.Tools Namespace