Summer() public method

public Summer ( ) : ].int[
return ].int[
        private void AddData()
        {
            dc.DataSeriesList.Clear();
            // Add Sine data:
            ds = new DataSeries();
            for (int i = 0; i < 21; i++)
            {
                ds.AddPoint(new PointF(0.5f * i,
                                       2.0f + (float)Math.Sin(0.5f * i)));
            }
            dc.Add(ds);

            // Add Cosine data:
            ds = new DataSeries();
            for (int i = 0; i < 21; i++)
            {
                ds.AddPoint(new PointF(0.5f * i,
                                       2.0f + (float)Math.Cos(0.5f * i)));
            }
            dc.Add(ds);

            // Add another Sine data:
            ds = new DataSeries();
            for (int i = 0; i < 21; i++)
            {
                ds.AddPoint(new PointF(0.5f * i,
                                       3.0f + (float)Math.Sin(0.5f * i)));
            }
            dc.Add(ds);


            cm      = new ColorMap(dc.DataSeriesList.Count, 150);
            dc.CMap = cm.Summer();
        }
        void AddData()
        {
            dc.DataSeriesList.Clear ();
            // Add Sine data:
            ds = new DataSeries();
            for (int i = 0; i < 21; i++)
                ds.AddPoint (new CGPoint (.5f * i, 2f + (float)Math.Sin (.5f * i)));
            dc.Add (ds);

            // Add Cosine data:
            ds = new DataSeries ();
            for (int i = 0; i < 21; i++) {
                ds.AddPoint (new CGPoint (.5f * i, 2f + (float)Math.Cos (.5f * i)));
            }
            dc.Add (ds);

            // Add another Sine data:
            ds = new DataSeries();
            for (int i = 0; i < 21; i++) {
                ds.AddPoint(new CGPoint (.5f * i, 3f + (float)Math.Sin (.5f * i)));
            }
            dc.Add (ds);

            cm = new ColorMap (dc.DataSeriesList.Count, 150);
            dc.CMap = cm.Summer ();
        }