public Bitmap Pie_BackInfoStat(string getGrade, string getClass, DateTime getDate, PanelControl pControl)
        {
            using (RealtimeInfoDataAccess realTimeInfoDataAccess = new RealtimeInfoDataAccess())
            {
                try
                {
                    int getHasGone    = 0;
                    int getHasnotGone = 0;
                    int getStuNumbers = 0;

                    realTimeInfoDataAccess.GetRealtimeBackInfo_Graphic(getGrade, getClass, getDate, ref getHasGone, ref getHasnotGone, ref getStuNumbers);

                    double hasGonePer    = (double)getHasGone / (double)getStuNumbers;
                    double hasnotGonePer = (double)getHasnotGone / (double)getStuNumbers;

                    zedGraph_RealTimeInfoStatStudent = new ZedGraphControl();
                    pControl.Controls.Clear();
                    pControl.Controls.Add(zedGraph_RealTimeInfoStatStudent);
                    zedGraph_RealTimeInfoStatStudent.Dock = DockStyle.Fill;

                    GraphPane myPane = zedGraph_RealTimeInfoStatStudent.GraphPane;

                    if (getGrade.Equals(""))
                    {
                        myPane.Title = new GardenInfoDataAccess().GetGardenInfo().Tables[0].Rows[0][1].ToString()
                                       + "全年级晚接信息统计图\n" + "统计日期: " + getDate.ToString("yyyy-MM-dd");
                    }

                    else if (getClass.Equals(""))
                    {
                        myPane.Title = new GardenInfoDataAccess().GetGardenInfo().Tables[0].Rows[0][1].ToString()
                                       + new StuInfoDataAccess().GetGradeList("", getGrade).Tables[0].Rows[0][1].ToString()
                                       + "晚接信息统计图\n" + "统计日期: " + getDate.ToString("yyyy-MM-dd");
                    }
                    else
                    {
                        myPane.Title = new GardenInfoDataAccess().GetGardenInfo().Tables[0].Rows[0][1].ToString()
                                       + new RealtimeInfoDataAccess().setClassList("", getClass, getGrade).Tables[0].Rows[0][1].ToString()
                                       + "晚接信息统计图\n" + "统计日期: " + getDate.ToString("yyyy-MM-dd");
                    }

                    double[] statusVal   = { hasGonePer, hasnotGonePer };
                    string[] statusLabel = { "已接走", "未接走" };

                    myPane.PaneFill             = new Fill(Color.Cornsilk);
                    myPane.AxisFill             = new Fill(Color.Cornsilk);
                    myPane.Legend.Position      = LegendPos.Right;
                    myPane.Legend.FontSpec.Size = 12;

                    PieItem [] slices = new PieItem[statusVal.Length];
                    slices = myPane.AddPieSlices(statusVal, statusLabel);

                    ((PieItem)slices[0]).LabelType = PieLabelType.Percent;
                    ((PieItem)slices[0]).LabelDetail.FontSpec.Size = 14;
                    ((PieItem)slices[1]).LabelType = PieLabelType.Percent;
                    ((PieItem)slices[1]).LabelDetail.FontSpec.Size = 14;
                    ((PieItem)slices[1]).Displacement = .1;

                    BoxItem box = new BoxItem(new RectangleF(0F, 0F, 1F, 1F),
                                              Color.Empty, Color.PeachPuff);
                    box.Location.CoordinateFrame = CoordType.AxisFraction;
                    box.Border.IsVisible         = false;
                    box.Location.AlignH          = AlignH.Left;
                    box.Location.AlignV          = AlignV.Top;
                    box.ZOrder = ZOrder.E_BehindAxis;

                    myPane.GraphItemList.Add(box);

                    zedGraph_RealTimeInfoStatStudent.IsShowContextMenu = false;
                    zedGraph_RealTimeInfoStatStudent.IsEnableZoom      = false;
                    zedGraph_RealTimeInfoStatStudent.AxisChange();

                    return(myPane.Image);
                }
                catch (Exception e)
                {
                    Util.WriteLog(e.Message, Util.EXCEPTION_LOG_TITLE);
                    return(null);
                }
            }
        }