Ejemplo n.º 1
0
    public AxisLimits GetLimits()
    {
        AxisLimits rect = AxisLimits.NoLimits;

        foreach (Coordinates coordinate in Coordinates)
        {
            rect.Expand(coordinate);
        }
        return(rect);
    }
Ejemplo n.º 2
0
        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);
        }