Example #1
0
        private void CreateChart()
        {
            try
            {
                //chartBTS.AppearanceNameSerializable = "Chameleon";
                Series series1 = new Series("BTS", ViewType.Bar);
                chartBTS.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;
                DevExpress.XtraCharts.SideBySideBarSeriesView  sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();

                Series series2 = new Series("Target", ViewType.Line);
                DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();

                lineSeriesView1.MarkerVisibility            = DevExpress.Utils.DefaultBoolean.False;
                sideBySideBarSeriesView1.ColorEach          = false;
                sideBySideBarSeriesView1.Color              = System.Drawing.Color.LimeGreen;
                sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
                series1.Label.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series1.Label.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
                series1.Label.TextPattern = "{V:#,#.0}" + "%";
                series1.View             = sideBySideBarSeriesView1;
                series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;

                series2.Label.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
                series2.Label.TextPattern = "{V:#,#.0}" + "%";
                lineSeriesView1.Color     = System.Drawing.Color.LimeGreen;
                lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80)))));
                lineSeriesView1.LineStyle.Thickness     = 4;
                series2.View = lineSeriesView1;

                DataTable dt = SEL_SMT_BTS_YEAR("C", line, mline, opcd, UC_YEAR.GetValue().ToString());

                if (dt != null && dt.Rows.Count > 0)
                {
                    for (int i = 0; i < dt.Rows.Count; i++)
                    {
                        series1.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["BTS"]));
                        series2.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["TARGET"]));

                        if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) && Convert.ToDouble(dt.Rows[i]["BTS"]) >= Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5)
                        {
                            series1.Points[i].Color = Color.Yellow;
                        }
                        else if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5)
                        {
                            series1.Points[i].Color = Color.Red;
                        }
                        else
                        {
                            series1.Points[i].Color = System.Drawing.Color.LimeGreen;
                        }
                    }

                    chartBTS.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 };

                    ((XYDiagram)chartBTS.Diagram).AxisX.Label.Font        = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)chartBTS.Diagram).AxisX.Title.TextColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
                    ((XYDiagram)chartBTS.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
                    ((XYDiagram)chartBTS.Diagram).AxisY.Label.Font        = new System.Drawing.Font("Tahoma", 13F);
                    ((XYDiagram)chartBTS.Diagram).AxisY.Title.Font        = new System.Drawing.Font("Calibri", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)chartBTS.Diagram).AxisY.Title.Text        = "BTS (%)";
                    ((XYDiagram)chartBTS.Diagram).AxisY.Title.TextColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
                }
            }
            catch (Exception EX)
            {
            }
        }
Example #2
0
        private void CreateChart()
        {
            try
            {
                chartBTS.Legends.Clear();
                //chartBTS.AppearanceNameSerializable = "Chameleon";
                Series series1 = new Series("BTS", ViewType.Bar);
                chartBTS.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;
                DevExpress.XtraCharts.SideBySideBarSeriesView  sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();

                Series series2 = new Series("Target", ViewType.Line);
                DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();

                lineSeriesView1.MarkerVisibility            = DevExpress.Utils.DefaultBoolean.False;
                sideBySideBarSeriesView1.ColorEach          = false;
                sideBySideBarSeriesView1.Color              = System.Drawing.Color.LimeGreen;
                sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
                series1.Label.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series1.Label.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
                series1.Label.TextPattern = "{V:#,#.0}" + "%";
                series1.View             = sideBySideBarSeriesView1;
                series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;

                series2.Label.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
                series2.Label.TextPattern = "{V:#,#.0}" + "%";
                lineSeriesView1.Color     = System.Drawing.Color.LimeGreen;
                lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80)))));
                lineSeriesView1.LineStyle.Thickness     = 4;
                series2.View = lineSeriesView1;

                DataTable dt = SEL_SMT_BTS("C", line, mline, opcd, UC_MONTH.GetValue());

                if (dt != null && dt.Rows.Count > 0)
                {
                    for (int i = 0; i < dt.Rows.Count; i++)
                    {
                        series1.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["BTS"]));
                        series2.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["TARGET"]));

                        if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) && Convert.ToDouble(dt.Rows[i]["BTS"]) >= Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5)
                        {
                            series1.Points[i].Color = Color.Yellow;
                        }
                        else if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5)
                        {
                            series1.Points[i].Color = Color.Red;
                        }
                        else
                        {
                            series1.Points[i].Color = System.Drawing.Color.LimeGreen;
                        }
                    }

                    chartBTS.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 };

                    ((XYDiagram)chartBTS.Diagram).AxisX.Label.Font        = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)chartBTS.Diagram).AxisX.Title.TextColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
                    ((XYDiagram)chartBTS.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
                    ((XYDiagram)chartBTS.Diagram).AxisY.Label.Font        = new System.Drawing.Font("Tahoma", 13F);
                    ((XYDiagram)chartBTS.Diagram).AxisY.Title.Font        = new System.Drawing.Font("Calibri", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)chartBTS.Diagram).AxisY.Title.Text        = "BTS (%)";
                    ((XYDiagram)chartBTS.Diagram).AxisY.Title.TextColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));

                    DevExpress.XtraCharts.Legend           legend1           = new DevExpress.XtraCharts.Legend();
                    DevExpress.XtraCharts.CustomLegendItem customLegendItem1 = new DevExpress.XtraCharts.CustomLegendItem();
                    DevExpress.XtraCharts.CustomLegendItem customLegendItem2 = new DevExpress.XtraCharts.CustomLegendItem();
                    DevExpress.XtraCharts.CustomLegendItem customLegendItem3 = new DevExpress.XtraCharts.CustomLegendItem();

                    customLegendItem1.MarkerColor = System.Drawing.Color.LimeGreen;
                    customLegendItem1.Name        = "GREEN";
                    customLegendItem1.Text        = ">=" + dt.Rows[0]["TARGET"].ToString() + "%";
                    customLegendItem2.MarkerColor = System.Drawing.Color.Yellow;
                    customLegendItem2.Name        = "YELLOW";
                    customLegendItem2.Text        = ">=" + (Convert.ToDouble(dt.Rows[0]["TARGET"].ToString()) - 5).ToString() + "% and <" + dt.Rows[0]["TARGET"].ToString() + "%";
                    customLegendItem3.MarkerColor = System.Drawing.Color.Red;
                    customLegendItem3.Name        = "RED";
                    customLegendItem3.Text        = "<" + (Convert.ToDouble(dt.Rows[0]["TARGET"].ToString()) - 5).ToString() + "%";

                    legend1.CustomItems.AddRange(new DevExpress.XtraCharts.CustomLegendItem[] {
                        customLegendItem1,
                        customLegendItem2,
                        customLegendItem3
                    });
                    legend1.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right;
                    legend1.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.TopOutside;
                    legend1.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
                    legend1.Font = new System.Drawing.Font("Tahoma", 12F);
                    legend1.Name = "Legend1";
                    this.chartBTS.Legends.AddRange(new DevExpress.XtraCharts.Legend[] { legend1 });
                }
            }
            catch (Exception EX)
            {
            }
        }
Example #3
0
        private void CreateChartBar(ChartControl arg_chart, DataTable arg_dt, string arg_name)
        {
            // Create a new chart.
            arg_chart.Series.Clear();
            arg_chart.Titles.Clear();
            //  ((XYDiagram)arg_chart.Diagram).AxisX.CustomLabels.Clear();
            //DataSource
            string Now = DateTime.Now.ToString("yyyyMMdd");


            // Create two series.
            //Series series1 = new Series("Production Qty", ViewType.Bar);
            Series series2 = new Series("POD", ViewType.Bar);

            // DevExpress.XtraCharts.SplineSeriesView splineSeriesView1 = new DevExpress.XtraCharts.SplineSeriesView();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.PointSeriesLabel        pointSeriesLabel1        = new DevExpress.XtraCharts.PointSeriesLabel();
            //DevExpress.XtraCharts.BarWidenAnimation barWidenAnimation1 = new DevExpress.XtraCharts.BarWidenAnimation();
            //DevExpress.XtraCharts.ElasticEasingFunction elasticEasingFunction1 = new DevExpress.XtraCharts.ElasticEasingFunction();


            // DevExpress.XtraCharts.XYSeriesBlowUpAnimation xySeriesBlowUpAnimation1 = new DevExpress.XtraCharts.XYSeriesBlowUpAnimation();
            DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesUnwindAnimation1 = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();
            // DevExpress.XtraCharts.XYSeriesUnwrapAnimation xySeriesUnwrapAnimation1 = new DevExpress.XtraCharts.XYSeriesUnwrapAnimation();

            DevExpress.XtraCharts.PowerEasingFunction powerEasingFunction1 = new DevExpress.XtraCharts.PowerEasingFunction();
            DevExpress.XtraCharts.SineEasingFunction  sineEasingFunction1  = new DevExpress.XtraCharts.SineEasingFunction();

            DevExpress.XtraCharts.ConstantLine constantLine1 = new DevExpress.XtraCharts.ConstantLine();

            // Add points to them, with their arguments different.

            for (int i = 0; i < arg_dt.Rows.Count; i++)
            {
                //series1.Points.Add(new SeriesPoint(dt.Rows[i]["HMS"].ToString(), dt.Rows[i]["QTY"])); //GetRandomNumber(10, 50)
                series2.Points.Add(new SeriesPoint(arg_dt.Rows[i]["LB"].ToString().Replace("_", "\n"),
                                                   arg_dt.Rows[i]["POD"] == null || arg_dt.Rows[i]["POD"].ToString() == "" ? 0 : arg_dt.Rows[i]["POD"]));
                if ((arg_dt.Rows[i]["POD"] == null || arg_dt.Rows[i]["POD"].ToString() == "" ? 0 : Convert.ToDouble(arg_dt.Rows[i]["POD"])) > Convert.ToDouble(arg_dt.Rows[0]["TARGET"]))
                {
                    series2.Points[i].Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));
                }
                else
                {
                    series2.Points[i].Color = Color.Red;
                }
            }

            (series2.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;

            // series2 = splineSeriesView1;
            // Add both series to the chart.
            //chartControl1.Series.AddRange(new Series[] { series1, series2 });


            arg_chart.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series2 };
            ((XYDiagram)arg_chart.Diagram).AxisY.Title.Text       = "POD";
            ((XYDiagram)arg_chart.Diagram).AxisY.Title.TextColor  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));
            ((XYDiagram)arg_chart.Diagram).AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default;
            ((XYDiagram)arg_chart.Diagram).AxisX.Title.Text       = "Date";
            ((XYDiagram)arg_chart.Diagram).AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default;
            ((XYDiagram)arg_chart.Diagram).AxisX.Title.TextColor  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));

            ((XYDiagram)arg_chart.Diagram).AxisX.Tickmarks.MinorVisible = true;


            sideBySideBarSeriesView1.ColorEach = false;
            series2.View = sideBySideBarSeriesView1;

            //title
            DevExpress.XtraCharts.ChartTitle chartTitle2 = new DevExpress.XtraCharts.ChartTitle();
            chartTitle2.Alignment = System.Drawing.StringAlignment.Near;
            chartTitle2.Font      = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Bold);
            chartTitle2.Text      = arg_name;
            chartTitle2.TextColor = System.Drawing.Color.Blue;
            arg_chart.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle2 });


            series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
            xySeriesUnwindAnimation1.EasingFunction = sineEasingFunction1; //powerEasingFunction1;
            //splineSeriesView1.SeriesAnimation = xySeriesUnwindAnimation1;//xySeriesBlowUpAnimation1;//xySeriesUnwindAnimation1; // xySeriesUnwrapAnimation1;

            arg_chart.Legend.Direction = LegendDirection.LeftToRight;

            //Constant line
            //constantLine1.ShowInLegend = false;
            constantLine1.AxisValueSerializable = arg_dt.Rows[0]["TARGET"].ToString();
            constantLine1.Color         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(80)))));
            constantLine1.Name          = "Target";
            constantLine1.ShowBehind    = false;
            constantLine1.Title.Visible = false;
            //constantLine1.Title.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            //constantLine1.Title.Text = "Target";
            constantLine1.LineStyle.Thickness = 2;
            constantLine1.Title.Alignment     = DevExpress.XtraCharts.ConstantLineTitleAlignment.Far;
            ((XYDiagram)arg_chart.Diagram).AxisY.ConstantLines.Clear();
            ((XYDiagram)arg_chart.Diagram).AxisY.ConstantLines.AddRange(new DevExpress.XtraCharts.ConstantLine[] { constantLine1 });



            //((XYDiagram)arg_chart.Diagram).AxisX.NumericScaleOptions.AutoGrid = false;
            //((XYDiagram)arg_chart.Diagram).AxisX.VisualRange.Auto = false;
            //((XYDiagram)arg_chart.Diagram).AxisX.VisualRange.AutoSideMargins = false;
            //((XYDiagram)arg_chart.Diagram).AxisX.Label.Angle = 90;
            //((XYDiagram)arg_chart.Diagram).AxisX.Label.ResolveOverlappingOptions.AllowHide = false;
            //((XYDiagram)arg_chart.Diagram).AxisX.Label.ResolveOverlappingOptions.AllowStagger = true;
            ((XYDiagram)arg_chart.Diagram).AxisX.Tickmarks.MinorVisible = false;
            ((XYDiagram)arg_chart.Diagram).AxisX.GridLines.Visible      = false;

            ((XYDiagram)arg_chart.Diagram).AxisX.Label.Font = new System.Drawing.Font("Tahoma", 10, System.Drawing.FontStyle.Bold);
            //((XYDiagram)arg_chart.Diagram).AxisY.NumericScaleOptions.ScaleMode = DevExpress.XtraCharts.ScaleMode.Continuous;
            //((XYDiagram)_chartControl1.Diagram).AxisY.NumericScaleOptions.ScaleMode = DevExpress.XtraCharts.ScaleMode.Automatic;
            //((XYDiagram)arg_chart.Diagram).AxisX.
            ((XYDiagram)arg_chart.Diagram).AxisY.Label.Font = new System.Drawing.Font("Tahoma", 10, System.Drawing.FontStyle.Bold);

            ((XYDiagram)arg_chart.Diagram).AxisX.Title.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            ((XYDiagram)arg_chart.Diagram).AxisY.Title.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));



            pn_body.Controls.Add(arg_chart);
        }
        private void CreateChart(DataTable _dt, DevExpress.XtraCharts.ChartControl _chartControl)
        {
            try
            {
                _dt.Rows.RemoveAt(0);
                ((XYDiagram)_chartControl.Diagram).EnableAxisXZooming = true;
                //((XYDiagram)barChartControl.Diagram).AxisX.NumericScaleOptions.ScaleMode = DevExpress.XtraCharts.ScaleMode.Automatic;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.Auto             = false;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.AutoSideMargins  = false;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.SideMarginsValue = 2;
                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Angle      = 0;
                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Font       = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold);
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Text       = "Model";

                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Font = new Font("Calibri", 14F, System.Drawing.FontStyle.Bold);

                ((XYDiagram)_chartControl.Diagram).AxisY.Label.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold);
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.True;
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Text        = " Inventory (Prs)";
                ((XYDiagram)_chartControl.Diagram).AxisY.Label.TextPattern = "{V:###,###}";
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Font        = new Font("Calibri", 14F, System.Drawing.FontStyle.Bold);

                ((XYDiagram)_chartControl.Diagram).AxisY.Title.TextColor = Color.DarkOrange;
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.TextColor = Color.DarkOrange;

                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Angle = 50;

                DevExpress.XtraCharts.LineSeriesView          splineSeriesView1        = new DevExpress.XtraCharts.LineSeriesView();
                DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesSlideAnimation1  = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();

                _chartControl.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;

                _chartControl.Series.Clear();
                _chartControl.Titles.Clear();


                Series series1 = new Series("Inventory", ViewType.Bar);
                Series series2 = new Series("Leadtime", ViewType.Line);
                Legend lgBox   = new Legend();
                lgBox.Visibility = DevExpress.Utils.DefaultBoolean.True;
                lgBox.Font       = new Font("Calibri", 16F, System.Drawing.FontStyle.Bold);

                if (_dt != null && _dt.Rows.Count > 0)
                {
                    for (int iRow = 0; iRow < _dt.Rows.Count; iRow++)
                    {
                        if (_dt.Rows[iRow]["INV_QTY"].ToString() != "")
                        {
                            series1.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), Convert.ToInt32(_dt.Rows[iRow]["INV_QTY"].ToString())));
                        }
                        else
                        {
                            series1.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), 0));
                        }

                        if (_dt.Rows[iRow]["LEADTIME"].ToString() != "")
                        {
                            series2.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), Convert.ToDouble(_dt.Rows[iRow]["LEADTIME"].ToString())));
                        }
                        else
                        {
                            series2.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), 0));
                        }
                    }
                }



                sideBySideBarSeriesView1.ColorEach      = false;
                sideBySideBarSeriesView1.Shadow.Visible = false;
                series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series1.Label.TextPattern = "{V:###,###}";
                series1.ArgumentScaleType = ScaleType.Qualitative;

                series1.View = sideBySideBarSeriesView1;


                splineSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
                splineSeriesView1.LineStyle.Thickness     = 2;
                splineSeriesView1.SeriesAnimation         = xySeriesSlideAnimation1;
                splineSeriesView1.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;
                splineSeriesView1.LineMarkerOptions.Size  = 15;
                splineSeriesView1.LineMarkerOptions.Color = Color.DodgerBlue;

                series2.Label.BackColor   = Color.White;
                series2.Label.Font        = new System.Drawing.Font("Calibri", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series2.Label.TextPattern = "{V:##0.#}";
                series2.ArgumentScaleType = ScaleType.Qualitative;
                series2.View = splineSeriesView1;

                // Access the type-specific options of the diagram.

                _chartControl.Series.AddRange(new Series[] { series1, series2 });

                SecondaryAxisY myAxisY = new SecondaryAxisY("my Y-Axis");

                //myAxisY.VisualRange.SetMinMaxValues(0, 20);
                myAxisY.Title.Text             = "Leadtime (Days)";
                myAxisY.Tickmarks.MinorVisible = true;

                //((XYDiagram)barChartControl.Diagram).AxisY.WholeRange.SetMinMaxValues(90, 100);
                myAxisY.Label.Font        = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                myAxisY.Title.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                myAxisY.Label.TextPattern = "{V:##0.##}";
                myAxisY.Title.TextColor   = Color.DarkOrange;
                myAxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.Default;
                ((XYDiagram)_chartControl.Diagram).SecondaryAxesY.Clear();
                ((XYDiagram)_chartControl.Diagram).SecondaryAxesY.Add(myAxisY);

                ((LineSeriesView)series2.View).AxisY = myAxisY;



                // _chartControl.Legends.Add(lgBox);


                // Add a title to the chart (if necessary).
                // _chartControl.Titles.Add(new ChartTitle());
                //_chartControl.Titles[0].Text = "Production";
            }
            catch (Exception EX)
            {
            }
        }
Example #5
0
        private void CreateChart(DataTable _dt, DevExpress.XtraCharts.ChartControl _chartControl)
        {
            try
            {
                ((XYDiagram)_chartControl.Diagram).EnableAxisXZooming = true;
                //((XYDiagram)barChartControl.Diagram).AxisX.NumericScaleOptions.ScaleMode = DevExpress.XtraCharts.ScaleMode.Automatic;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.Auto             = false;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.AutoSideMargins  = false;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.SideMarginsValue = 2;
                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Angle      = 0;
                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Font       = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold);
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Text       = "Date";

                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Font = new Font("Calibri", 14F, System.Drawing.FontStyle.Bold);

                ((XYDiagram)_chartControl.Diagram).AxisY.Label.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold);
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.True;
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Text        = " Qty (Prs)";
                ((XYDiagram)_chartControl.Diagram).AxisY.Label.TextPattern = "{V:###,###}";
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Font        = new Font("Calibri", 14F, System.Drawing.FontStyle.Bold);

                ((XYDiagram)_chartControl.Diagram).AxisY.Title.TextColor = Color.DarkOrange;
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.TextColor = Color.DarkOrange;

                DevExpress.XtraCharts.LineSeriesView          splineSeriesView1        = new DevExpress.XtraCharts.LineSeriesView();
                DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesSlideAnimation1  = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();

                _chartControl.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;

                _chartControl.Series.Clear();
                _chartControl.Titles.Clear();


                Series series1 = new Series("Production", ViewType.Bar);
                Series series2 = new Series("Plan", ViewType.Line);
                Legend lgBox   = new Legend();
                lgBox.Visibility = DevExpress.Utils.DefaultBoolean.True;
                lgBox.Font       = new Font("Calibri", 16F, System.Drawing.FontStyle.Bold);

                if (_dt != null && _dt.Rows.Count > 0)
                {
                    for (int iRow = 0; iRow < _dt.Rows.Count; iRow++)
                    {
                        if (_dt.Rows[iRow]["DIV"].ToString() == "1")
                        {
                            for (int iCol = 1; iCol < _dt.Columns.Count; iCol++)
                            {
                                if (_dt.Rows[iRow][iCol].ToString() != "")
                                {
                                    series2.Points.Add(new SeriesPoint(_dt.Columns[iCol].Caption.ToString().Substring(7, 2), Convert.ToInt32(_dt.Rows[iRow][iCol].ToString())));
                                }
                                else
                                {
                                    series2.Points.Add(new SeriesPoint(_dt.Columns[iCol].Caption.ToString().Substring(7, 2), 0));
                                }
                            }
                        }
                        if (_dt.Rows[iRow]["DIV"].ToString() == "2")
                        {
                            for (int iCol = 1; iCol < _dt.Columns.Count; iCol++)
                            {
                                if (_dt.Rows[iRow][iCol].ToString() != "")
                                {
                                    series1.Points.Add(new SeriesPoint(_dt.Columns[iCol].Caption.ToString().Substring(7, 2), Convert.ToInt32(_dt.Rows[iRow][iCol].ToString())));
                                }
                                else
                                {
                                    series1.Points.Add(new SeriesPoint(_dt.Columns[iCol].Caption.ToString().Substring(7, 2), 0));
                                }
                            }
                        }
                    }
                }



                sideBySideBarSeriesView1.ColorEach      = false;
                sideBySideBarSeriesView1.Shadow.Visible = false;
                series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series1.Label.TextPattern = "{V:###,###}";
                series1.ArgumentScaleType = ScaleType.Qualitative;

                series1.View = sideBySideBarSeriesView1;


                splineSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
                splineSeriesView1.LineStyle.Thickness     = 2;
                splineSeriesView1.SeriesAnimation         = xySeriesSlideAnimation1;
                splineSeriesView1.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;
                splineSeriesView1.LineMarkerOptions.Size  = 15;
                splineSeriesView1.LineMarkerOptions.Color = Color.DodgerBlue;

                series2.Label.BackColor   = Color.White;
                series2.Label.Font        = new System.Drawing.Font("Calibri", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series2.Label.TextPattern = "{V:###,###}";
                series2.ArgumentScaleType = ScaleType.Qualitative;
                series2.View = splineSeriesView1;

                // Access the type-specific options of the diagram.
                _chartControl.Series.AddRange(new Series[] { series1, series2 });
                _chartControl.Legends.Add(lgBox);


                // Add a title to the chart (if necessary).
                // _chartControl.Titles.Add(new ChartTitle());
                //_chartControl.Titles[0].Text = "Production";
            }
            catch (Exception EX)
            {
            }
        }
Example #6
0
        private void BindingPareto(DevExpress.XtraCharts.ChartControl charControl, DataTable dt, string iColPoint, string iColValue, string iColPercent, string _ChartTitle, string _sYTitle, string _sXTitle)
        {
            try
            {
                ((XYDiagram)charControl.Diagram).AxisX.NumericScaleOptions.AutoGrid = true;
                ((XYDiagram)charControl.Diagram).AxisX.Title.TextColor = Color.DarkOrange;
                ((XYDiagram)charControl.Diagram).AxisX.Title.Text      = _sXTitle;
                ((XYDiagram)charControl.Diagram).AxisY.Title.TextColor = Color.DarkOrange;
                ((XYDiagram)charControl.Diagram).AxisY.Title.Text      = _sYTitle;
                ((XYDiagram)charControl.Diagram).AxisX.Title.Font      = new System.Drawing.Font("Calibri", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                ((XYDiagram)charControl.Diagram).AxisX.Label.Font      = new System.Drawing.Font("Calibri", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                ((XYDiagram)charControl.Diagram).AxisY.Title.Font      = new System.Drawing.Font("Calibri", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                ((XYDiagram)charControl.Diagram).AxisY.Label.Font      = new System.Drawing.Font("Calibri", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

                ((XYDiagram)charControl.Diagram).AxisX.Label.Angle = 50;


                DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                DevExpress.XtraCharts.SplineSeriesView        splineSeriesView1        = new DevExpress.XtraCharts.SplineSeriesView();
                DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesSlideAnimation1  = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();


                sideBySideBarSeriesView1.ColorEach = true;

                charControl.Series.Clear();
                charControl.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;

                //charControl.SeriesSorting = SortingMode.Descending;


                Series series1 = new Series(_ChartTitle, ViewType.Bar);
                Series series2 = new Series("%", ViewType.Spline);
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    series1.Points.Add(new SeriesPoint(dt.Rows[i][iColPoint].ToString(), dt.Rows[i][iColValue].ToString()));
                    series2.Points.Add(new SeriesPoint(dt.Rows[i][iColPoint].ToString(), dt.Rows[i][iColPercent].ToString()));
                }


                series1.ArgumentScaleType          = ScaleType.Qualitative;
                series2.ArgumentScaleType          = ScaleType.Qualitative;
                series1.LabelsVisibility           = DevExpress.Utils.DefaultBoolean.True;
                sideBySideBarSeriesView1.ColorEach = false;
                series1.View       = sideBySideBarSeriesView1;
                series1.Label.Font = new System.Drawing.Font("Calibri", 8.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

                splineSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
                splineSeriesView1.LineStyle.Thickness = 2;
                splineSeriesView1.SeriesAnimation     = xySeriesSlideAnimation1;

                splineSeriesView1.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;
                splineSeriesView1.LineMarkerOptions.Size  = 15;
                splineSeriesView1.LineMarkerOptions.Color = Color.DodgerBlue;

                series2.Label.BackColor   = Color.White;
                series2.Label.Font        = new System.Drawing.Font("Calibri", 8.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series2.Label.TextPattern = "{V:###.##}%";
                series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series2.View = splineSeriesView1;


                charControl.Series.AddRange(new Series[] { series1, series2 });


                //((XYDiagram)charControl.Diagram).AxisY.VisualRange.SideMarginsValue = 1;

                charControl.Titles[0].Text = _ChartTitle;
                charControl.Titles[0].Font = new System.Drawing.Font("Calibri", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

                SecondaryAxisY myAxisY = new SecondaryAxisY("my Y-Axis");
                ((XYDiagram)charControl.Diagram).SecondaryAxesY.Clear();
                ((XYDiagram)charControl.Diagram).SecondaryAxesY.Add(myAxisY);
                myAxisY.VisualRange.SetMinMaxValues(0, 95);
                myAxisY.Title.Text             = "%";
                myAxisY.Tickmarks.MinorVisible = false;

                //((XYDiagram)barChartControl.Diagram).AxisY.WholeRange.SetMinMaxValues(90, 100);
                myAxisY.Label.Font        = new System.Drawing.Font("Calibri", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                myAxisY.Title.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                myAxisY.Label.TextPattern = "{V:###.##}";
                myAxisY.Title.TextColor   = Color.DarkOrange;
                myAxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.Default;

                ((SplineSeriesView)series2.View).AxisY = myAxisY;
                ((XYDiagram)charControl.Diagram).AxisX.QualitativeScaleOptions.AutoGrid = false;
            }
            catch (Exception ex)
            {
            }
        }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraReports.UI.XRSummary            xrSummary1                = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraCharts.SimpleDiagram            simpleDiagram1            = new DevExpress.XtraCharts.SimpleDiagram();
     DevExpress.XtraCharts.Series                   series1                   = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesView  sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
     DevExpress.XtraCharts.Series                   series2                   = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.PieSeriesLabel           pieSeriesLabel1           = new DevExpress.XtraCharts.PieSeriesLabel();
     DevExpress.XtraCharts.PieSeriesView            pieSeriesView1            = new DevExpress.XtraCharts.PieSeriesView();
     DevExpress.XtraCharts.KeyColorColorizer        keyColorColorizer1        = new DevExpress.XtraCharts.KeyColorColorizer();
     DevExpress.XtraReports.UI.XRSummary            xrSummary2                = new DevExpress.XtraReports.UI.XRSummary();
     this.groupFooterBand1           = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrLabel7                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4                   = new DevExpress.XtraReports.UI.XRLabel();
     this.ReportDetailBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportOddStyle             = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportFooterBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.bottomMarginBand1          = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.topMarginBand1             = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrLabel5                   = new DevExpress.XtraReports.UI.XRLabel();
     this.pageHeaderBand1            = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel1                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3                   = new DevExpress.XtraReports.UI.XRLabel();
     this.detailBand1                = new DevExpress.XtraReports.UI.DetailBand();
     this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportHeaderBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.groupHeaderBand1           = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportEvenStyle            = new DevExpress.XtraReports.UI.XRControlStyle();
     this.totalBindingSource         = new System.Windows.Forms.BindingSource(this.components);
     this.reportFooterBand1          = new DevExpress.XtraReports.UI.ReportFooterBand();
     this.xrChart1                   = new DevExpress.XtraReports.UI.XRChart();
     this.xrLabel10                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6                   = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // groupFooterBand1
     //
     this.groupFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel7,
         this.xrLabel2,
         this.xrLabel4
     });
     this.groupFooterBand1.Dpi       = 254F;
     this.groupFooterBand1.HeightF   = 62.81247F;
     this.groupFooterBand1.Name      = "groupFooterBand1";
     this.groupFooterBand1.StyleName = "ReportGroupFooterBandStyle";
     //
     // xrLabel7
     //
     this.xrLabel7.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
     this.xrLabel7.AnchorVertical   = DevExpress.XtraReports.UI.VerticalAnchorStyles.Top;
     this.xrLabel7.BackColor        = System.Drawing.Color.Empty;
     this.xrLabel7.BorderColor      = System.Drawing.Color.Black;
     this.xrLabel7.Borders          = DevExpress.XtraPrinting.BorderSide.Bottom;
     this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "name_form")
     });
     this.xrLabel7.Dpi           = 254F;
     this.xrLabel7.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(221.9238F, 0F);
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel7.SizeF         = new System.Drawing.SizeF(1128.625F, 62.81246F);
     this.xrLabel7.StylePriority.UseBackColor     = false;
     this.xrLabel7.StylePriority.UseBorderColor   = false;
     this.xrLabel7.StylePriority.UseBorders       = false;
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UsePadding       = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text          = "xrLabel4";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrLabel7.PrintOnPage  += new DevExpress.XtraReports.UI.PrintOnPageEventHandler(this.xrLabel7_PrintOnPage);
     //
     // xrLabel2
     //
     this.xrLabel2.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.xrLabel2.AnchorVertical   = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
     this.xrLabel2.BackColor        = System.Drawing.Color.White;
     this.xrLabel2.BorderColor      = System.Drawing.Color.Black;
     this.xrLabel2.Borders          = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel2.CanGrow          = false;
     this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "form_id")
     });
     this.xrLabel2.Dpi           = 254F;
     this.xrLabel2.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.0002018611F, 0F);
     this.xrLabel2.Name          = "xrLabel2";
     this.xrLabel2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel2.SizeF         = new System.Drawing.SizeF(221.9236F, 62.81247F);
     this.xrLabel2.StylePriority.UseBackColor     = false;
     this.xrLabel2.StylePriority.UseBorderColor   = false;
     this.xrLabel2.StylePriority.UseBorders       = false;
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UsePadding       = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text          = "xrLabel2";
     this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrLabel2.WordWrap      = false;
     //
     // xrLabel4
     //
     this.xrLabel4.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.xrLabel4.AnchorVertical   = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
     this.xrLabel4.BackColor        = System.Drawing.Color.White;
     this.xrLabel4.BorderColor      = System.Drawing.Color.Black;
     this.xrLabel4.BorderDashStyle  = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrLabel4.Borders          = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel4.CanGrow = false;
     this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
     });
     this.xrLabel4.Dpi           = 254F;
     this.xrLabel4.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel4.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1350.549F, 1.458325F);
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(402.0969F, 61.35414F);
     this.xrLabel4.StylePriority.UseBackColor       = false;
     this.xrLabel4.StylePriority.UseBorderColor     = false;
     this.xrLabel4.StylePriority.UseBorderDashStyle = false;
     this.xrLabel4.StylePriority.UseBorders         = false;
     this.xrLabel4.StylePriority.UseFont            = false;
     this.xrLabel4.StylePriority.UseForeColor       = false;
     this.xrLabel4.StylePriority.UsePadding         = false;
     this.xrLabel4.StylePriority.UseTextAlignment   = false;
     xrSummary1.FormatString          = "{0:HH:mm}";
     xrSummary1.IgnoreNullValues      = true;
     xrSummary1.Running               = DevExpress.XtraReports.UI.SummaryRunning.Group;
     this.xrLabel4.Summary            = xrSummary1;
     this.xrLabel4.Text               = "xrLabel4";
     this.xrLabel4.TextAlignment      = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel4.WordWrap           = false;
     this.xrLabel4.SummaryGetResult  += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel4_SummaryGetResult);
     this.xrLabel4.SummaryReset      += new System.EventHandler(this.xrLabel4_SummaryReset);
     this.xrLabel4.SummaryRowChanged += new System.EventHandler(this.xrLabel4_SummaryRowChanged);
     //
     // ReportDetailBandStyle
     //
     this.ReportDetailBandStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportDetailBandStyle.Name          = "ReportDetailBandStyle";
     this.ReportDetailBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportOddStyle
     //
     this.ReportOddStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportOddStyle.Name          = "ReportOddStyle";
     this.ReportOddStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportFooterBandStyle
     //
     this.ReportFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ReportFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
     this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.ReportFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
     this.ReportFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ReportFooterBandStyle.Name            = "ReportFooterBandStyle";
     this.ReportFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // bottomMarginBand1
     //
     this.bottomMarginBand1.Dpi          = 254F;
     this.bottomMarginBand1.HeightF      = 254F;
     this.bottomMarginBand1.Name         = "bottomMarginBand1";
     this.bottomMarginBand1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.bottomMarginBand1_BeforePrint);
     //
     // topMarginBand1
     //
     this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel5
     });
     this.topMarginBand1.Dpi     = 254F;
     this.topMarginBand1.HeightF = 326.4375F;
     this.topMarginBand1.Name    = "topMarginBand1";
     //
     // xrLabel5
     //
     this.xrLabel5.CanGrow                        = false;
     this.xrLabel5.Dpi                            = 254F;
     this.xrLabel5.Font                           = new System.Drawing.Font("Times New Roman", 16F);
     this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 190.2292F);
     this.xrLabel5.Multiline                      = true;
     this.xrLabel5.Name                           = "xrLabel5";
     this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel5.SizeF                          = new System.Drawing.SizeF(1812F, 136.2083F);
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text                           = "Отчет о работе с формами c ";
     this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // pageHeaderBand1
     //
     this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1,
         this.xrLabel3
     });
     this.pageHeaderBand1.Dpi                   = 254F;
     this.pageHeaderBand1.Font                  = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.pageHeaderBand1.HeightF               = 74.58331F;
     this.pageHeaderBand1.Name                  = "pageHeaderBand1";
     this.pageHeaderBand1.StyleName             = "ReportHeaderBandStyle";
     this.pageHeaderBand1.StylePriority.UseFont = false;
     //
     // xrLabel1
     //
     this.xrLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel1.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel1.Dpi           = 254F;
     this.xrLabel1.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(1350.549F, 74.58331F);
     this.xrLabel1.StylePriority.UseBackColor     = false;
     this.xrLabel1.StylePriority.UseBorders       = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UsePadding       = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text          = "Технологическая оснастка";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel1.WordWrap      = false;
     //
     // xrLabel3
     //
     this.xrLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel3.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                       | DevExpress.XtraPrinting.BorderSide.Right)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel3.Dpi           = 254F;
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(1350.549F, 0F);
     this.xrLabel3.Multiline     = true;
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(402.097F, 74.58331F);
     this.xrLabel3.StylePriority.UseBackColor     = false;
     this.xrLabel3.StylePriority.UseBorders       = false;
     this.xrLabel3.StylePriority.UsePadding       = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text          = "Время";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // detailBand1
     //
     this.detailBand1.Dpi           = 254F;
     this.detailBand1.EvenStyleName = "ReportEvenStyle";
     this.detailBand1.HeightF       = 0F;
     this.detailBand1.Name          = "detailBand1";
     this.detailBand1.OddStyleName  = "ReportOddStyle";
     this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None)
     });
     this.detailBand1.StyleName = "ReportDetailBandStyle";
     //
     // ReportGroupHeaderBandStyle
     //
     this.ReportGroupHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
     this.ReportGroupHeaderBandStyle.Name          = "ReportGroupHeaderBandStyle";
     this.ReportGroupHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F);
     this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportHeaderBandStyle
     //
     this.ReportHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
     this.ReportHeaderBandStyle.Name          = "ReportHeaderBandStyle";
     this.ReportHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // groupHeaderBand1
     //
     this.groupHeaderBand1.Dpi      = 254F;
     this.groupHeaderBand1.Expanded = false;
     this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("form_id", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
     this.groupHeaderBand1.HeightF    = 0F;
     this.groupHeaderBand1.Name       = "groupHeaderBand1";
     this.groupHeaderBand1.StyleName  = "ReportGroupHeaderBandStyle";
     //
     // ReportGroupFooterBandStyle
     //
     this.ReportGroupFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ReportGroupFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
     this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.ReportGroupFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
     this.ReportGroupFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ReportGroupFooterBandStyle.Name            = "ReportGroupFooterBandStyle";
     this.ReportGroupFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportGroupFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportEvenStyle
     //
     this.ReportEvenStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportEvenStyle.Name          = "ReportEvenStyle";
     this.ReportEvenStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // totalBindingSource
     //
     this.totalBindingSource.DataMember = "total";
     //
     // reportFooterBand1
     //
     this.reportFooterBand1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.reportFooterBand1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrChart1,
         this.xrLabel10,
         this.xrLabel6
     });
     this.reportFooterBand1.Dpi       = 254F;
     this.reportFooterBand1.HeightF   = 1730.587F;
     this.reportFooterBand1.Name      = "reportFooterBand1";
     this.reportFooterBand1.StyleName = "ReportFooterBandStyle";
     this.reportFooterBand1.StylePriority.UseBackColor   = false;
     this.reportFooterBand1.StylePriority.UseBorderColor = false;
     //
     // xrChart1
     //
     this.xrChart1.AnchorHorizontal           = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.xrChart1.AnchorVertical             = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
     this.xrChart1.AppearanceNameSerializable = "Nature Colors";
     this.xrChart1.AutoLayout  = true;
     this.xrChart1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.xrChart1.BorderColor = System.Drawing.Color.Black;
     this.xrChart1.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     simpleDiagram1.LabelsResolveOverlappingMinIndent = 5;
     this.xrChart1.Diagram = simpleDiagram1;
     this.xrChart1.Dpi     = 254F;
     this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
     this.xrChart1.Legend.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside;
     this.xrChart1.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
     this.xrChart1.Legend.Name   = "Default Legend";
     this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(3.00018F, 95.25003F);
     this.xrChart1.Name          = "xrChart1";
     this.xrChart1.PaletteName   = "Mixed";
     sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True;
     sideBySideBarSeriesLabel1.Position           = DevExpress.XtraCharts.BarSeriesLabelPosition.BottomInside;
     series1.Label             = sideBySideBarSeriesLabel1;
     series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
     series1.LegendTextPattern = "{A}";
     series1.Name = "Ряд 1";
     sideBySideBarSeriesView1.BarWidth           = 0.5D;
     sideBySideBarSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.True;
     sideBySideBarSeriesView1.ColorEach          = true;
     sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch;
     series1.View    = sideBySideBarSeriesView1;
     series1.Visible = false;
     pieSeriesLabel1.EnableAntialiasing     = DevExpress.Utils.DefaultBoolean.True;
     pieSeriesLabel1.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default;
     pieSeriesLabel1.TextPattern            = "{A} {VP:0.00%}";
     series2.Label             = pieSeriesLabel1;
     series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
     series2.LegendTextPattern = "{A}";
     series2.Name = "Ряд 2";
     pieSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.False;
     pieSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
     pieSeriesView1.Rotation           = 270;
     pieSeriesView1.SweepDirection     = DevExpress.XtraCharts.PieSweepDirection.Clockwise;
     series2.View = pieSeriesView1;
     this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
         series1,
         series2
     };
     this.xrChart1.SeriesTemplate.Colorizer = keyColorColorizer1;
     this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1635.337F);
     //
     // xrLabel10
     //
     this.xrLabel10.BackColor     = System.Drawing.Color.White;
     this.xrLabel10.BorderColor   = System.Drawing.Color.Black;
     this.xrLabel10.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel10.Dpi           = 254F;
     this.xrLabel10.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.0002018611F, 0F);
     this.xrLabel10.Name          = "xrLabel10";
     this.xrLabel10.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel10.SizeF         = new System.Drawing.SizeF(1350.548F, 63.99998F);
     this.xrLabel10.StylePriority.UseBackColor     = false;
     this.xrLabel10.StylePriority.UseBorderColor   = false;
     this.xrLabel10.StylePriority.UseBorders       = false;
     this.xrLabel10.StylePriority.UseFont          = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     this.xrLabel10.Text          = "Итого:";
     this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrLabel6
     //
     this.xrLabel6.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.xrLabel6.BorderColor     = System.Drawing.Color.Red;
     this.xrLabel6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrLabel6.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                            | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
     });
     this.xrLabel6.Dpi           = 254F;
     this.xrLabel6.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel6.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1350.549F, 0F);
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel6.SizeF         = new System.Drawing.SizeF(400.597F, 64F);
     this.xrLabel6.StylePriority.UseBackColor       = false;
     this.xrLabel6.StylePriority.UseBorderColor     = false;
     this.xrLabel6.StylePriority.UseBorderDashStyle = false;
     this.xrLabel6.StylePriority.UseBorders         = false;
     this.xrLabel6.StylePriority.UseFont            = false;
     this.xrLabel6.StylePriority.UseForeColor       = false;
     this.xrLabel6.StylePriority.UsePadding         = false;
     this.xrLabel6.StylePriority.UseTextAlignment   = false;
     xrSummary2.Func                  = DevExpress.XtraReports.UI.SummaryFunc.Custom;
     xrSummary2.IgnoreNullValues      = true;
     xrSummary2.Running               = DevExpress.XtraReports.UI.SummaryRunning.Report;
     this.xrLabel6.Summary            = xrSummary2;
     this.xrLabel6.Text               = "xrLabel6";
     this.xrLabel6.TextAlignment      = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel6.WordWrap           = false;
     this.xrLabel6.SummaryGetResult  += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel6_SummaryGetResult);
     this.xrLabel6.SummaryRowChanged += new System.EventHandler(this.xrLabel6_SummaryRowChanged);
     //
     // press_form_report
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.topMarginBand1,
         this.pageHeaderBand1,
         this.groupHeaderBand1,
         this.detailBand1,
         this.groupFooterBand1,
         this.reportFooterBand1,
         this.bottomMarginBand1
     });
     this.Dpi          = 254F;
     this.Margins      = new System.Drawing.Printing.Margins(201, 87, 326, 254);
     this.PageHeight   = 2970;
     this.PageWidth    = 2100;
     this.PaperKind    = System.Drawing.Printing.PaperKind.A4;
     this.ReportUnit   = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
     this.SnapGridSize = 25F;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.ReportHeaderBandStyle,
         this.ReportGroupHeaderBandStyle,
         this.ReportDetailBandStyle,
         this.ReportGroupFooterBandStyle,
         this.ReportFooterBandStyle,
         this.ReportOddStyle,
         this.ReportEvenStyle
     });
     this.Version = "16.2";
     this.DataSourceRowChanged += new DevExpress.XtraReports.UI.DataSourceRowEventHandler(this.press_form_report_DataSourceRowChanged);
     ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
        private void CreateChart(DevExpress.XtraCharts.ChartControl Chart, DataTable dt, string col)
        {
            try
            {
                Chart.Series.Clear();
                //Chart.Titles.Clear();

                Chart.AppearanceNameSerializable = "Chameleon";
                Chart.AnimationStartMode         = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;
                DevExpress.XtraCharts.LineSeriesView          lineSeriesView1         = new DevExpress.XtraCharts.LineSeriesView();
                DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                lineSeriesView1.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;
                lineSeriesView1.Color                   = System.Drawing.Color.LimeGreen;
                lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80)))));
                lineSeriesView1.LineStyle.Thickness     = 3;


                sideBySideBarSeriesView.ColorEach          = false;
                sideBySideBarSeriesView.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
                string[] value = null;
                Chart.Series.Add("Target", ViewType.Line);
                Chart.Series[0].View = lineSeriesView1;
                if (dt != null && dt.Rows.Count > 0)
                {
                    for (int i_col = 3; i_col < dt.Columns.Count; i_col++)
                    {
                        Chart.Series.Add(line.Substring(0, 3) == "TOT" ? "Lean " + dt.Columns[i_col].ColumnName.Replace("'", "") : "Line " + dt.Columns[i_col].ColumnName.Replace("'", ""), ViewType.Bar);
                        for (int i = 0; i < dt.Rows.Count; i++)
                        {
                            Chart.Series[i_col - 2].View.Color = System.Drawing.Color.ForestGreen;
                            Chart.Series[i_col - 2].View       = sideBySideBarSeriesView;
                            if (dt.Rows[i][i_col].ToString() != "")
                            {
                                value = dt.Rows[i][i_col].ToString().Split('/');
                                //Chart.Series[i - 1].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), value[0]));
                                if (Convert.ToDouble(value[0]) > 0)
                                {
                                    Chart.Series[i_col - 2].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), Convert.ToDouble(value[0])));
                                    Chart.Series[0].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), Convert.ToDouble(value[1])));
                                }
                                else
                                {
                                    Chart.Series[i_col - 2].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString()));
                                    Chart.Series[0].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), Convert.ToDouble(value[1])));
                                }

                                if (Convert.ToDouble(value[0]) < Convert.ToDouble(value[1]))
                                {
                                    Chart.Series[i_col - 2].Points[i].Color = Color.Red;
                                }
                                else
                                {
                                    Chart.Series[i_col - 2].Points[i].Color = System.Drawing.Color.ForestGreen;
                                }
                            }
                            else
                            {
                                Chart.Series[i_col - 2].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString()));
                                Chart.Series[0].Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString()));
                            }

                            Chart.Series[i_col - 2].LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                            Chart.Series[i_col - 2].Label.TextPattern = "{S}";
                            ((SideBySideBarSeriesLabel)Chart.Series[i_col - 2].Label).Position = BarSeriesLabelPosition.Top;
                            Chart.Series[i_col - 2].Label.TextOrientation = TextOrientation.BottomToTop;
                        }
                    }
                    //Chart.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 };
                    //Chart.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;

                    //((XYDiagram)Chart.Diagram).AxisX.Label.Font = new System.Drawing.Font("Calibri", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    //((XYDiagram)Chart.Diagram).AxisX.Title.Font = new System.Drawing.Font("Calibri", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    //((XYDiagram)Chart.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
                    //((XYDiagram)Chart.Diagram).AxisY.Label.Font = new System.Drawing.Font("Tahoma", 14F);
                    //((XYDiagram)Chart.Diagram).AxisY.Title.Font = new System.Drawing.Font("Calibri", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    //((XYDiagram)Chart.Diagram).AxisY.Title.Text = "Production (Prs)";
                }
            }
            catch (Exception EX)
            {
            }
        }
        private void CreateByModelChart()
        {
            //Reset Chart beforce biding Data
            ChartByModel.Series.Clear();
            ChartByModel.Titles.Clear();
            // Create an empty chart. (No need).
            ChartByModel.AppearanceNameSerializable = "Slipstream";
            //create New object
            DevExpress.XtraCharts.LineSeriesView          lineSeriesView1          = new DevExpress.XtraCharts.LineSeriesView();
            DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesUnwindAnimation1 = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();
            DevExpress.XtraCharts.PowerEasingFunction     powerEasingFunction1     = new DevExpress.XtraCharts.PowerEasingFunction();
            DevExpress.XtraCharts.BarSlideAnimation       barSlideAnimation1       = new DevExpress.XtraCharts.BarSlideAnimation();

            DevExpress.XtraCharts.LineSeriesView lineSeriesView2 = new DevExpress.XtraCharts.LineSeriesView();


            // Create the first side-by-side bar series and add points to it.
            Series series1 = new Series("Inv", ViewType.Bar);
            Series series2 = new Series("%", ViewType.Line);
            // Create the second side-by-side bar series and add points to it.

            DataTable dt = SEL_FG_BY_MODEL(Line, Mline);

            if (dt != null && dt.Rows.Count > 0)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    series1.Points.Add(new SeriesPoint(dt.Rows[i]["MODEL_NAME"].ToString(), dt.Rows[i]["INV"]));
                    series2.Points.Add(new SeriesPoint(dt.Rows[i]["MODEL_NAME"].ToString(), dt.Rows[i]["PAR"]));
                }
            }
            series1.ArgumentScaleType = ScaleType.Qualitative;
            series2.ArgumentScaleType = ScaleType.Qualitative;
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();

            (series1.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;

            sideBySideBarSeriesView1.ColorEach = false;
            sideBySideBarSeriesView1.Animation = barSlideAnimation1;
            sideBySideBarSeriesView1.Color     = Color.DarkOrange;
            series1.View = sideBySideBarSeriesView1;

            //marker
            lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.Gold;
            lineSeriesView1.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;

            //fORMAT LINE
            lineSeriesView1.Color = Color.DeepPink;

            series2.View             = lineSeriesView1;
            series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;

            lineSeriesView2.LineMarkerOptions.Color = System.Drawing.Color.Gold;
            lineSeriesView2.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;
            // Add the series to the chart.

            ChartByModel.SeriesSerializable = new Series[] { series1, series2 };
            //Dailychart.Series.Add(series1);
            //Dailychart.Series.Add(series2);

            // Create two secondary axes, and add them to the chart's Diagram.
            SecondaryAxisY myAxisY = new SecondaryAxisY("my Y-Axis");

            ((XYDiagram)ChartByModel.Diagram).SecondaryAxesY.Clear();
            ((XYDiagram)ChartByModel.Diagram).SecondaryAxesY.Add(myAxisY);
            myAxisY.Label.TextPattern = "{V:#,#}";
            myAxisY.Title.TextColor   = System.Drawing.Color.OrangeRed;
            myAxisY.Title.Font        = new Font("Calibri", 16, FontStyle.Regular);
            myAxisY.Title.Text        = "%";
            myAxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.Default;
            // myAxisY.Label.Font = new System.Drawing.Font("Calibri", 12F);

            ((LineSeriesView)series2.View).AxisY = myAxisY;


            ((XYDiagram)ChartByModel.Diagram).AxisX.Title.Text = "Model";
            ((XYDiagram)ChartByModel.Diagram).AxisY.Title.Text = "Inv (Prs)";



            // Rotate the diagram (if necessary).
            ((XYDiagram)ChartByModel.Diagram).Rotated = false;

            //ScaleBreak NUmber
            ((XYDiagram)ChartByModel.Diagram).AxisX.NumericScaleOptions.AutoGrid = false;

            //Title
            ((XYDiagram)ChartByModel.Diagram).AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
            ((XYDiagram)ChartByModel.Diagram).AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;

            //legend
            ChartByModel.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.RightOutside;
            ChartByModel.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.TopToBottom;
            ChartByModel.Legend.MarkerMode          = DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker;
            ChartByModel.Legend.Name       = "Default Legend";
            ChartByModel.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;

            ((XYDiagram)Dailychart.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
            //Label
            series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
            series1.Label.TextPattern = "{V:#,#}";
            series2.Label.TextPattern = "{V}" + "%";
            (series1.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;

            ((XYDiagram)ChartByModel.Diagram).AxisY.Label.TextPattern = "{V:#,#}";

            // Add a title to the chart (if necessary).
            ChartTitle chartTitle1 = new ChartTitle();

            chartTitle1.Text = "Inventory by Model";
            ChartByModel.Titles.Add(chartTitle1);

            // Add the chart to the form.
            ChartByModel.Dock = DockStyle.Fill;
            splitChart_Detail.Panel1.Controls.Add(ChartByModel);
        }
        private void CreateChart(DevExpress.XtraCharts.ChartControl Chart, DataTable dt, string col)
        {
            try
            {
                Chart.Series.Clear();
                Chart.Titles.Clear();



                string name = "";
                switch (col)
                {
                case "UPC":
                    name = "Cutting";
                    break;

                case "UPS1":
                    name = "Stitching 1";
                    break;

                case "UPS2":
                    name = "Stitching 2";
                    break;

                case "FSS":
                    name = "Stockfit";
                    break;

                case "FGA":
                    name = "Assembly";
                    break;
                }

                Chart.AppearanceNameSerializable = "Chameleon";
                //chartBTS.AppearanceNameSerializable = "Chameleon";
                Series series1 = new Series(name, ViewType.Bar);
                Chart.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;
                DevExpress.XtraCharts.SideBySideBarSeriesView      sideBySideBarSeriesView1      = new DevExpress.XtraCharts.SideBySideBarSeriesView();
                DevExpress.XtraCharts.RectangleGradientFillOptions rectangleGradientFillOptions1 = new DevExpress.XtraCharts.RectangleGradientFillOptions();

                Series series2 = new Series("Target", ViewType.Line);
                DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();

                lineSeriesView1.MarkerVisibility = DevExpress.Utils.DefaultBoolean.True;
                //sideBySideBarSeriesView1.ColorEach = true;

                sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
                //switch (col)
                //{
                //case "UPC":
                //    sideBySideBarSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(112)))), ((int)(((byte)(192)))));
                //    break;
                //case "UPS1":
                //    sideBySideBarSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(133)))), ((int)(((byte)(155)))));
                //    break;
                //case "UPS2":
                //    sideBySideBarSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));
                //    break;
                //case "FSS":
                //    sideBySideBarSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))));
                //    break;
                //case "FGA":
                //    sideBySideBarSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80)))));
                //    break;


                //}
                sideBySideBarSeriesView1.Color = System.Drawing.Color.ForestGreen;

                series1.View              = sideBySideBarSeriesView1;
                series1.Label.Font        = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                series1.Label.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
                series1.View              = sideBySideBarSeriesView1;
                series1.Label.TextPattern = "{V:#,#}";
                series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                //series2.Label.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                //series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
                //series2.Label.TextPattern = "{V:#,#}";
                lineSeriesView1.Color = System.Drawing.Color.LimeGreen;
                lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80)))));
                lineSeriesView1.LineStyle.Thickness     = 3;
                series2.View = lineSeriesView1;

                string [] value = null;

                if (dt != null && dt.Rows.Count > 0)
                {
                    for (int i = 0; i < dt.Rows.Count; i++)
                    {
                        value = dt.Rows[i][col].ToString().Split('/');
                        series1.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), value[0]));
                        if (Convert.ToDouble(value[1]) > 0)
                        {
                            series2.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), value[1]));
                        }
                        else
                        {
                            series2.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString()));
                        }


                        if (Convert.ToDouble(value[0]) < Convert.ToDouble(value[1]))
                        {
                            series1.Points[i].Color = Color.Red;
                        }
                        else
                        {
                            //switch (col)
                            //{
                            //    case "UPC":
                            //        series1.Points[i].Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(112)))), ((int)(((byte)(192)))));
                            //        break;
                            //    case "UPS1":
                            //        series1.Points[i].Color = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(133)))), ((int)(((byte)(155)))));
                            //        break;
                            //    case "UPS2":
                            //        series1.Points[i].Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));
                            //        break;
                            //    case "FSS":
                            //        series1.Points[i].Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))));
                            //        break;
                            //    case "FGA":
                            //        series1.Points[i].Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80)))));
                            //        break;
                            //}
                            series1.Points[i].Color = System.Drawing.Color.ForestGreen;
                        }
                    }

                    Chart.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 };
                    Chart.Legend.Visibility  = DevExpress.Utils.DefaultBoolean.True;

                    ((XYDiagram)Chart.Diagram).AxisX.Label.Font        = new System.Drawing.Font("Calibri", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)Chart.Diagram).AxisX.Title.Font        = new System.Drawing.Font("Calibri", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)Chart.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
                    ((XYDiagram)Chart.Diagram).AxisY.Label.Font        = new System.Drawing.Font("Tahoma", 14F);
                    ((XYDiagram)Chart.Diagram).AxisY.Title.Font        = new System.Drawing.Font("Calibri", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                    ((XYDiagram)Chart.Diagram).AxisY.Title.Text        = "Production (Prs)";
                }
            }
            catch (Exception EX)
            {
            }
        }
        private void CreateModelChart()
        {
            //Reset Chart beforce biding Data
            Modelchart.Series.Clear();
            Modelchart.Titles.Clear();
            // Create an empty chart. (No need).
            Modelchart.AppearanceNameSerializable = "Slipstream";
            //create New object
            DevExpress.XtraCharts.LineSeriesView          lineSeriesView1          = new DevExpress.XtraCharts.LineSeriesView();
            DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesUnwindAnimation1 = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();
            DevExpress.XtraCharts.PowerEasingFunction     powerEasingFunction1     = new DevExpress.XtraCharts.PowerEasingFunction();

            DevExpress.XtraCharts.LineSeriesView lineSeriesView2 = new DevExpress.XtraCharts.LineSeriesView();


            // Create the first side-by-side bar series and add points to it.
            Series series1 = new Series("Inv", ViewType.Bar);
            Series series2 = new Series("CTN", ViewType.Bar);
            // Create the second side-by-side bar series and add points to it.

            DataTable dt = SEL_FG_INV_DAILY_INCOM_CHART(Line, Mline);

            if (dt != null && dt.Rows.Count > 0)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    series1.Points.Add(new SeriesPoint(dt.Rows[i]["YMD"].ToString(), dt.Rows[i]["CTN"]));
                    series2.Points.Add(new SeriesPoint(dt.Rows[i]["YMD"].ToString(), dt.Rows[i]["PRS"]));
                }
            }
            series1.ArgumentScaleType = ScaleType.Qualitative;
            series2.ArgumentScaleType = ScaleType.Qualitative;
            //for (int i = 0; i <= 30; i++)
            //{
            //    series1.Points.Add(new SeriesPoint(i.ToString(), GetRandomNumber(10, 1000)));

            //}
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView2 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            (series1.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;
            (series2.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;
            sideBySideBarSeriesView1.ColorEach = false;
            sideBySideBarSeriesView2.ColorEach = false;
            sideBySideBarSeriesView1.Color     = Color.SeaGreen; sideBySideBarSeriesView2.Color = Color.HotPink;
            series1.View = sideBySideBarSeriesView1;
            series2.View = sideBySideBarSeriesView2;
            //marker
            lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.Gold;
            lineSeriesView1.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;



            lineSeriesView2.LineMarkerOptions.Color = System.Drawing.Color.Gold;
            lineSeriesView2.MarkerVisibility        = DevExpress.Utils.DefaultBoolean.True;
            // Add the series to the chart.

            Modelchart.SeriesSerializable = new Series[] { series1 };
            //Dailychart.Series.Add(series1);
            //Dailychart.Series.Add(series2);
            ((XYDiagram)Modelchart.Diagram).AxisX.Title.Text = "Date";
            ((XYDiagram)Modelchart.Diagram).AxisY.Title.Text = "Qty (Prs)";



            // Rotate the diagram (if necessary).
            ((XYDiagram)Modelchart.Diagram).Rotated = false;

            //ScaleBreak NUmber
            ((XYDiagram)Modelchart.Diagram).AxisX.NumericScaleOptions.AutoGrid = false;

            //Title
            ((XYDiagram)Modelchart.Diagram).AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
            ((XYDiagram)Modelchart.Diagram).AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;

            //legend
            Modelchart.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.RightOutside;
            Modelchart.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
            Modelchart.Legend.MarkerMode          = DevExpress.XtraCharts.LegendMarkerMode.CheckBoxAndMarker;
            Modelchart.Legend.Name       = "Default Legend";
            Modelchart.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;

            ((XYDiagram)Dailychart.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
            //Label
            series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
            series1.Label.TextPattern = "{V:#,#}";
            (series1.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;

            series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
            series2.Label.TextPattern = "{V:#,#}";
            (series2.Label as SideBySideBarSeriesLabel).Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;

            ((XYDiagram)Modelchart.Diagram).AxisY.Label.TextPattern = "{V:#,#}";

            // Add a title to the chart (if necessary).
            ChartTitle chartTitle1 = new ChartTitle();

            chartTitle1.Text = "Daily Incoming Status";
            Modelchart.Titles.Add(chartTitle1);

            // Add the chart to the form.
            Modelchart.Dock = DockStyle.Fill;
            splitChart_Detail.Panel1.Controls.Add(Modelchart);
        }
Example #12
0
        private void CreateChart(DataTable _dt, DevExpress.XtraCharts.ChartControl _chartControl)
        {
            try
            {
                ((XYDiagram)_chartControl.Diagram).EnableAxisXZooming = true;
                //((XYDiagram)barChartControl.Diagram).AxisX.NumericScaleOptions.ScaleMode = DevExpress.XtraCharts.ScaleMode.Automatic;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.Auto             = false;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.AutoSideMargins  = false;
                ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.SideMarginsValue = 2;
                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Angle      = 0;
                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Font       = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold);
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Text       = "Model";

                ((XYDiagram)_chartControl.Diagram).AxisX.Title.Font = new Font("Calibri", 14F, System.Drawing.FontStyle.Bold);

                ((XYDiagram)_chartControl.Diagram).AxisY.Label.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold);
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.True;
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Text        = " Leadtime (Hours) ";
                ((XYDiagram)_chartControl.Diagram).AxisY.Label.TextPattern = "{V:###,##0.#}";
                ((XYDiagram)_chartControl.Diagram).AxisY.Title.Font        = new Font("Calibri", 14F, System.Drawing.FontStyle.Bold);

                ((XYDiagram)_chartControl.Diagram).AxisY.Title.TextColor = Color.DarkOrange;
                ((XYDiagram)_chartControl.Diagram).AxisX.Title.TextColor = Color.DarkOrange;

                ((XYDiagram)_chartControl.Diagram).AxisX.Label.Angle = 50;


                DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();

                DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView2 = new DevExpress.XtraCharts.SideBySideBarSeriesView();

                DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesSlideAnimation1 = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();

                _chartControl.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged;

                _chartControl.Series.Clear();
                _chartControl.Titles.Clear();


                Series series1 = new Series("Stockfit Leadtime", ViewType.Bar);
                Series series2 = new Series("Phylon Leadtime", ViewType.Bar);
                Legend lgBox   = new Legend();
                lgBox.Visibility = DevExpress.Utils.DefaultBoolean.True;
                lgBox.Font       = new Font("Calibri", 16F, System.Drawing.FontStyle.Bold);

                if (_dt != null && _dt.Rows.Count > 0)
                {
                    for (int iRow = 0; iRow < _dt.Rows.Count; iRow++)
                    {
                        if (_dt.Rows[iRow]["DIV"].ToString() != "0")
                        {
                            if (_dt.Rows[iRow]["LEADTIME"].ToString() != "")
                            {
                                series1.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), Convert.ToDouble(_dt.Rows[iRow]["LEADTIME"].ToString())));
                            }
                            else
                            {
                                series1.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), 0));
                            }

                            double dUV_LT = 0;
                            double dSP_LT = 0;

                            if (_dt.Rows[iRow]["UV_LT"].ToString() != "")
                            {
                                dUV_LT = Convert.ToDouble(_dt.Rows[iRow]["UV_LT"].ToString());
                            }

                            if (_dt.Rows[iRow]["SP_LT"].ToString() != "")
                            {
                                dSP_LT = Convert.ToDouble(_dt.Rows[iRow]["SP_LT"].ToString());
                            }



                            series2.Points.Add(new SeriesPoint(_dt.Rows[iRow]["MODEL_NAME"].ToString(), dUV_LT + dSP_LT));
                        }
                    }
                }



                sideBySideBarSeriesView1.ColorEach      = false;
                sideBySideBarSeriesView1.Shadow.Visible = false;
                series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series1.Label.TextPattern = "{V:##0.#}";
                series1.ArgumentScaleType = ScaleType.Qualitative;

                series1.View = sideBySideBarSeriesView1;

                sideBySideBarSeriesView2.ColorEach      = false;
                sideBySideBarSeriesView2.Shadow.Visible = false;
                series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
                series2.Label.TextPattern = "{V:##0.#}";
                series2.ArgumentScaleType = ScaleType.Qualitative;
                series2.View = sideBySideBarSeriesView2;


                // Access the type-specific options of the diagram.

                _chartControl.Series.AddRange(new Series[] { series1, series2 });
            }
            catch (Exception EX)
            {
            }
        }
        private void CreateChart(string line_cd, string mline_cd, string op_cd, DevExpress.XtraCharts.ChartControl _chartControl, string _title)
        {
            // Create a new chart.
            _chartControl.Series.Clear();
            //DataSource
            DataTable dt  = SP_MGL_PRODUCTION_DATA_SELECT("Q2", line_cd, mline_cd);
            string    Now = DateTime.Now.ToString("yyyyMMdd");

            // Create two series.
            Series series1 = new Series("Target Qty", ViewType.Line);
            Series series2 = new Series("Prod. Qty", ViewType.Spline);

            DevExpress.XtraCharts.SplineSeriesView        splineSeriesView1        = new DevExpress.XtraCharts.SplineSeriesView();
            DevExpress.XtraCharts.SplineSeriesView        splineSeriesView2        = new DevExpress.XtraCharts.SplineSeriesView();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.PointSeriesLabel        pointSeriesLabel1        = new DevExpress.XtraCharts.PointSeriesLabel();
            DevExpress.XtraCharts.BarWidenAnimation       barWidenAnimation1       = new DevExpress.XtraCharts.BarWidenAnimation();
            DevExpress.XtraCharts.ElasticEasingFunction   elasticEasingFunction1   = new DevExpress.XtraCharts.ElasticEasingFunction();


            DevExpress.XtraCharts.XYSeriesBlowUpAnimation xySeriesBlowUpAnimation2 = new DevExpress.XtraCharts.XYSeriesBlowUpAnimation();
            DevExpress.XtraCharts.XYSeriesUnwindAnimation xySeriesUnwindAnimation2 = new DevExpress.XtraCharts.XYSeriesUnwindAnimation();
            DevExpress.XtraCharts.XYSeriesUnwrapAnimation xySeriesUnwrapAnimation2 = new DevExpress.XtraCharts.XYSeriesUnwrapAnimation();

            DevExpress.XtraCharts.PowerEasingFunction powerEasingFunction2 = new DevExpress.XtraCharts.PowerEasingFunction();
            DevExpress.XtraCharts.SineEasingFunction  sineEasingFunction2  = new DevExpress.XtraCharts.SineEasingFunction();
            // Add points to them, with their arguments different.
            if (dt != null && dt.Rows.Count > 0)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    series1.Points.Add(new SeriesPoint(dt.Rows[i]["HMS"].ToString(), dt.Rows[i]["TARGET"])); //GetRandomNumber(10, 50)
                    series2.Points.Add(new SeriesPoint(dt.Rows[i]["HMS"].ToString(), dt.Rows[i]["QTY"]));    //dt.Rows[i]["HMS"]
                }
                //_chartControl1.Series[0].ArgumentScaleType = ScaleType.Qualitative;
            }
            else
            {
                for (int i = 1; i < 9; i++)
                {
                    //series1.Points.Add(new SeriesPoint(dt.Rows[i]["HMS"].ToString(), dt.Rows[i]["QTY"])); //GetRandomNumber(10, 50)
                    series1.Points.Add(new SeriesPoint(i + "H", 0));
                    series2.Points.Add(new SeriesPoint(i + "H", 0)); //dt.Rows[i]["HMS"]
                }
            }

            _chartControl.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 };
            ((XYDiagram)_chartControl.Diagram).AxisY.Title.Text        = "Product Qty (Prs)";
            ((XYDiagram)_chartControl.Diagram).AxisY.Label.TextPattern = "{V:#,#}";
            ((XYDiagram)_chartControl.Diagram).AxisY.Title.TextColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));
            ((XYDiagram)_chartControl.Diagram).AxisY.Title.Visibility  = DevExpress.Utils.DefaultBoolean.Default;
            ((XYDiagram)_chartControl.Diagram).AxisX.Title.Text        = "Hour";
            ((XYDiagram)_chartControl.Diagram).AxisX.Title.Visibility  = DevExpress.Utils.DefaultBoolean.Default;
            ((XYDiagram)_chartControl.Diagram).AxisX.Title.TextColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(240)))));
            _chartControl.Titles[0].Text = _title;


            splineSeriesView1.MarkerVisibility = DevExpress.Utils.DefaultBoolean.True;
            splineSeriesView1.Shadow.Visible   = false;
            splineSeriesView1.Color            = System.Drawing.Color.Green;
            splineSeriesView1.LineMarkerOptions.BorderColor   = System.Drawing.Color.DodgerBlue;
            splineSeriesView1.LineMarkerOptions.BorderVisible = false;

            splineSeriesView2.MarkerVisibility = DevExpress.Utils.DefaultBoolean.True;
            splineSeriesView2.Shadow.Visible   = false;
            splineSeriesView2.Color            = System.Drawing.Color.DodgerBlue;
            splineSeriesView2.LineMarkerOptions.BorderColor   = System.Drawing.Color.DodgerBlue;
            splineSeriesView2.LineMarkerOptions.BorderVisible = false;

            //splineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.Red;
            splineSeriesView2.LineMarkerOptions.Kind  = DevExpress.XtraCharts.MarkerKind.Circle;
            splineSeriesView2.LineMarkerOptions.Color = System.Drawing.Color.DodgerBlue;
            splineSeriesView2.LineMarkerOptions.Size  = 15;
            splineSeriesView2.LineStyle.Thickness     = 3;
            series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
            //pointSeriesLabel1.TextPattern = "{V:#,#}";

            series1.View = splineSeriesView1;

            series2.Label.TextPattern = "{V:#,#}";
            series2.View = splineSeriesView2;
            xySeriesUnwindAnimation2.EasingFunction = sineEasingFunction2;      //powerEasingFunction1;
            splineSeriesView2.SeriesAnimation       = xySeriesUnwindAnimation2; //xySeriesBlowUpAnimation1;//xySeriesUnwindAnimation1; // xySeriesUnwrapAnimation1;
            ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.Auto             = true;
            ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.AutoSideMargins  = false;
            ((XYDiagram)_chartControl.Diagram).AxisX.VisualRange.SideMarginsValue = 2;
            ((XYDiagram)_chartControl.Diagram).AxisX.Label.Angle = 0;
            ((XYDiagram)_chartControl.Diagram).AxisX.Label.Font  = new System.Drawing.Font("Calibri", 12, System.Drawing.FontStyle.Bold);
            ((XYDiagram)_chartControl.Diagram).AxisX.NumericScaleOptions.ScaleMode = DevExpress.XtraCharts.ScaleMode.Automatic;
            ((XYDiagram)_chartControl.Diagram).AxisY.Label.Font = new System.Drawing.Font("Calibri", 12, System.Drawing.FontStyle.Bold);

            ((XYDiagram)_chartControl.Diagram).AxisX.Title.Font      = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            ((XYDiagram)_chartControl.Diagram).AxisY.Title.Font      = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            ((XYDiagram)_chartControl.Diagram).AxisY.Title.TextColor = Color.DarkOrange;
            ((XYDiagram)_chartControl.Diagram).AxisX.Title.TextColor = Color.DarkOrange;
        }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series    series1    = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesView  sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
     DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel3 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.KeyColorColorizer        keyColorColorizer1        = new DevExpress.XtraCharts.KeyColorColorizer();
     this.groupFooterBand1      = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.ReportDetailBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportOddStyle        = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.bottomMarginBand1     = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.topMarginBand1        = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrLabel5                   = new DevExpress.XtraReports.UI.XRLabel();
     this.pageHeaderBand1            = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel12                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3                   = new DevExpress.XtraReports.UI.XRLabel();
     this.detailBand1                = new DevExpress.XtraReports.UI.DetailBand();
     this.FIOLabel                   = new DevExpress.XtraReports.UI.XRLabel();
     this.TotalTime                  = new DevExpress.XtraReports.UI.XRLabel();
     this.NeedTime                   = new DevExpress.XtraReports.UI.XRLabel();
     this.SubTime                    = new DevExpress.XtraReports.UI.XRLabel();
     this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportHeaderBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.groupHeaderBand1           = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportEvenStyle            = new DevExpress.XtraReports.UI.XRControlStyle();
     this.totalBindingSource         = new System.Windows.Forms.BindingSource(this.components);
     this.reportFooterBand1          = new DevExpress.XtraReports.UI.ReportFooterBand();
     this.xrChart1                   = new DevExpress.XtraReports.UI.XRChart();
     ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // groupFooterBand1
     //
     this.groupFooterBand1.Dpi       = 254F;
     this.groupFooterBand1.HeightF   = 0F;
     this.groupFooterBand1.Name      = "groupFooterBand1";
     this.groupFooterBand1.StyleName = "ReportGroupFooterBandStyle";
     //
     // ReportDetailBandStyle
     //
     this.ReportDetailBandStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportDetailBandStyle.Name          = "ReportDetailBandStyle";
     this.ReportDetailBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportOddStyle
     //
     this.ReportOddStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportOddStyle.Name          = "ReportOddStyle";
     this.ReportOddStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportFooterBandStyle
     //
     this.ReportFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ReportFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
     this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.ReportFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
     this.ReportFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ReportFooterBandStyle.Name            = "ReportFooterBandStyle";
     this.ReportFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // bottomMarginBand1
     //
     this.bottomMarginBand1.Dpi          = 254F;
     this.bottomMarginBand1.HeightF      = 254F;
     this.bottomMarginBand1.Name         = "bottomMarginBand1";
     this.bottomMarginBand1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.bottomMarginBand1_BeforePrint);
     //
     // topMarginBand1
     //
     this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel5
     });
     this.topMarginBand1.Dpi     = 254F;
     this.topMarginBand1.HeightF = 326.4375F;
     this.topMarginBand1.Name    = "topMarginBand1";
     //
     // xrLabel5
     //
     this.xrLabel5.CanGrow                        = false;
     this.xrLabel5.Dpi                            = 254F;
     this.xrLabel5.Font                           = new System.Drawing.Font("Times New Roman", 16F);
     this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 190.2292F);
     this.xrLabel5.Multiline                      = true;
     this.xrLabel5.Name                           = "xrLabel5";
     this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel5.SizeF                          = new System.Drawing.SizeF(1812F, 136.2083F);
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text                           = "Отчет о работе с формами c ";
     this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // pageHeaderBand1
     //
     this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel12,
         this.xrLabel7,
         this.xrLabel1,
         this.xrLabel3
     });
     this.pageHeaderBand1.Dpi                   = 254F;
     this.pageHeaderBand1.Font                  = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.pageHeaderBand1.HeightF               = 160.7083F;
     this.pageHeaderBand1.Name                  = "pageHeaderBand1";
     this.pageHeaderBand1.StyleName             = "ReportHeaderBandStyle";
     this.pageHeaderBand1.StylePriority.UseFont = false;
     //
     // xrLabel12
     //
     this.xrLabel12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel12.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel12.Dpi           = 254F;
     this.xrLabel12.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(878.7346F, 0F);
     this.xrLabel12.Multiline     = true;
     this.xrLabel12.Name          = "xrLabel12";
     this.xrLabel12.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel12.SizeF         = new System.Drawing.SizeF(356.861F, 160.7083F);
     this.xrLabel12.StylePriority.UseBackColor     = false;
     this.xrLabel12.StylePriority.UseBorders       = false;
     this.xrLabel12.StylePriority.UseFont          = false;
     this.xrLabel12.StylePriority.UsePadding       = false;
     this.xrLabel12.StylePriority.UseTextAlignment = false;
     this.xrLabel12.Text          = "Количество\r\nрабочих часов по\r\nтабелю, ч.";
     this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel12.WordWrap      = false;
     //
     // xrLabel7
     //
     this.xrLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel7.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel7.Dpi           = 254F;
     this.xrLabel7.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(516.5819F, 0F);
     this.xrLabel7.Multiline     = true;
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel7.SizeF         = new System.Drawing.SizeF(362.1527F, 160.7083F);
     this.xrLabel7.StylePriority.UseBackColor     = false;
     this.xrLabel7.StylePriority.UseBorders       = false;
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UsePadding       = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text          = "Фактически \r\nотработано за\r\n месяц, ч.";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel7.WordWrap      = false;
     //
     // xrLabel1
     //
     this.xrLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel1.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel1.Dpi           = 254F;
     this.xrLabel1.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(154.429F, 0F);
     this.xrLabel1.Multiline     = true;
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(362.153F, 160.7083F);
     this.xrLabel1.StylePriority.UseBackColor     = false;
     this.xrLabel1.StylePriority.UseBorders       = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UsePadding       = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text          = "Ф.И.О \r\nсотрудника";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel1.WordWrap      = false;
     //
     // xrLabel3
     //
     this.xrLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel3.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                       | DevExpress.XtraPrinting.BorderSide.Right)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel3.Dpi           = 254F;
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(1235.596F, 0F);
     this.xrLabel3.Multiline     = true;
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(402.0969F, 160.7083F);
     this.xrLabel3.StylePriority.UseBackColor     = false;
     this.xrLabel3.StylePriority.UseBorders       = false;
     this.xrLabel3.StylePriority.UsePadding       = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text          = "Разница, ч.";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // detailBand1
     //
     this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.FIOLabel,
         this.TotalTime,
         this.NeedTime,
         this.SubTime
     });
     this.detailBand1.Dpi           = 254F;
     this.detailBand1.EvenStyleName = "ReportEvenStyle";
     this.detailBand1.HeightF       = 64.27082F;
     this.detailBand1.Name          = "detailBand1";
     this.detailBand1.OddStyleName  = "ReportOddStyle";
     this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None)
     });
     this.detailBand1.StyleName = "ReportDetailBandStyle";
     //
     // FIOLabel
     //
     this.FIOLabel.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.FIOLabel.AnchorVertical   = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
     this.FIOLabel.BackColor        = System.Drawing.Color.White;
     this.FIOLabel.BorderColor      = System.Drawing.Color.Black;
     this.FIOLabel.Borders          = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.FIOLabel.CanGrow          = false;
     this.FIOLabel.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "FIO")
     });
     this.FIOLabel.Dpi           = 254F;
     this.FIOLabel.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FIOLabel.LocationFloat = new DevExpress.Utils.PointFloat(154.429F, 0F);
     this.FIOLabel.Name          = "FIOLabel";
     this.FIOLabel.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.FIOLabel.SizeF         = new System.Drawing.SizeF(362.1527F, 64.27082F);
     this.FIOLabel.StylePriority.UseBackColor     = false;
     this.FIOLabel.StylePriority.UseBorderColor   = false;
     this.FIOLabel.StylePriority.UseBorders       = false;
     this.FIOLabel.StylePriority.UseFont          = false;
     this.FIOLabel.StylePriority.UsePadding       = false;
     this.FIOLabel.StylePriority.UseTextAlignment = false;
     this.FIOLabel.Text          = "FIOLabel";
     this.FIOLabel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.FIOLabel.WordWrap      = false;
     //
     // TotalTime
     //
     this.TotalTime.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.TotalTime.AnchorVertical   = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
     this.TotalTime.BackColor        = System.Drawing.Color.White;
     this.TotalTime.BorderColor      = System.Drawing.Color.Black;
     this.TotalTime.Borders          = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.TotalTime.CanGrow          = false;
     this.TotalTime.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalTime")
     });
     this.TotalTime.Dpi           = 254F;
     this.TotalTime.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.TotalTime.LocationFloat = new DevExpress.Utils.PointFloat(516.5821F, 0F);
     this.TotalTime.Name          = "TotalTime";
     this.TotalTime.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.TotalTime.SizeF         = new System.Drawing.SizeF(362.1527F, 64.27082F);
     this.TotalTime.StylePriority.UseBackColor     = false;
     this.TotalTime.StylePriority.UseBorderColor   = false;
     this.TotalTime.StylePriority.UseBorders       = false;
     this.TotalTime.StylePriority.UseFont          = false;
     this.TotalTime.StylePriority.UsePadding       = false;
     this.TotalTime.StylePriority.UseTextAlignment = false;
     this.TotalTime.Text          = "xrLabel2";
     this.TotalTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.TotalTime.WordWrap      = false;
     //
     // NeedTime
     //
     this.NeedTime.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.NeedTime.AnchorVertical   = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
     this.NeedTime.BackColor        = System.Drawing.Color.White;
     this.NeedTime.BorderColor      = System.Drawing.Color.Black;
     this.NeedTime.Borders          = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.NeedTime.CanGrow          = false;
     this.NeedTime.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "ttime")
     });
     this.NeedTime.Dpi           = 254F;
     this.NeedTime.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.NeedTime.LocationFloat = new DevExpress.Utils.PointFloat(878.7352F, 0F);
     this.NeedTime.Name          = "NeedTime";
     this.NeedTime.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.NeedTime.SizeF         = new System.Drawing.SizeF(356.8608F, 64.27082F);
     this.NeedTime.StylePriority.UseBackColor     = false;
     this.NeedTime.StylePriority.UseBorderColor   = false;
     this.NeedTime.StylePriority.UseBorders       = false;
     this.NeedTime.StylePriority.UseFont          = false;
     this.NeedTime.StylePriority.UsePadding       = false;
     this.NeedTime.StylePriority.UseTextAlignment = false;
     this.NeedTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.NeedTime.WordWrap      = false;
     //
     // SubTime
     //
     this.SubTime.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.SubTime.AnchorVertical   = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
     this.SubTime.BackColor        = System.Drawing.Color.White;
     this.SubTime.BorderColor      = System.Drawing.Color.Black;
     this.SubTime.BorderDashStyle  = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.SubTime.Borders          = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                            | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.SubTime.CanGrow = false;
     this.SubTime.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SubTime")
     });
     this.SubTime.Dpi           = 254F;
     this.SubTime.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.SubTime.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.SubTime.LocationFloat = new DevExpress.Utils.PointFloat(1235.596F, 0F);
     this.SubTime.Name          = "SubTime";
     this.SubTime.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.SubTime.SizeF         = new System.Drawing.SizeF(402.0969F, 64.27082F);
     this.SubTime.StylePriority.UseBackColor       = false;
     this.SubTime.StylePriority.UseBorderColor     = false;
     this.SubTime.StylePriority.UseBorderDashStyle = false;
     this.SubTime.StylePriority.UseBorders         = false;
     this.SubTime.StylePriority.UseFont            = false;
     this.SubTime.StylePriority.UseForeColor       = false;
     this.SubTime.StylePriority.UsePadding         = false;
     this.SubTime.StylePriority.UseTextAlignment   = false;
     this.SubTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.SubTime.WordWrap      = false;
     //
     // ReportGroupHeaderBandStyle
     //
     this.ReportGroupHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
     this.ReportGroupHeaderBandStyle.Name          = "ReportGroupHeaderBandStyle";
     this.ReportGroupHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F);
     this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportHeaderBandStyle
     //
     this.ReportHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
     this.ReportHeaderBandStyle.Name          = "ReportHeaderBandStyle";
     this.ReportHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // groupHeaderBand1
     //
     this.groupHeaderBand1.Dpi      = 254F;
     this.groupHeaderBand1.Expanded = false;
     this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("form_id", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
     this.groupHeaderBand1.HeightF    = 0F;
     this.groupHeaderBand1.Name       = "groupHeaderBand1";
     this.groupHeaderBand1.StyleName  = "ReportGroupHeaderBandStyle";
     //
     // ReportGroupFooterBandStyle
     //
     this.ReportGroupFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ReportGroupFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
     this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.ReportGroupFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
     this.ReportGroupFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ReportGroupFooterBandStyle.Name            = "ReportGroupFooterBandStyle";
     this.ReportGroupFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportGroupFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportEvenStyle
     //
     this.ReportEvenStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportEvenStyle.Name          = "ReportEvenStyle";
     this.ReportEvenStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // totalBindingSource
     //
     this.totalBindingSource.DataMember = "total";
     //
     // reportFooterBand1
     //
     this.reportFooterBand1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.reportFooterBand1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrChart1
     });
     this.reportFooterBand1.Dpi       = 254F;
     this.reportFooterBand1.HeightF   = 1106.17F;
     this.reportFooterBand1.Name      = "reportFooterBand1";
     this.reportFooterBand1.StyleName = "ReportFooterBandStyle";
     this.reportFooterBand1.StylePriority.UseBackColor   = false;
     this.reportFooterBand1.StylePriority.UseBorderColor = false;
     //
     // xrChart1
     //
     this.xrChart1.AnchorHorizontal           = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.xrChart1.AnchorVertical             = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
     this.xrChart1.AppearanceNameSerializable = "Chameleon";
     this.xrChart1.AutoLayout                     = true;
     this.xrChart1.BackColor                      = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.xrChart1.BorderColor                    = System.Drawing.Color.Black;
     this.xrChart1.Borders                        = DevExpress.XtraPrinting.BorderSide.None;
     xyDiagram1.AxisX.MinorCount                  = 2;
     xyDiagram1.AxisX.Title.MaxLineCount          = 1;
     xyDiagram1.AxisX.Title.Text                  = "ФИО";
     xyDiagram1.AxisX.Title.Visibility            = DevExpress.Utils.DefaultBoolean.True;
     xyDiagram1.AxisX.Visibility                  = DevExpress.Utils.DefaultBoolean.True;
     xyDiagram1.AxisX.VisibleInPanesSerializable  = "-1";
     xyDiagram1.AxisY.Title.Text                  = "Часы";
     xyDiagram1.AxisY.Title.Visibility            = DevExpress.Utils.DefaultBoolean.True;
     xyDiagram1.AxisY.Visibility                  = DevExpress.Utils.DefaultBoolean.True;
     xyDiagram1.AxisY.VisibleInPanesSerializable  = "-1";
     xyDiagram1.DefaultPane.EnableAxisXScrolling  = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.DefaultPane.EnableAxisXZooming    = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.DefaultPane.EnableAxisYScrolling  = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.DefaultPane.EnableAxisYZooming    = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.LabelsResolveOverlappingMinIndent = 5;
     this.xrChart1.Diagram                        = xyDiagram1;
     this.xrChart1.Dpi = 254F;
     this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
     this.xrChart1.Legend.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside;
     this.xrChart1.Legend.Name       = "Default Legend";
     this.xrChart1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;
     this.xrChart1.LocationFloat     = new DevExpress.Utils.PointFloat(3.00014F, 0F);
     this.xrChart1.Name        = "xrChart1";
     this.xrChart1.PaletteName = "Chameleon";
     sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True;
     sideBySideBarSeriesLabel1.Position           = DevExpress.XtraCharts.BarSeriesLabelPosition.BottomInside;
     series1.Label             = sideBySideBarSeriesLabel1;
     series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
     series1.LegendTextPattern = "{A}";
     series1.Name = "Ряд 1";
     sideBySideBarSeriesView1.BarWidth           = 0.5D;
     sideBySideBarSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.True;
     sideBySideBarSeriesView1.ColorEach          = true;
     sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch;
     series1.View    = sideBySideBarSeriesView1;
     series1.Visible = false;
     sideBySideBarSeriesLabel2.EnableAntialiasing     = DevExpress.Utils.DefaultBoolean.True;
     sideBySideBarSeriesLabel2.LineVisibility         = DevExpress.Utils.DefaultBoolean.False;
     sideBySideBarSeriesLabel2.Position               = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;
     sideBySideBarSeriesLabel2.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default;
     sideBySideBarSeriesLabel2.TextPattern            = "{HINT}";
     series2.Label             = sideBySideBarSeriesLabel2;
     series2.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.True;
     series2.LegendTextPattern = "{A}";
     series2.Name = "Фактически отработано за месяц, ч";
     sideBySideBarSeriesLabel3.Position    = DevExpress.XtraCharts.BarSeriesLabelPosition.Top;
     sideBySideBarSeriesLabel3.TextPattern = "{HINT}";
     series3.Label                    = sideBySideBarSeriesLabel3;
     series3.LabelsVisibility         = DevExpress.Utils.DefaultBoolean.True;
     series3.Name                     = "Количество рабочих часов по табелю, ч.";
     this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
         series1,
         series2,
         series3
     };
     this.xrChart1.SeriesTemplate.Colorizer = keyColorColorizer1;
     this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1092.941F);
     //
     // OverWork_report
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.topMarginBand1,
         this.pageHeaderBand1,
         this.groupHeaderBand1,
         this.detailBand1,
         this.groupFooterBand1,
         this.reportFooterBand1,
         this.bottomMarginBand1
     });
     this.Dpi          = 254F;
     this.Margins      = new System.Drawing.Printing.Margins(201, 87, 326, 254);
     this.PageHeight   = 2970;
     this.PageWidth    = 2100;
     this.PaperKind    = System.Drawing.Printing.PaperKind.A4;
     this.ReportUnit   = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
     this.SnapGridSize = 25F;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.ReportHeaderBandStyle,
         this.ReportGroupHeaderBandStyle,
         this.ReportDetailBandStyle,
         this.ReportGroupFooterBandStyle,
         this.ReportFooterBandStyle,
         this.ReportOddStyle,
         this.ReportEvenStyle
     });
     this.Version = "18.1";
     this.DataSourceRowChanged += new DevExpress.XtraReports.UI.DataSourceRowEventHandler(this.press_form_report_DataSourceRowChanged);
     ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Example #15
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary1                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary2                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary3                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary4                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraCharts.SimpleDiagram                       simpleDiagram1            = new DevExpress.XtraCharts.SimpleDiagram();
            DevExpress.XtraCharts.Series                              series1                   = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.SideBySideBarSeriesLabel            sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
            DevExpress.XtraCharts.SideBySideBarSeriesView             sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.Series                              series2                   = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.PieSeriesLabel                      pieSeriesLabel1           = new DevExpress.XtraCharts.PieSeriesLabel();
            DevExpress.XtraCharts.PieSeriesView                       pieSeriesView1            = new DevExpress.XtraCharts.PieSeriesView();
            DevExpress.XtraCharts.KeyColorColorizer                   keyColorColorizer1        = new DevExpress.XtraCharts.KeyColorColorizer();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary5                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo objectConstructorInfo1    = new DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo();
            this.ReportFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportDetailBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.detailBand1           = new DevExpress.XtraReports.UI.DetailBand();
            this.xrLabel14             = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel12             = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel8                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel10                  = new DevExpress.XtraReports.UI.XRLabel();
            this.ReportOddStyle             = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportHeaderBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
            this.bottomMarginBand1          = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.pageHeaderBand1            = new DevExpress.XtraReports.UI.PageHeaderBand();
            this.xrLabel5                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel3                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel6                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel7                   = new DevExpress.XtraReports.UI.XRLabel();
            this.topMarginBand1             = new DevExpress.XtraReports.UI.TopMarginBand();
            this.xrLabel2                   = new DevExpress.XtraReports.UI.XRLabel();
            this.reportFooterBand1          = new DevExpress.XtraReports.UI.ReportFooterBand();
            this.xrChart1                   = new DevExpress.XtraReports.UI.XRChart();
            this.xrLabel1                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel9                   = new DevExpress.XtraReports.UI.XRLabel();
            this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportEvenStyle            = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.groupHeaderBand1           = new DevExpress.XtraReports.UI.GroupHeaderBand();
            this.formattingRule1            = new DevExpress.XtraReports.UI.FormattingRule();
            this.totalBindingSource         = new System.Windows.Forms.BindingSource(this.components);
            this.objectDataSource1          = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
            this.objectDataSource2          = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // ReportFooterBandStyle
            //
            this.ReportFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.ReportFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
            this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.ReportFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
            this.ReportFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.ReportFooterBandStyle.Name            = "ReportFooterBandStyle";
            this.ReportFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportDetailBandStyle
            //
            this.ReportDetailBandStyle.BackColor     = System.Drawing.Color.Transparent;
            this.ReportDetailBandStyle.Name          = "ReportDetailBandStyle";
            this.ReportDetailBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // detailBand1
            //
            this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel14,
                this.xrLabel12,
                this.xrLabel8,
                this.xrLabel10
            });
            this.detailBand1.Dpi           = 254F;
            this.detailBand1.EvenStyleName = "ReportEvenStyle";
            this.detailBand1.HeightF       = 52.22913F;
            this.detailBand1.Name          = "detailBand1";
            this.detailBand1.OddStyleName  = "ReportOddStyle";
            this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
                new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None)
            });
            this.detailBand1.StyleName = "ReportDetailBandStyle";
            //
            // xrLabel14
            //
            this.xrLabel14.AnchorVertical  = DevExpress.XtraReports.UI.VerticalAnchorStyles.Top;
            this.xrLabel14.BackColor       = System.Drawing.Color.White;
            this.xrLabel14.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel14.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel14.Borders         = DevExpress.XtraPrinting.BorderSide.Bottom;
            this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "other")
            });
            this.xrLabel14.Dpi           = 254F;
            this.xrLabel14.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel14.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(378.7435F, 0F);
            this.xrLabel14.Name          = "xrLabel14";
            this.xrLabel14.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 5, 0, 0, 254F);
            this.xrLabel14.SizeF         = new System.Drawing.SizeF(911.8032F, 52.22913F);
            this.xrLabel14.StylePriority.UseBackColor       = false;
            this.xrLabel14.StylePriority.UseBorderColor     = false;
            this.xrLabel14.StylePriority.UseBorderDashStyle = false;
            this.xrLabel14.StylePriority.UseBorders         = false;
            this.xrLabel14.StylePriority.UseFont            = false;
            this.xrLabel14.StylePriority.UseForeColor       = false;
            this.xrLabel14.StylePriority.UsePadding         = false;
            this.xrLabel14.StylePriority.UseTextAlignment   = false;
            xrSummary1.FormatString      = "{0:}";
            xrSummary1.IgnoreNullValues  = true;
            this.xrLabel14.Summary       = xrSummary1;
            this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrLabel14.Multiline     = true;
            this.xrLabel14.WordWrap      = true;
            //
            // xrLabel12
            //
            this.xrLabel12.AnchorVertical  = DevExpress.XtraReports.UI.VerticalAnchorStyles.Both;
            this.xrLabel12.BackColor       = System.Drawing.Color.White;
            this.xrLabel12.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel12.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel12.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "work")
            });
            this.xrLabel12.Dpi                              = 254F;
            this.xrLabel12.Font                             = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel12.ForeColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel12.LocationFloat                    = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel12.Name                             = "xrLabel12";
            this.xrLabel12.Padding                          = new DevExpress.XtraPrinting.PaddingInfo(10, 5, 0, 0, 254F);
            this.xrLabel12.ProcessDuplicatesMode            = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge;
            this.xrLabel12.SizeF                            = new System.Drawing.SizeF(378.7435F, 52.22913F);
            this.xrLabel12.StylePriority.UseBackColor       = false;
            this.xrLabel12.StylePriority.UseBorderColor     = false;
            this.xrLabel12.StylePriority.UseBorderDashStyle = false;
            this.xrLabel12.StylePriority.UseBorders         = false;
            this.xrLabel12.StylePriority.UseFont            = false;
            this.xrLabel12.StylePriority.UseForeColor       = false;
            this.xrLabel12.StylePriority.UsePadding         = false;
            this.xrLabel12.StylePriority.UseTextAlignment   = false;
            xrSummary2.FormatString                         = "{0:}";
            xrSummary2.IgnoreNullValues                     = true;
            this.xrLabel12.Summary                          = xrSummary2;
            this.xrLabel12.TextAlignment                    = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrLabel12.WordWrap                         = true;
            this.xrLabel12.Multiline                        = true;
            //
            // xrLabel8
            //
            this.xrLabel14.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Both;
            this.xrLabel8.BackColor       = System.Drawing.Color.White;
            this.xrLabel8.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel8.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel8.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
            });
            this.xrLabel8.Dpi           = 254F;
            this.xrLabel8.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel8.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(1290.547F, 0F);
            this.xrLabel8.Name          = "xrLabel8";
            this.xrLabel8.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel8.SizeF         = new System.Drawing.SizeF(270.757F, 52.22913F);
            this.xrLabel8.StylePriority.UseBackColor       = false;
            this.xrLabel8.StylePriority.UseBorderColor     = false;
            this.xrLabel8.StylePriority.UseBorderDashStyle = false;
            this.xrLabel8.StylePriority.UseBorders         = false;
            this.xrLabel8.StylePriority.UseFont            = false;
            this.xrLabel8.StylePriority.UseForeColor       = false;
            this.xrLabel8.StylePriority.UsePadding         = false;
            this.xrLabel8.StylePriority.UseTextAlignment   = false;
            this.xrLabel8.Multiline     = true;
            xrSummary3.FormatString     = "{0:}";
            xrSummary3.IgnoreNullValues = true;
            this.xrLabel8.Summary       = xrSummary3;
            this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrLabel8.WordWrap      = false;
            //
            // xrLabel10
            //
            this.xrLabel10.BackColor       = System.Drawing.Color.White;
            this.xrLabel10.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel10.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel10.Borders         = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "work_time_span")
            });
            this.xrLabel10.Dpi                              = 254F;
            this.xrLabel10.Font                             = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel10.ForeColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel10.LocationFloat                    = new DevExpress.Utils.PointFloat(1561.304F, 0F);
            this.xrLabel10.Name                             = "xrLabel10";
            this.xrLabel10.Padding                          = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel10.ProcessDuplicatesMode            = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge;
            this.xrLabel10.SizeF                            = new System.Drawing.SizeF(247.696F, 52.22913F);
            this.xrLabel10.StylePriority.UseBackColor       = false;
            this.xrLabel10.StylePriority.UseBorderColor     = false;
            this.xrLabel10.StylePriority.UseBorderDashStyle = false;
            this.xrLabel10.StylePriority.UseBorders         = false;
            this.xrLabel10.StylePriority.UseFont            = false;
            this.xrLabel10.StylePriority.UseForeColor       = false;
            this.xrLabel10.StylePriority.UsePadding         = false;
            this.xrLabel10.StylePriority.UseTextAlignment   = false;
            xrSummary4.FormatString                         = "{0:}";
            xrSummary4.IgnoreNullValues                     = true;
            this.xrLabel10.Summary                          = xrSummary4;
            this.xrLabel10.TextAlignment                    = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrLabel10.WordWrap                         = false;
            //
            // ReportOddStyle
            //
            this.ReportOddStyle.BackColor     = System.Drawing.Color.Transparent;
            this.ReportOddStyle.Name          = "ReportOddStyle";
            this.ReportOddStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportHeaderBandStyle
            //
            this.ReportHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
            this.ReportHeaderBandStyle.Name          = "ReportHeaderBandStyle";
            this.ReportHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // bottomMarginBand1
            //
            this.bottomMarginBand1.Dpi         = 254F;
            this.bottomMarginBand1.HeightF     = 217F;
            this.bottomMarginBand1.Name        = "bottomMarginBand1";
            this.bottomMarginBand1.AfterPrint += new System.EventHandler(this.bottomMarginBand1_AfterPrint);
            //
            // pageHeaderBand1
            //
            this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel5,
                this.xrLabel3,
                this.xrLabel6,
                this.xrLabel7
            });
            this.pageHeaderBand1.Dpi       = 254F;
            this.pageHeaderBand1.HeightF   = 71.93747F;
            this.pageHeaderBand1.Name      = "pageHeaderBand1";
            this.pageHeaderBand1.StyleName = "ReportHeaderBandStyle";
            //
            // xrLabel5
            //
            this.xrLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel5.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel5.Dpi           = 254F;
            this.xrLabel5.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(1561.304F, 0F);
            this.xrLabel5.Name          = "xrLabel5";
            this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel5.SizeF         = new System.Drawing.SizeF(247.6963F, 71.93747F);
            this.xrLabel5.StylePriority.UseBackColor     = false;
            this.xrLabel5.StylePriority.UseBorders       = false;
            this.xrLabel5.StylePriority.UseFont          = false;
            this.xrLabel5.StylePriority.UsePadding       = false;
            this.xrLabel5.StylePriority.UseTextAlignment = false;
            this.xrLabel5.Text          = "Итого";
            this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel3
            //
            this.xrLabel3.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel3.Borders       = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Bottom | DevExpress.XtraPrinting.BorderSide.Top))));
            this.xrLabel3.Dpi           = 254F;
            this.xrLabel3.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(378.7435F, 0F);
            this.xrLabel3.Name          = "xrLabel3";
            this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel3.SizeF         = new System.Drawing.SizeF(911.8033F, 71.93747F);
            this.xrLabel3.StylePriority.UseBackColor     = false;
            this.xrLabel3.StylePriority.UseBorders       = false;
            this.xrLabel3.StylePriority.UseFont          = false;
            this.xrLabel3.StylePriority.UsePadding       = false;
            this.xrLabel3.StylePriority.UseTextAlignment = false;
            this.xrLabel3.Text          = "Дополнительная информация";
            this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel6
            //
            this.xrLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel6.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                              | DevExpress.XtraPrinting.BorderSide.Right)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel6.Dpi           = 254F;
            this.xrLabel6.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1290.547F, 0F);
            this.xrLabel6.Name          = "xrLabel6";
            this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel6.SizeF         = new System.Drawing.SizeF(270.757F, 71.93747F);
            this.xrLabel6.StylePriority.UseBackColor     = false;
            this.xrLabel6.StylePriority.UseBorders       = false;
            this.xrLabel6.StylePriority.UseFont          = false;
            this.xrLabel6.StylePriority.UsePadding       = false;
            this.xrLabel6.StylePriority.UseTextAlignment = false;
            this.xrLabel6.Text          = "Время";
            this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel7
            //
            this.xrLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel7.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)
                                                                            | DevExpress.XtraPrinting.BorderSide.Right));
            this.xrLabel7.Dpi           = 254F;
            this.xrLabel7.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel7.Name          = "xrLabel7";
            this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel7.SizeF         = new System.Drawing.SizeF(378.7435F, 71.93747F);
            this.xrLabel7.StylePriority.UseBackColor     = false;
            this.xrLabel7.StylePriority.UseBorders       = false;
            this.xrLabel7.StylePriority.UseFont          = false;
            this.xrLabel7.StylePriority.UsePadding       = false;
            this.xrLabel7.StylePriority.UseTextAlignment = false;
            this.xrLabel7.Text          = "Вид работ";
            this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // topMarginBand1
            //
            this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel2
            });
            this.topMarginBand1.Dpi     = 254F;
            this.topMarginBand1.HeightF = 323F;
            this.topMarginBand1.Name    = "topMarginBand1";
            //
            // xrLabel2
            //
            this.xrLabel2.Dpi                            = 254F;
            this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 16F);
            this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 109.455F);
            this.xrLabel2.Multiline                      = true;
            this.xrLabel2.Name                           = "xrLabel2";
            this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel2.SizeF                          = new System.Drawing.SizeF(1809F, 213.3366F);
            this.xrLabel2.StylePriority.UseFont          = false;
            this.xrLabel2.StylePriority.UseTextAlignment = false;
            this.xrLabel2.Text                           = "Отчет по видам работ c ";
            this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // reportFooterBand1
            //
            this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrChart1,
                this.xrLabel1,
                this.xrLabel9
            });
            this.reportFooterBand1.Dpi       = 254F;
            this.reportFooterBand1.HeightF   = 1651.213F;
            this.reportFooterBand1.Name      = "reportFooterBand1";
            this.reportFooterBand1.StyleName = "ReportFooterBandStyle";
            //
            // xrChart1
            //
            this.xrChart1.AnchorHorizontal           = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
            this.xrChart1.AnchorVertical             = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
            this.xrChart1.AppearanceNameSerializable = "Nature Colors";
            this.xrChart1.AutoLayout      = true;
            this.xrChart1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.xrChart1.BorderColor     = System.Drawing.Color.Black;
            this.xrChart1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrChart1.Borders         = DevExpress.XtraPrinting.BorderSide.None;
            simpleDiagram1.LabelsResolveOverlappingMinIndent = 5;
            this.xrChart1.Diagram = simpleDiagram1;
            this.xrChart1.Dpi     = 254F;
            this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
            this.xrChart1.Legend.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside;
            this.xrChart1.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
            this.xrChart1.Legend.Name   = "Default Legend";
            this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.35414F);
            this.xrChart1.Name          = "xrChart1";
            this.xrChart1.PaletteName   = "Pastel Kit";
            sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True;
            sideBySideBarSeriesLabel1.Position           = DevExpress.XtraCharts.BarSeriesLabelPosition.BottomInside;
            series1.Label             = sideBySideBarSeriesLabel1;
            series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
            series1.LegendTextPattern = "{A}";
            series1.Name = "Ряд 1";
            sideBySideBarSeriesView1.BarWidth           = 0.5D;
            sideBySideBarSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.True;
            sideBySideBarSeriesView1.ColorEach          = true;
            sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch;
            series1.View    = sideBySideBarSeriesView1;
            series1.Visible = false;
            pieSeriesLabel1.EnableAntialiasing     = DevExpress.Utils.DefaultBoolean.True;
            pieSeriesLabel1.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default;
            pieSeriesLabel1.TextPattern            = "{A} {VP:0.00%}";
            series2.Label             = pieSeriesLabel1;
            series2.LegendTextPattern = "{A}";
            series2.Name = "Ряд 2";
            pieSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.False;
            pieSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
            pieSeriesView1.Rotation           = 270;
            pieSeriesView1.SweepDirection     = DevExpress.XtraCharts.PieSweepDirection.Clockwise;
            series2.View = pieSeriesView1;
            this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
                series1,
                series2
            };
            this.xrChart1.SeriesTemplate.Colorizer = keyColorColorizer1;
            this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1585.066F);
            this.xrChart1.StylePriority.UseBorderDashStyle = false;
            //
            // xrLabel1
            //
            this.xrLabel1.BackColor     = System.Drawing.Color.White;
            this.xrLabel1.BorderColor   = System.Drawing.Color.Black;
            this.xrLabel1.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.xrLabel1.Dpi           = 254F;
            this.xrLabel1.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel1.Name          = "xrLabel1";
            this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel1.SizeF         = new System.Drawing.SizeF(1558.304F, 45.47914F);
            this.xrLabel1.StylePriority.UseBackColor     = false;
            this.xrLabel1.StylePriority.UseBorderColor   = false;
            this.xrLabel1.StylePriority.UseBorders       = false;
            this.xrLabel1.StylePriority.UseFont          = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text          = "Итого:";
            this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            //
            // xrLabel9
            //
            this.xrLabel9.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
            this.xrLabel9.BorderColor     = System.Drawing.Color.Red;
            this.xrLabel9.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel9.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
            });
            this.xrLabel9.Dpi           = 254F;
            this.xrLabel9.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel9.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1558.304F, 0F);
            this.xrLabel9.Name          = "xrLabel9";
            this.xrLabel9.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel9.SizeF         = new System.Drawing.SizeF(250.696F, 45.47914F);
            this.xrLabel9.StylePriority.UseBackColor       = false;
            this.xrLabel9.StylePriority.UseBorderColor     = false;
            this.xrLabel9.StylePriority.UseBorderDashStyle = false;
            this.xrLabel9.StylePriority.UseBorders         = false;
            this.xrLabel9.StylePriority.UseFont            = false;
            this.xrLabel9.StylePriority.UseForeColor       = false;
            this.xrLabel9.StylePriority.UsePadding         = false;
            this.xrLabel9.StylePriority.UseTextAlignment   = false;
            xrSummary5.FormatString          = "{0:HH:mm}";
            xrSummary5.IgnoreNullValues      = true;
            xrSummary5.Running               = DevExpress.XtraReports.UI.SummaryRunning.Report;
            this.xrLabel9.Summary            = xrSummary5;
            this.xrLabel9.Text               = "xrLabel9";
            this.xrLabel9.TextAlignment      = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrLabel9.WordWrap           = false;
            this.xrLabel9.XlsxFormatString   = "[h]:mm";
            this.xrLabel9.SummaryGetResult  += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel9_SummaryGetResult);
            this.xrLabel9.SummaryRowChanged += new System.EventHandler(this.xrLabel9_SummaryRowChanged);
            //
            // ReportGroupFooterBandStyle
            //
            this.ReportGroupFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.ReportGroupFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
            this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.ReportGroupFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
            this.ReportGroupFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.ReportGroupFooterBandStyle.Name            = "ReportGroupFooterBandStyle";
            this.ReportGroupFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportGroupFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportEvenStyle
            //
            this.ReportEvenStyle.BackColor     = System.Drawing.Color.Transparent;
            this.ReportEvenStyle.Name          = "ReportEvenStyle";
            this.ReportEvenStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportGroupHeaderBandStyle
            //
            this.ReportGroupHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
            this.ReportGroupHeaderBandStyle.Name          = "ReportGroupHeaderBandStyle";
            this.ReportGroupHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F);
            this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // groupHeaderBand1
            //

            this.groupHeaderBand1.Dpi      = 254F;
            this.groupHeaderBand1.Expanded = false;
            this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
                new DevExpress.XtraReports.UI.GroupField("work", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
            });
            this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
            this.groupHeaderBand1.HeightF    = 63.99997F;
            this.groupHeaderBand1.Name       = "groupHeaderBand1";
            this.groupHeaderBand1.StyleName  = "ReportGroupHeaderBandStyle";
            //
            // formattingRule1
            //
            this.formattingRule1.Name = "formattingRule1";
            //
            // totalBindingSource
            //
            this.totalBindingSource.DataMember = "total";
            //
            // objectDataSource1
            //
            this.objectDataSource1.Constructor = objectConstructorInfo1;
            this.objectDataSource1.DataSource  = typeof(formUser);
            this.objectDataSource1.Name        = "objectDataSource1";
            //
            // objectDataSource2
            //
            this.objectDataSource2.DataSource = typeof(formUser);
            this.objectDataSource2.Name       = "objectDataSource2";
            //
            // ReportPrint
            //
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
                this.topMarginBand1,
                this.pageHeaderBand1,
                this.groupHeaderBand1,
                this.detailBand1,
                this.reportFooterBand1,
                this.bottomMarginBand1
            });
            this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
                this.objectDataSource1,
                this.objectDataSource2
            });
            this.DataSource = this.totalBindingSource;
            this.Dpi        = 254F;
            this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
                this.formattingRule1
            });
            this.Margins    = new System.Drawing.Printing.Margins(193, 98, 323, 217);
            this.PageHeight = 2970;
            this.PageWidth  = 2100;
            this.PaperKind  = System.Drawing.Printing.PaperKind.A4;
            this.PaperName  = "Custom";
            this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
            this.Scripts.OnDataSourceDemanded = "ReportPrint_DataSourceDemanded";
            this.SnapGridSize = 25F;
            this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
                this.ReportHeaderBandStyle,
                this.ReportGroupHeaderBandStyle,
                this.ReportDetailBandStyle,
                this.ReportGroupFooterBandStyle,
                this.ReportFooterBandStyle,
                this.ReportOddStyle,
                this.ReportEvenStyle
            });
            this.Version = "16.2";
            this.VerticalContentSplitting = DevExpress.XtraPrinting.VerticalContentSplitting.Smart;
            this.PrintProgress           += new DevExpress.XtraPrinting.PrintProgressEventHandler(this.ReportPrint_PrintProgress);
            this.DesignerLoaded          += new DevExpress.XtraReports.UserDesigner.DesignerLoadedEventHandler(this.ReportPrint_DesignerLoaded);
            this.DataSourceDemanded      += new System.EventHandler <System.EventArgs>(this.ReportPrint_DataSourceDemanded);
            this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.ReportPrint_BeforePrint);
            this.AfterPrint  += new System.EventHandler(this.ReportPrint_AfterPrint);
            ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }