public NChartPoint [] Points(NChartSeries series)
        {
            // Create points with some data for the series.
            List <NChartPoint> result     = new List <NChartPoint> ();
            int              numberOfDays = 8;
            int              startDay     = 2;
            NSCalendar       cal          = NSCalendar.CurrentCalendar;
            NSDateComponents comp         = new NSDateComponents();

            comp.Year  = 2015;
            comp.Month = 1;
            comp.Day   = 2;
            NSDate startDate = cal.DateFromComponents(comp);

            for (int i = 0; i < numberOfDays; ++i)
            {
                NSDate date = cal.DateBySettingUnit(NSCalendarUnit.Day, startDay + i, startDate, NSCalendarOptions.None);
                result.Add(new NChartPoint(NChartPointState.PointStateAlignedToXWithXY(date, m_rand.Next() % 30 + 1), series));
            }

            return(result.ToArray());
        }