public AxisLimits GetLimits() { AxisLimits rect = AxisLimits.NoLimits; foreach (Coordinates coordinate in Coordinates) { rect.Expand(coordinate); } return(rect); }
public override AxisLimits GetDataArea() { AxisLimits lim = new AxisLimits(xs[0], ys[0]); for (int i = 1; i < xs.Length; i++) { lim.Expand(xs[i], ys[i]); } return(lim); }