public virtual bool IsValidPoint(DataPoint pt, IAxis xAxis, IAxis yAxis) { return(!double.IsNaN(pt.X) && !double.IsInfinity(pt.X) && !double.IsNaN(pt.Y) && !double.IsInfinity(pt.Y) && (xAxis != null && xAxis.IsValidValue(pt.X)) && (yAxis != null && yAxis.IsValidValue(pt.Y))); }
public virtual bool IsValidPoint(DataPoint pt, IAxis xAxis, IAxis yAxis) { return !double.IsNaN(pt.X) && !double.IsInfinity(pt.X) && !double.IsNaN(pt.Y) && !double.IsInfinity(pt.Y) && (xAxis!=null && xAxis.IsValidValue(pt.X)) && (yAxis!=null && yAxis.IsValidValue(pt.Y)); }