internal PointD PointToData(PointD pt) { if ((base.Chart == null) || (base.Chart.View == null)) { return(new PointD(double.NaN, double.NaN)); } PointD td = base.Chart.View.PointToData(pt); if (iax != null) { if (AxisType == Dt.Charts.AxisType.X) { td.X = iax.ToData(pt.X); return(td); } if (AxisType == Dt.Charts.AxisType.Y) { td.Y = iax.ToData(pt.Y); } } return(td); }