public void InitializeChart(XtraReport report)
        {
            var ds = report.DataSource as DataSet;

            // Create a chart.
            var chart = new XRChart();

            chart.Location = new Point(0, 0);
            chart.Name     = "xrChart1";

            // Create chart series and bind them to data.
            for (int i = 1; i < ds.Tables[0].Columns.Count; i++)
            {
                if (ds.Tables[0].Columns[i].DataType == typeof(int) || ds.Tables[0].Columns[i].DataType == typeof(double))
                {
                    var series = new Series(ds.Tables[0].Columns[i].Caption, ViewType.Bar);

                    series.DataSource          = ds.Tables[0];
                    series.ArgumentDataMember  = ds.Tables[0].Columns[0].Caption;
                    series.ValueDataMembers[0] = ds.Tables[0].Columns[i].Caption;

                    chart.Series.Add(series);
                }
            }

            // Customize the chart appearance.
            (chart.Diagram as XYDiagram).AxisX.Label.Angle = 20;
            (chart.Diagram as XYDiagram).AxisX.Label.Font  = new Font(
                "Tahoma", 9.75F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(204)));

            chart.Size = new Size(650, 360);

            // Add the chart to the report's footer.
            report.Bands[BandKind.ReportFooter].Controls.Add(chart);
        }
Esempio n. 2
0
        private XRChart GetChart(
            Point location,
            IEnumerable <KeyValuePair <string, string> > axisValues,
            List <BubbleValue> dataValues,
            DateTime?startDate,
            DateTime?endDate)
        {
            var chart = new XRChart {
                Location = location
            };
            var series = GetSeries(dataValues).ToList();

            foreach (var s in series)
            {
                chart.Series.Add(s);
                ((BubbleSeriesView)s.View).MinSize      = .8;
                ((BubbleSeriesView)s.View).MaxSize      = 1.5;
                ((BubbleSeriesView)s.View).Transparency = 200;
            }
            SetXAxis(((XYDiagram)chart.Diagram), startDate, endDate);
            SetYaxis(((XYDiagram)chart.Diagram), axisValues);
            ((XYDiagram)chart.Diagram).EnableAxisXZooming = true;
            chart.Size      = new Size(900, 300);
            chart.LocationF = location;

            SetMinMaxBubbleSize(series, dataValues);

            return(chart);
        }
        private XRControl CreateChart()
        {
            XRChart xrChart1 = new XRChart();

            xrChart1.WidthF  = 640;
            xrChart1.HeightF = 400;

            xrChart1.DataSource = GetData();

            Series series1 = new Series("Spline Series 1", ViewType.Spline);

            series1.ArgumentDataMember = "GoniometerScanGraphicsSeries1.Angle";
            series1.ValueDataMembers.AddRange(new string[] { "GoniometerScanGraphicsSeries1.Intensity" });
            series1.Visible = true;

            Series series2 = new Series("Spline Series 2", ViewType.Spline);

            series2.ArgumentDataMember = "GoniometerScanGraphicsSeries2.Angle";
            series2.ValueDataMembers.AddRange(new string[] { "GoniometerScanGraphicsSeries2.Intensity" });
            series2.Visible = true;

            xrChart1.Series.Add(series1);
            xrChart1.Series.Add(series2);

            return(xrChart1);
        }
 private void CustomExport(object sender, CustomExportEventArgs e)
 {
     foreach (var printControl in e.GetPrintableControls())
     {
         if (printControl.Value is XRChart)
         {
             var pieItemName = printControl.Key;
             IDashboardControl dashboardControl = (IDashboardControl)sender;
             PieDashboardItem  pieDashboardItem = dashboardControl.Dashboard.Items[pieItemName] as PieDashboardItem;
             if (pieDashboardItem == null)
             {
                 return;
             }
             XRChart pieChart = printControl.Value as XRChart;
             if (pieChart == null || pieChart.Diagram == null)
             {
                 return;
             }
             pieChart.Diagram.Tag             = pieItemName;
             pieChart.CustomizePieTotalLabel += (s, args) => {
                 string componentName      = (s as XRChart).Diagram.Tag.ToString();
                 MultiDimensionalData data = e.GetItemData(componentName);
                 CustomizePieTotalLabel(componentName, data, args);
             };
             foreach (Series series in pieChart.Series)
             {
                 (series.View as PieSeriesView).TotalLabel.Visible = true;
             }
         }
     }
 }
Esempio n. 5
0
        public void BuildChart(int countS, int countE, DataTable dt, XRChart xrChart)
        {
            //6/25/2014 NS modified for VSPLUS-277
            xrChart.Series.Clear();
            Series series = null;

            for (int i = countS; i < countE; i++)
            {
                if (series == null)
                {
                    series = new Series("Server", ViewType.Bar);
                    series.ArgumentDataMember = dt.Columns["Server"].ToString();
                    series.ArgumentScaleType  = ScaleType.Qualitative;
                    series.ValueScaleType     = ScaleType.Numerical;
                }
                if (series != null)
                {
                    series.Points.Add(new SeriesPoint(dt.Rows[i]["Server"].ToString(), Convert.ToDouble(dt.Rows[i]["ResponseTime"].ToString())));
                    xrChart.Series.Add(series);
                    series = null;
                }
            }
            ((XYDiagram)xrChart1.Diagram).PaneLayoutDirection = PaneLayoutDirection.Horizontal;
            XYDiagram seriesXY = (XYDiagram)xrChart.Diagram;

            seriesXY.EnableAxisXScrolling = true;
            seriesXY.EnableAxisYScrolling = true;
            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowRotate = false;
            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowHide   = false;
            seriesXY.AxisY.Title.Text    = "Milliseconds";
            seriesXY.AxisY.Title.Visible = true;
            seriesXY.AxisX.Title.Visible = false;
            xrChart.DataSource           = dt;
        }
Esempio n. 6
0
        protected override ChartWizard CreateWizard(XRChart chart, IDesignerHost designerHost)
        {
            ChartWizard wizard = base.CreateWizard(chart, designerHost);

            CustomizeWizard(wizard);
            return(wizard);
        }
        /// <summary>
        /// Modifica la grafica que se va a presentar
        /// </summary>
        /// <param name="mes">Mes usado para pintar el eje X</param>
        /// <param name="sucursalId">Identificador de la Sucursal a usar</param>
        /// <param name="datos">DataSet con la informacion</param>
        /// <param name="diasMes">Numero de dias del mes</param>
        /// <param name="totalFlota">Lista con la suma de totales de la flota</param>
        /// <param name="totalRentados">Lista con las suma de los totales rentados de la flota</param>
        private void ModificarGrafica(int mes, int sucursalId, RentasSucursalDS datos, int diasMes, List <Int32> totalFlota, List <Int32> totalRentados)
        {
            XRChart grafica   = this.xrGraficaUtilizacion as XRChart;
            var     nombreMes = datos.Meses.First(x => x.Mes == mes).Nombre;

            if (sucursalId != 0)
            {
                var nombreSucursal = datos.Sucursales.First(x => x.SucursalID == sucursalId).Nombre;
                grafica.Titles[0].Text = "SUCURSAL " + nombreSucursal + " " + nombreMes;
            }
            else
            {
                grafica.Titles[0].Text = "TOTAL " + nombreMes;
            }

            XYDiagram diagramaGrafica = grafica.Diagram as XYDiagram;

            diagramaGrafica.AxisX.CustomLabels.Clear();
            diagramaGrafica.AxisX.Range.MaxValue = diasMes;

            for (int i = 1; i < diasMes + 1; i++)
            {
                CustomAxisLabel customAxisLabel = new CustomAxisLabel();
                customAxisLabel.Name      = i.ToString();
                customAxisLabel.AxisValue = i.ToString();
                diagramaGrafica.AxisX.CustomLabels.Add(customAxisLabel);
            }

            if (sucursalId == 0)
            {
                RentasSucursalDS newDataSet = new RentasSucursalDS();
                for (int i = 0; i < totalFlota.Count; i++)
                {
                    Int32  totalFlotaDia    = totalFlota[i];
                    Int32  totalRentadosDia = totalRentados[i];
                    Double?porcentaje       = null;
                    if (totalFlotaDia != 0)
                    {
                        porcentaje = (Double.Parse(totalRentadosDia.ToString()) / Double.Parse(totalFlotaDia.ToString()));
                    }
                    else
                    {
                        porcentaje = 0;
                    }
                    var row = newDataSet.SubTotalXDia.NewSubTotalXDiaRow();

                    row.Dia = i + 1;
                    row.Mes = mes;
                    row.PorcentajeUtilizacionFlota = Int32.Parse(Math.Round((Double)(porcentaje * 100)).ToString());
                    row.Anio = UsarSucursal.Value == true?this.GetCurrentColumnValue <int>("Anio") : Anio.Value;

                    newDataSet.SubTotalXDia.AddSubTotalXDiaRow(row);
                }
                grafica.DataSource = newDataSet;
            }
            else
            {
                grafica.DataSource = datos;
            }
        }
Esempio n. 8
0
        /// <summary>
        /// Evento que se ejecuta antes de visualizar la gráfica.
        /// </summary>
        /// <param name="sender">Objeto que generó el evento</param>
        /// <param name="e">Argumentos relacionados con el evento</param>
        private void xrChartElementoSucursal_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            XRChart xrChart = sender as XRChart;

            DollarUtilizationDS.ResultadoDollarUtilizationXSucursalRow row = ((this.GetCurrentRow() as DataRowView).Row as DollarUtilizationDS.ResultadoDollarUtilizationXSucursalRow);
            if (row != null && row.SucursalesRow != null && !string.IsNullOrEmpty(row.SucursalesRow.Nombre))
            {
                xrChart.Titles[0].Text = String.Format(" {0} {1}", this.TituloGrafica.Value.ToString().ToUpper(), row.SucursalesRow.Nombre.ToUpper());
            }
        }
        /// <summary>
        /// Evento que se ejecuta antes de realizar la visualización de la grafica de reporte
        /// </summary>
        /// <param name="sender">Objeto que disparo el evento</param>
        /// <param name="e">Argumentos relacionados con el evento</param>
        private void chartTimeUtilization_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            XRChart chart = sender as XRChart;

            ReporteRDSucursalDS.SubTotalXSucursalRow row = ((this.GetCurrentRow() as DataRowView).Row as ReporteRDSucursalDS.SubTotalXSucursalRow);
            if (row != null && row.SucursalesRow != null && !String.IsNullOrEmpty(row.SucursalesRow.Nombre))
            {
                chart.Titles[0].Text = String.Format("{0} {1}", this.TituloGrafica.Value.ToString().ToUpper(), row.SucursalesRow.Nombre.ToUpper());
            }
        }
Esempio n. 10
0
 //6/3/2015 NS added for VSPLUS-1828
 public void BuildChart(DataTable dt, XRChart xrChart)
 {
     xrChart.Series[0].DataSource         = dt;
     xrChart.Series[0].ArgumentDataMember = dt.Columns["ServerDiskName"].ToString();
     xrChart.Series[0].ValueDataMembers.AddRange(dt.Columns["DiskUsed"].ToString());
     xrChart.Series[0].Visible            = true;
     xrChart.Series[1].DataSource         = dt;
     xrChart.Series[1].ArgumentDataMember = dt.Columns["ServerDiskName"].ToString();
     xrChart.Series[1].ValueDataMembers.AddRange(dt.Columns["DiskFree"].ToString());
     xrChart.Series[1].Visible = true;
 }
        public static void CustomExport(CustomExportWebEventArgs e)
        {
            Dictionary <string, XRControl> controls = e.GetPrintableControls();

            foreach (var control in controls)
            {
                string             componentName = control.Key;
                XRChart            chartControl  = control.Value as XRChart;
                ChartDashboardItem chartItem     = e.GetDashboardItem(componentName) as ChartDashboardItem;
                if (chartControl != null && chartItem != null)
                {
                    string constantLinesJSON = chartItem.CustomProperties["ConstantLineSettings"];
                    if (constantLinesJSON != null)
                    {
                        XYDiagram diagram = chartControl.Diagram as XYDiagram;
                        if (diagram != null)
                        {
                            List <CustomConstantLine> customConstantLines = JsonConvert.DeserializeObject <List <CustomConstantLine> >(constantLinesJSON);
                            customConstantLines.ForEach(customConstantLine =>
                            {
                                ConstantLine line        = new ConstantLine();
                                line.Visible             = true;
                                line.ShowInLegend        = false;
                                line.Color               = ColorTranslator.FromHtml(customConstantLine.color);
                                line.Title.Text          = customConstantLine.labelText;
                                line.LineStyle.DashStyle = DashStyle.Dash;
                                line.LineStyle.Thickness = 2;
                                if (customConstantLine.isBound)
                                {
                                    MultiDimensionalData data = e.GetItemData(componentName);
                                    MeasureDescriptor measure = data.GetMeasures().FirstOrDefault(m => m.ID == customConstantLine.measureId);
                                    if (measure != null)
                                    {
                                        line.AxisValue = data.GetValue(measure).Value;
                                    }
                                }
                                else
                                {
                                    line.AxisValue = customConstantLine.value;
                                }


                                if (diagram.SecondaryAxesY.Count > 0)
                                {
                                    diagram.SecondaryAxesY[0].ConstantLines.Add(line);
                                }
                            });
                        }
                    }
                }
            }
        }
Esempio n. 12
0
        private void xrChart1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            XRChart xrc = (XRChart)sender;

            DateTime filter_value = (DateTime)paramPaymentDate.Value;

            // Clears the filters that may be set before.
            foreach (Series series in xrc.Series)
            {
                series.DataFilters.Clear();
                series.DataFilters.Add(new DataFilter("PaymentDate", "System.DateTime",
                                                      DataFilterCondition.Equal, filter_value));
            }
        }
Esempio n. 13
0
        public void BuildChart(int countS, int countE, string stype, DataTable dt, XRChart xrChart)
        {
            xrChart.Series.Clear();
            Series series  = null;
            string srvName = "";

            srvName = dt.Rows[0]["ServerName"].ToString();
            series  = new Series(dt.Rows[0]["ServerName"].ToString(), ViewType.Line);
            for (int i = countS; i < countE; i++)
            {
                if (srvName != dt.Rows[i]["ServerName"].ToString())
                {
                    if (series != null)
                    {
                        xrChart.Series.Add(series);
                    }
                    series = new Series(dt.Rows[i]["ServerName"].ToString(), ViewType.Line);
                    series.ArgumentDataMember = dt.Columns["Date"].ToString();
                    series.ArgumentScaleType  = ScaleType.DateTime;
                    series.ValueScaleType     = ScaleType.Numerical;
                }
                srvName = dt.Rows[i]["ServerName"].ToString();
                if (series != null)
                {
                    if (stype == "MAX")
                    {
                        series.Points.Add(new SeriesPoint(dt.Rows[i]["Date"].ToString(), Convert.ToInt32(dt.Rows[i]["StatValue"].ToString())));
                    }
                    else
                    {
                        series.Points.Add(new SeriesPoint(dt.Rows[i]["Date"].ToString(), Convert.ToDouble(dt.Rows[i]["StatValue"].ToString())));
                    }
                }
            }
            if (series != null)
            {
                xrChart.Series.Add(series);
            }
            ((XYDiagram)xrChart.Diagram).PaneLayoutDirection = PaneLayoutDirection.Horizontal;
            XYDiagram seriesXY = (XYDiagram)xrChart.Diagram;

            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowRotate = true;
            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowHide   = false;
            seriesXY.AxisY.Title.Text    = "# of Users";
            seriesXY.AxisX.Title.Text    = "Date";
            seriesXY.AxisY.Title.Visible = true;
            seriesXY.AxisX.Title.Visible = true;

            xrChart.DataSource = dt;
        }
        private void xrChart1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            XRChart xrc = (XRChart)sender;

            // Gets the current value of the grouping field. For correct implementation, the value should be of the same type as a data field.
            // For the master-detail report, use DetailBand.GetCurrentColumnValue in the detail band instead.
            int filter_value = Convert.ToInt32(GetCurrentColumnValue("Year"));

            // Clears the filters that may have been set earlier.
            xrc.Series[0].DataFilters.Clear();

            // Creates and adds a new filter to the "Year" data field which has the int type.
            // The condition is that the data value equals the filter_value parameter.
            xrc.Series[0].DataFilters.Add(new DataFilter("Year", typeof(int).ToString(), DataFilterCondition.Equal, filter_value));
        }
Esempio n. 15
0
        public void BuildChart(int countS, int countE, DataTable dt, XRChart xrChart)
        {
            xrChart.Series.Clear();
            Series series = null;

            for (int i = countS; i < countE; i++)
            {
                if (series == null)
                {
                    series = new Series("servername", ViewType.Bar);
                    series.ArgumentDataMember = dt.Columns["servername"].ToString();
                    series.ArgumentScaleType  = ScaleType.Qualitative;
                    series.ValueScaleType     = ScaleType.Numerical;
                }
                if (series != null)
                {
                    //5/5/2016 Sowjanya modified for VSPLUS-2919
                    series.Points.Add(new SeriesPoint(dt.Rows[i]["servername"].ToString(), Convert.ToDouble(dt.Rows[i]["PercentUtilization"].ToString() == "" ? "0" : dt.Rows[i]["PercentUtilization"].ToString())));
                    xrChart.Series.Add(series);
                    series = null;
                }
            }
            if (countE != 0)
            {
                ((XYDiagram)xrChart1.Diagram).PaneLayoutDirection = PaneLayoutDirection.Horizontal;
                XYDiagram seriesXY = (XYDiagram)xrChart.Diagram;
                seriesXY.EnableAxisXScrolling = true;
                seriesXY.EnableAxisYScrolling = true;
                seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowRotate = false;
                seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowHide   = false;

                seriesXY.AxisY.Title.Text = "Percentage Of Server Utilization";



                seriesXY.AxisY.Title.Visible = true;
                seriesXY.AxisX.Title.Visible = false;
            }
            else
            {
                EmptyChartText myText = xrChart.EmptyChartText;

                myText.Antialiasing = true;
                myText.Text         = "There is no data to dispaly.";
                myText.TextColor    = Color.Black;
            }
            xrChart.DataSource = dt;
        }
Esempio n. 16
0
        private void ResponseTimeXtraRpt_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            int     maxC    = 50;
            XRChart xrChart = new XRChart();

            xrChart.Series.Clear();
            DataTable dt = new DataTable();

            string typeval = "";

            typeval = this.TypeVal.Value.ToString();


            dt = VSWebBL.ReportsBL.ReportsBL.Ins.GetStalemailboxesInfo(typeval);
            BuildChart(0, dt.Rows.Count, dt, xrChart1);
        }
Esempio n. 17
0
        public void BuildChart(int countS, int countE, DataTable dt, XRChart xrChart)
        {
            xrChart.Series.Clear();
            Series series  = null;
            string srvName = "";

            srvName = dt.Rows[0]["ServerName"].ToString();
            series  = new Series(dt.Rows[0]["ServerName"].ToString(), ViewType.Bar);
            for (int i = countS; i < countE; i++)
            {
                if (srvName != dt.Rows[i]["ServerName"].ToString())
                {
                    if (series != null)
                    {
                        xrChart.Series.Add(series);
                    }
                    series = new Series(dt.Rows[i]["ServerName"].ToString(), ViewType.Bar);
                    series.ArgumentDataMember = dt.Columns["Date"].ToString();
                    series.ArgumentScaleType  = ScaleType.DateTime;
                    series.ValueScaleType     = ScaleType.Numerical;
                }
                srvName = dt.Rows[i]["ServerName"].ToString();
                if (series != null)
                {
                    series.Points.Add(new SeriesPoint(dt.Rows[i]["Date"].ToString(), Convert.ToInt32(dt.Rows[i]["StatValue"].ToString())));
                }
            }
            if (series != null)
            {
                xrChart.Series.Add(series);
            }
            ((XYDiagram)xrChart.Diagram).PaneLayoutDirection = PaneLayoutDirection.Horizontal;
            XYDiagram seriesXY = (XYDiagram)xrChart.Diagram;

            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowRotate = true;
            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowHide   = false;
            seriesXY.AxisY.Title.Text    = "Value";
            seriesXY.AxisX.Title.Text    = "Date";
            seriesXY.AxisY.Title.Visible = true;
            seriesXY.AxisX.Title.Visible = true;
            xrChart.DataSource           = dt;
            UI uiobj = new UI();

            uiobj.RecalibrateChartAxes(xrChart1.Diagram, "Y", "int", "int");
            StatLabel.Text = "Report for " + this.StatName.Value.ToString();
        }
Esempio n. 18
0
        public void BuildChart(int countS, int countE, DataTable dt, XRChart xrChart)
        {
            xrChart.Series.Clear();
            Series series = null;

            for (int i = countS; i < countE; i++)
            {
                if (series == null)
                {
                    series = new Series("Server", ViewType.Bar);
                    series.ArgumentDataMember = "DisplayName";
                    series.ArgumentScaleType  = ScaleType.Qualitative;
                    series.ValueScaleType     = ScaleType.Numerical;
                }
                if (series != null)
                {
                    series.Points.Add(new SeriesPoint(dt.Rows[i]["DisplayName"].ToString(), Convert.ToDouble(dt.Rows[i]["InActiveDaysCount"].ToString())));
                    xrChart.Series.Add(series);
                    series = null;
                }
            }
            // 3/24/2016 Durga Addded for VSPLUS-2702
            if (countE != 0)
            {
                ((XYDiagram)xrChart1.Diagram).PaneLayoutDirection = PaneLayoutDirection.Horizontal;
                XYDiagram seriesXY = (XYDiagram)xrChart.Diagram;
                seriesXY.EnableAxisXScrolling = true;
                seriesXY.EnableAxisYScrolling = true;
                seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowRotate = false;
                seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowHide   = false;
                seriesXY.AxisY.Title.Text    = "Days of Inactivity";
                seriesXY.AxisY.Title.Visible = true;
                seriesXY.AxisX.Title.Visible = false;
            }
            else
            {
                EmptyChartText myText = xrChart.EmptyChartText;

                myText.Antialiasing = true;
                myText.Text         = "There is no data to dispaly.";
                myText.TextColor    = Color.Black;
            }


            xrChart.DataSource = dt;
        }
        void Designer_CustomExport(object sender, CustomExportEventArgs e)
        {
            Dictionary <string, XRControl> controls = e.GetPrintableControls();

            foreach (KeyValuePair <string, XRControl> pair in controls)
            {
                XRChart xrChart = pair.Value as XRChart;
                if (xrChart != null)
                {
                    string itemComponentName        = pair.Key;
                    ScatterChartDashboardItem chart = designer.Dashboard.Items[itemComponentName] as ScatterChartDashboardItem;
                    if (chart != null)
                    {
                        UpdateChart(xrChart.Series, chart);
                    }
                }
            }
        }
Esempio n. 20
0
    private XRChart getDisp()
    {
        List <XRChart> list = new List <XRChart>()
        {
            xrChart1, xrChart2, xrChart3, xrChart4, xrChart5, xrChart6, xrChart7
        };
        XRChart disp = null;

        foreach (XRChart i in list)
        {
            if (i.Series.Count == 0)
            {
                disp = i;
                break;
            }
        }
        return(disp);
    }
 private void CustomExport(object sender, CustomExportEventArgs e)
 {
     foreach (var printControl in e.GetPrintableControls())
     {
         if (printControl.Value is XRChart)
         {
             var chartItemName = printControl.Key;
             IDashboardControl  dashboardControl = (IDashboardControl)sender;
             ChartDashboardItem chartItem        = dashboardControl.Dashboard.Items[chartItemName] as ChartDashboardItem;
             if (chartItem == null || chartItem.Panes.Count > 1)
             {
                 return;
             }
             XRChart xrChart = printControl.Value as XRChart;
             if (xrChart == null)
             {
                 return;
             }
             MultiPaneSettings settings = MultiPaneSettings.FromJson(chartItem.CustomProperties[customPropertyName]);
             CustomizeDiagram(xrChart.Diagram as XYDiagram, xrChart.Series, settings);
         }
     }
 }
Esempio n. 22
0
        public void BuildChart(int countS, int countE, DataTable dt, XRChart xrChart1)
        {
            xrChart1.Series.Clear();
            Series series = null;

            for (int i = countS; i < countE; i++)
            {
                if (series == null)
                {
                    series = new Series("tag", ViewType.Bar);
                    series.ArgumentDataMember = dt.Columns["tag"].ToString();
                    series.ArgumentScaleType  = ScaleType.Qualitative;
                    series.ValueScaleType     = ScaleType.Numerical;
                }
                if (series != null)
                {
                    series.Points.Add(new SeriesPoint(dt.Rows[i]["tag"].ToString(), Convert.ToInt32(dt.Rows[i]["tagcount"].ToString())));
                    xrChart1.Series.Add(series);
                    series = null;
                }
            }
            ((XYDiagram)xrChart1.Diagram).PaneLayoutDirection = PaneLayoutDirection.Horizontal;
            XYDiagram seriesXY = (XYDiagram)xrChart1.Diagram;

            seriesXY.EnableAxisXScrolling = true;
            seriesXY.EnableAxisYScrolling = true;
            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowRotate = false;
            seriesXY.AxisX.Label.ResolveOverlappingOptions.AllowHide   = false;
            seriesXY.AxisY.Title.Text    = "Tag Count";
            seriesXY.AxisY.Title.Visible = true;
            seriesXY.AxisX.Title.Visible = false;
            xrChart1.DataSource          = dt;
            UI uiobj = new UI();

            uiobj.RecalibrateChartAxes(xrChart1.Diagram, "Y", "int", "int");
        }
Esempio n. 23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable1          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrChart7          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart6          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart5          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart4          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart3          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart2          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart1          = new DevExpress.XtraReports.UI.XRChart();
     this.TopMargin         = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
     this.BottomMargin      = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.EventStyle        = new DevExpress.XtraReports.UI.XRControlStyle();
     this.HeaderStyle       = new DevExpress.XtraReports.UI.XRControlStyle();
     this.OddStyle          = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportHeader      = new DevExpress.XtraReports.UI.ReportHeaderBand();
     this.xrTable2          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell4      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6      = new DevExpress.XtraReports.UI.XRTableCell();
     this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.Dpi           = 96F;
     this.Detail.HeightF       = 24F;
     this.Detail.Name          = "Detail";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 96F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable1
     //
     this.xrTable1.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
     this.xrTable1.Dpi            = 96F;
     this.xrTable1.EvenStyleName  = "EventStyle";
     this.xrTable1.LocationFloat  = new DevExpress.Utils.PointFloat(145.1467F, 0F);
     this.xrTable1.Name           = "xrTable1";
     this.xrTable1.OddStyleName   = "OddStyle";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(497.9999F, 24F);
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3
     });
     this.xrTableRow1.Dpi    = 96F;
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.CanGrow = false;
     this.xrTableCell1.Dpi     = 96F;
     this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[OEM]")
     });
     this.xrTableCell1.Name    = "xrTableCell1";
     this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 96F);
     this.xrTableCell1.StylePriority.UsePadding = false;
     this.xrTableCell1.Text   = "xrTableCell1";
     this.xrTableCell1.Weight = 1.6300008683328984D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.CanGrow = false;
     this.xrTableCell2.Dpi     = 96F;
     this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Name]")
     });
     this.xrTableCell2.Name    = "xrTableCell2";
     this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 96F);
     this.xrTableCell2.StylePriority.UsePadding = false;
     this.xrTableCell2.Text   = "xrTableCell2";
     this.xrTableCell2.Weight = 2.0297211971690876D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.CanGrow = false;
     this.xrTableCell3.Dpi     = 96F;
     this.xrTableCell3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Total]")
     });
     this.xrTableCell3.Name    = "xrTableCell3";
     this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 96F);
     this.xrTableCell3.StylePriority.UsePadding = false;
     this.xrTableCell3.Text   = "xrTableCell3";
     this.xrTableCell3.Weight = 1.5277769734375721D;
     //
     // xrChart7
     //
     this.xrChart7.BorderColor = System.Drawing.Color.Black;
     this.xrChart7.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart7.Dpi         = 96F;
     this.xrChart7.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Tag", "[Name]")
     });
     this.xrChart7.Legend.Name        = "Default Legend";
     this.xrChart7.LocationFloat      = new DevExpress.Utils.PointFloat(1.017253E-05F, 612.6667F);
     this.xrChart7.Name               = "xrChart7";
     this.xrChart7.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart7.SizeF              = new System.Drawing.SizeF(384F, 191.9999F);
     //
     // xrChart6
     //
     this.xrChart6.BorderColor        = System.Drawing.Color.Black;
     this.xrChart6.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart6.Dpi                = 96F;
     this.xrChart6.Legend.Name        = "Default Legend";
     this.xrChart6.LocationFloat      = new DevExpress.Utils.PointFloat(408.6667F, 406F);
     this.xrChart6.Name               = "xrChart6";
     this.xrChart6.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart6.SizeF              = new System.Drawing.SizeF(381.4134F, 192F);
     //
     // xrChart5
     //
     this.xrChart5.BorderColor        = System.Drawing.Color.Black;
     this.xrChart5.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart5.Dpi                = 96F;
     this.xrChart5.Legend.Name        = "Default Legend";
     this.xrChart5.LocationFloat      = new DevExpress.Utils.PointFloat(1.017253E-05F, 406F);
     this.xrChart5.Name               = "xrChart5";
     this.xrChart5.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart5.SizeF              = new System.Drawing.SizeF(384F, 192F);
     //
     // xrChart4
     //
     this.xrChart4.BorderColor        = System.Drawing.Color.Black;
     this.xrChart4.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart4.Dpi                = 96F;
     this.xrChart4.Legend.Name        = "Default Legend";
     this.xrChart4.LocationFloat      = new DevExpress.Utils.PointFloat(408.6667F, 204F);
     this.xrChart4.Name               = "xrChart4";
     this.xrChart4.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart4.SizeF              = new System.Drawing.SizeF(381.4132F, 192F);
     //
     // xrChart3
     //
     this.xrChart3.BorderColor        = System.Drawing.Color.Black;
     this.xrChart3.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart3.Dpi                = 96F;
     this.xrChart3.Legend.Name        = "Default Legend";
     this.xrChart3.LocationFloat      = new DevExpress.Utils.PointFloat(0F, 204F);
     this.xrChart3.Name               = "xrChart3";
     this.xrChart3.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart3.SizeF              = new System.Drawing.SizeF(384F, 192F);
     //
     // xrChart2
     //
     this.xrChart2.BorderColor        = System.Drawing.Color.Black;
     this.xrChart2.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart2.Dpi                = 96F;
     this.xrChart2.Legend.Name        = "Default Legend";
     this.xrChart2.LocationFloat      = new DevExpress.Utils.PointFloat(408.6667F, 0F);
     this.xrChart2.Name               = "xrChart2";
     this.xrChart2.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart2.SizeF              = new System.Drawing.SizeF(381.4134F, 192F);
     //
     // xrChart1
     //
     this.xrChart1.BorderColor        = System.Drawing.Color.Black;
     this.xrChart1.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart1.Dpi                = 96F;
     this.xrChart1.Legend.Name        = "Default Legend";
     this.xrChart1.LocationFloat      = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrChart1.Name               = "xrChart1";
     this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart1.SizeF              = new System.Drawing.SizeF(384F, 192F);
     //
     // TopMargin
     //
     this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1
     });
     this.TopMargin.Dpi           = 96F;
     this.TopMargin.HeightF       = 47F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 96F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel1
     //
     this.xrLabel1.Dpi                            = 96F;
     this.xrLabel1.Font                           = new System.Drawing.Font("Segoe UI Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(301.6267F, 9.599997F);
     this.xrLabel1.Name                           = "xrLabel1";
     this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrLabel1.SizeF                          = new System.Drawing.SizeF(178.6667F, 22.08F);
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text                           = "Report Ticket";
     this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // BottomMargin
     //
     this.BottomMargin.Dpi           = 96F;
     this.BottomMargin.HeightF       = 43F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 96F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // EventStyle
     //
     this.EventStyle.BackColor   = System.Drawing.Color.White;
     this.EventStyle.BorderColor = System.Drawing.Color.Transparent;
     this.EventStyle.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.EventStyle.BorderWidth = 1F;
     this.EventStyle.Font        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.EventStyle.ForeColor   = System.Drawing.Color.Black;
     this.EventStyle.Name        = "EventStyle";
     this.EventStyle.Padding     = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 96F);
     //
     // HeaderStyle
     //
     this.HeaderStyle.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.HeaderStyle.BorderColor = System.Drawing.Color.Gray;
     this.HeaderStyle.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.HeaderStyle.BorderWidth = 1F;
     this.HeaderStyle.Font        = new System.Drawing.Font("Segoe UI Black", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.HeaderStyle.ForeColor   = System.Drawing.Color.White;
     this.HeaderStyle.Name        = "HeaderStyle";
     this.HeaderStyle.Padding     = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 96F);
     //
     // OddStyle
     //
     this.OddStyle.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(245)))), ((int)(((byte)(255)))));
     this.OddStyle.BorderColor = System.Drawing.Color.Transparent;
     this.OddStyle.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.OddStyle.BorderWidth = 1F;
     this.OddStyle.Font        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.OddStyle.ForeColor   = System.Drawing.Color.Black;
     this.OddStyle.Name        = "OddStyle";
     this.OddStyle.Padding     = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 96F);
     //
     // ReportHeader
     //
     this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2,
         this.xrChart7,
         this.xrChart6,
         this.xrChart1,
         this.xrChart4,
         this.xrChart3,
         this.xrChart2,
         this.xrChart5
     });
     this.ReportHeader.Dpi     = 96F;
     this.ReportHeader.HeightF = 847F;
     this.ReportHeader.Name    = "ReportHeader";
     //
     // xrTable2
     //
     this.xrTable2.Dpi           = 96F;
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(145.1467F, 823.0667F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF     = new System.Drawing.SizeF(497.9999F, 24F);
     this.xrTable2.StyleName = "HeaderStyle";
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6
     });
     this.xrTableRow2.Dpi    = 96F;
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Dpi     = 96F;
     this.xrTableCell4.Name    = "xrTableCell4";
     this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 96F);
     this.xrTableCell4.StylePriority.UsePadding = false;
     this.xrTableCell4.Text   = "Vendor";
     this.xrTableCell4.Weight = 1.0572976677704904D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Dpi     = 96F;
     this.xrTableCell5.Name    = "xrTableCell5";
     this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 96F);
     this.xrTableCell5.StylePriority.UsePadding = false;
     this.xrTableCell5.Text   = "Filter";
     this.xrTableCell5.Weight = 1.3165764313999724D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.Dpi     = 96F;
     this.xrTableCell6.Name    = "xrTableCell6";
     this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 96F);
     this.xrTableCell6.StylePriority.UsePadding = false;
     this.xrTableCell6.Text   = "Total";
     this.xrTableCell6.Weight = 0.99099061589297621D;
     //
     // objectDataSource1
     //
     this.objectDataSource1.DataSource = typeof(ATCPortal.ClsReport);
     this.objectDataSource1.Name       = "objectDataSource1";
     //
     // ReportsGeneral
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.ReportHeader
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.objectDataSource1
     });
     this.DataSource   = this.objectDataSource1;
     this.Dpi          = 96F;
     this.Margins      = new System.Drawing.Printing.Margins(11, 14, 47, 43);
     this.PageHeight   = 1056;
     this.PageWidth    = 816;
     this.ReportUnit   = DevExpress.XtraReports.UI.ReportUnit.Pixels;
     this.SnapGridSize = 12.5F;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.EventStyle,
         this.HeaderStyle,
         this.OddStyle
     });
     this.Version = "17.2";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 24
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(r_escapes));
            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.PointSeriesLabel pointSeriesLabel1 = new DevExpress.XtraCharts.PointSeriesLabel();
            DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView2 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.DataAccess.Sql.CustomSqlQuery customSqlQuery1 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
            DevExpress.DataAccess.Sql.QueryParameter queryParameter1 = new DevExpress.DataAccess.Sql.QueryParameter();
            DevExpress.DataAccess.Sql.QueryParameter queryParameter2 = new DevExpress.DataAccess.Sql.QueryParameter();
            DevExpress.DataAccess.Sql.CustomSqlQuery customSqlQuery2 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
            DevExpress.DataAccess.Sql.QueryParameter queryParameter3 = new DevExpress.DataAccess.Sql.QueryParameter();
            DevExpress.DataAccess.Sql.CustomSqlQuery customSqlQuery3 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
            DevExpress.DataAccess.Sql.CustomSqlQuery customSqlQuery4 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
            DevExpress.DataAccess.Sql.QueryParameter queryParameter4 = new DevExpress.DataAccess.Sql.QueryParameter();
            DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram();
            DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView3 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel2 = new DevExpress.XtraCharts.PointSeriesLabel();
            DevExpress.XtraCharts.LineSeriesView lineSeriesView2 = new DevExpress.XtraCharts.LineSeriesView();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView4 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.XYDiagram xyDiagram3 = new DevExpress.XtraCharts.XYDiagram();
            DevExpress.XtraCharts.Series series5 = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView5 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.Series series6 = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.PointSeriesLabel pointSeriesLabel3 = new DevExpress.XtraCharts.PointSeriesLabel();
            DevExpress.XtraCharts.LineSeriesView lineSeriesView3 = new DevExpress.XtraCharts.LineSeriesView();
            DevExpress.XtraReports.Parameters.StaticListLookUpSettings staticListLookUpSettings1 = new DevExpress.XtraReports.Parameters.StaticListLookUpSettings();
            DevExpress.XtraReports.Parameters.StaticListLookUpSettings staticListLookUpSettings2 = new DevExpress.XtraReports.Parameters.StaticListLookUpSettings();
            this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
            this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
            this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
            this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLine2 = new DevExpress.XtraReports.UI.XRLine();
            this.Detail = new DevExpress.XtraReports.UI.DetailBand();
            this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrChart3 = new DevExpress.XtraReports.UI.XRChart();
            this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
            this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrColumn1 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrColumn2 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrColumn3 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrColumn4 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrColumn5 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrColumn6 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrChart2 = new DevExpress.XtraReports.UI.XRChart();
            this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
            this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
            this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
            this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
            this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
            this.wc1_type = new DevExpress.XtraReports.Parameters.Parameter();
            this.wc1_vsm = new DevExpress.XtraReports.Parameters.Parameter();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).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)(pointSeriesLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(lineSeriesView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(lineSeriesView3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // TopMargin
            // 
            this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel4,
            this.xrLine1,
            this.xrPictureBox1});
            this.TopMargin.HeightF = 65F;
            this.TopMargin.Name = "TopMargin";
            // 
            // xrLabel4
            // 
            this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(598.9583F, 25.33332F);
            this.xrLabel4.Multiline = true;
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel4.SizeF = new System.Drawing.SizeF(391.0416F, 23F);
            this.xrLabel4.StylePriority.UseTextAlignment = false;
            this.xrLabel4.Text = "ESCAPES";
            this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            // 
            // xrLine1
            // 
            this.xrLine1.BorderColor = System.Drawing.Color.Empty;
            this.xrLine1.ForeColor = System.Drawing.Color.Gray;
            this.xrLine1.LineWidth = 5F;
            this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 48.33333F);
            this.xrLine1.Name = "xrLine1";
            this.xrLine1.SizeF = new System.Drawing.SizeF(996.875F, 16.66667F);
            this.xrLine1.StylePriority.UseBorderColor = false;
            this.xrLine1.StylePriority.UseForeColor = false;
            // 
            // xrPictureBox1
            // 
            this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
            this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 8.75F);
            this.xrPictureBox1.Name = "xrPictureBox1";
            this.xrPictureBox1.SizeF = new System.Drawing.SizeF(153.125F, 39.58333F);
            this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
            // 
            // BottomMargin
            // 
            this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel1,
            this.xrLine2});
            this.BottomMargin.HeightF = 54F;
            this.BottomMargin.Name = "BottomMargin";
            // 
            // xrLabel1
            // 
            this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(598.9583F, 16.66667F);
            this.xrLabel1.Multiline = true;
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel1.SizeF = new System.Drawing.SizeF(401.0417F, 23F);
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text = "xrLabel1";
            this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            // 
            // xrLine2
            // 
            this.xrLine2.BorderColor = System.Drawing.Color.Empty;
            this.xrLine2.ForeColor = System.Drawing.Color.Gray;
            this.xrLine2.LineWidth = 5F;
            this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLine2.Name = "xrLine2";
            this.xrLine2.SizeF = new System.Drawing.SizeF(996.875F, 16.66667F);
            this.xrLine2.StylePriority.UseBorderColor = false;
            this.xrLine2.StylePriority.UseForeColor = false;
            // 
            // Detail
            // 
            this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel6,
            this.xrChart3,
            this.xrLabel3,
            this.xrLabel5,
            this.xrLabel2,
            this.xrTable2,
            this.xrChart2,
            this.xrChart1});
            this.Detail.HeightF = 582.7084F;
            this.Detail.Name = "Detail";
            // 
            // xrLabel6
            // 
            this.xrLabel6.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
            this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 534.7084F);
            this.xrLabel6.Multiline = true;
            this.xrLabel6.Name = "xrLabel6";
            this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel6.SizeF = new System.Drawing.SizeF(153.125F, 23F);
            this.xrLabel6.StylePriority.UseFont = false;
            this.xrLabel6.StylePriority.UseTextAlignment = false;
            this.xrLabel6.Text = "ACTIONS RAIL";
            this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            // 
            // xrChart3
            // 
            this.xrChart3.AutoLayout = true;
            this.xrChart3.BackColor = System.Drawing.Color.White;
            this.xrChart3.BorderColor = System.Drawing.Color.Black;
            this.xrChart3.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrChart3.DataSource = this.sqlDataSource1;
            xyDiagram1.AxisX.Label.Angle = 270;
            xyDiagram1.AxisX.Label.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram1.AxisX.Label.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xyDiagram1.AxisX.Label.ResolveOverlappingOptions.MinIndent = 1;
            xyDiagram1.AxisX.MinorCount = 1;
            xyDiagram1.AxisX.Visibility = DevExpress.Utils.DefaultBoolean.True;
            xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
            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;
            this.xrChart3.Diagram = xyDiagram1;
            this.xrChart3.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
            this.xrChart3.Legend.BackColor = System.Drawing.Color.Transparent;
            this.xrChart3.Legend.Border.Color = System.Drawing.SystemColors.ActiveBorder;
            this.xrChart3.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
            this.xrChart3.Legend.Direction = DevExpress.XtraCharts.LegendDirection.LeftToRight;
            this.xrChart3.Legend.MarkerSize = new System.Drawing.Size(20, 10);
            this.xrChart3.Legend.Name = "Default Legend";
            this.xrChart3.Legend.Title.Text = "Actual";
            this.xrChart3.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False;
            this.xrChart3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 375.625F);
            this.xrChart3.Name = "xrChart3";
            this.xrChart3.PaletteBaseColorNumber = 2;
            this.xrChart3.PaletteName = "Grayscale";
            series1.ArgumentDataMember = "Query_4.scause";
            sideBySideBarSeriesLabel1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
            sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
            sideBySideBarSeriesLabel1.LineVisibility = DevExpress.Utils.DefaultBoolean.False;
            sideBySideBarSeriesLabel1.TextColor = System.Drawing.Color.Black;
            sideBySideBarSeriesLabel1.TextOrientation = DevExpress.XtraCharts.TextOrientation.BottomToTop;
            series1.Label = sideBySideBarSeriesLabel1;
            series1.LegendName = "Default Legend";
            series1.Name = "Actual";
            series1.ValueDataMembersSerializable = "Query_4.factual";
            sideBySideBarSeriesView1.Color = System.Drawing.Color.SteelBlue;
            sideBySideBarSeriesView1.Transparency = ((byte)(135));
            series1.View = sideBySideBarSeriesView1;
            series2.ArgumentDataMember = "Query_4.scause";
            pointSeriesLabel1.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            pointSeriesLabel1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
            pointSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel1.LineVisibility = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel1.TextColor = System.Drawing.Color.Red;
            series2.Label = pointSeriesLabel1;
            series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
            series2.Name = "Goal";
            series2.ShowInLegend = false;
            series2.ValueDataMembersSerializable = "Query_4.fsum";
            lineSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            series2.View = lineSeriesView1;
            this.xrChart3.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
        series1,
        series2};
            sideBySideBarSeriesView2.Transparency = ((byte)(135));
            this.xrChart3.SeriesTemplate.View = sideBySideBarSeriesView2;
            this.xrChart3.SizeF = new System.Drawing.SizeF(601.0417F, 159.0834F);
            // 
            // sqlDataSource1
            // 
            this.sqlDataSource1.ConnectionName = "DB_1033_DashboardConnectionString";
            this.sqlDataSource1.Name = "sqlDataSource1";
            customSqlQuery1.Name = "Query_1";
            queryParameter1.Name = "wc1_type";
            queryParameter1.Type = typeof(DevExpress.DataAccess.Expression);
            queryParameter1.Value = new DevExpress.DataAccess.Expression("?wc1_type", typeof(string));
            queryParameter2.Name = "wc1_vsm";
            queryParameter2.Type = typeof(DevExpress.DataAccess.Expression);
            queryParameter2.Value = new DevExpress.DataAccess.Expression("?wc1_vsm", typeof(string));
            customSqlQuery1.Parameters.Add(queryParameter1);
            customSqlQuery1.Parameters.Add(queryParameter2);
            customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql");
            customSqlQuery2.Name = "Query_2";
            queryParameter3.Name = "wc1_vsm";
            queryParameter3.Type = typeof(DevExpress.DataAccess.Expression);
            queryParameter3.Value = new DevExpress.DataAccess.Expression("IIF(?wc1_vsm == \'EP&A\',\'EP&A\', IIF(?wc1_vsm == \'Heat Transfer\', \'Heat Transfer\', " +
        "\'%%\'))\n\n", typeof(string));
            customSqlQuery2.Parameters.Add(queryParameter3);
            customSqlQuery2.Sql = resources.GetString("customSqlQuery2.Sql");
            customSqlQuery3.Name = "Query_3";
            customSqlQuery3.Sql = "select top 5 * from [tbl_actions]\r\nwhere report = \'escapes\'\r\n";
            customSqlQuery4.Name = "Query_4";
            queryParameter4.Name = "wc1_vsm";
            queryParameter4.Type = typeof(DevExpress.DataAccess.Expression);
            queryParameter4.Value = new DevExpress.DataAccess.Expression("?wc1_vsm", typeof(string));
            customSqlQuery4.Parameters.Add(queryParameter4);
            customSqlQuery4.Sql = resources.GetString("customSqlQuery4.Sql");
            this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
            customSqlQuery1,
            customSqlQuery2,
            customSqlQuery3,
            customSqlQuery4});
            this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
            // 
            // xrLabel3
            // 
            this.xrLabel3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
            this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(259.9998F, 352.625F);
            this.xrLabel3.Multiline = true;
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel3.SizeF = new System.Drawing.SizeF(100F, 23F);
            this.xrLabel3.StylePriority.UseFont = false;
            this.xrLabel3.StylePriority.UseTextAlignment = false;
            this.xrLabel3.Text = "FORECAST";
            this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            // 
            // xrLabel5
            // 
            this.xrLabel5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
            this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(259.9998F, 0F);
            this.xrLabel5.Multiline = true;
            this.xrLabel5.Name = "xrLabel5";
            this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel5.SizeF = new System.Drawing.SizeF(100F, 23F);
            this.xrLabel5.StylePriority.UseFont = false;
            this.xrLabel5.StylePriority.UseTextAlignment = false;
            this.xrLabel5.Text = "TREND";
            this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            // 
            // xrLabel2
            // 
            this.xrLabel2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
            this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(748.9583F, 0F);
            this.xrLabel2.Multiline = true;
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel2.SizeF = new System.Drawing.SizeF(100F, 23F);
            this.xrLabel2.StylePriority.UseFont = false;
            this.xrLabel2.StylePriority.UseTextAlignment = false;
            this.xrLabel2.Text = "PARETO";
            this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            // 
            // xrTable2
            // 
            this.xrTable2.BackColor = System.Drawing.Color.IndianRed;
            this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable2.BorderWidth = 1F;
            this.xrTable2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
            this.xrTable2.ForeColor = System.Drawing.Color.White;
            this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 557.7084F);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
            this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2});
            this.xrTable2.SizeF = new System.Drawing.SizeF(996.875F, 25F);
            this.xrTable2.StylePriority.UseBackColor = false;
            this.xrTable2.StylePriority.UseBorders = false;
            this.xrTable2.StylePriority.UseBorderWidth = false;
            this.xrTable2.StylePriority.UseFont = false;
            this.xrTable2.StylePriority.UseForeColor = false;
            this.xrTable2.StylePriority.UseTextAlignment = false;
            this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            // 
            // xrTableRow2
            // 
            this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrColumn1,
            this.xrColumn2,
            this.xrColumn3,
            this.xrColumn4,
            this.xrColumn5,
            this.xrColumn6});
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.Weight = 1D;
            // 
            // xrColumn1
            // 
            this.xrColumn1.Multiline = true;
            this.xrColumn1.Name = "xrColumn1";
            this.xrColumn1.Text = "RESPONSIBLE";
            this.xrColumn1.Weight = 0.92163030833659876D;
            // 
            // xrColumn2
            // 
            this.xrColumn2.Multiline = true;
            this.xrColumn2.Name = "xrColumn2";
            this.xrColumn2.Text = "ISSUE";
            this.xrColumn2.Weight = 1.4858934475411441D;
            // 
            // xrColumn3
            // 
            this.xrColumn3.Multiline = true;
            this.xrColumn3.Name = "xrColumn3";
            this.xrColumn3.Text = "ACTION";
            this.xrColumn3.Weight = 1.8025078982170846D;
            // 
            // xrColumn4
            // 
            this.xrColumn4.Multiline = true;
            this.xrColumn4.Name = "xrColumn4";
            this.xrColumn4.Text = "STATUS";
            this.xrColumn4.Weight = 0.60501558214145756D;
            // 
            // xrColumn5
            // 
            this.xrColumn5.Multiline = true;
            this.xrColumn5.Name = "xrColumn5";
            this.xrColumn5.Text = "START_DATE";
            this.xrColumn5.Weight = 0.5987462345709248D;
            // 
            // xrColumn6
            // 
            this.xrColumn6.Multiline = true;
            this.xrColumn6.Name = "xrColumn6";
            this.xrColumn6.Text = "DUE_DATE";
            this.xrColumn6.Weight = 0.58620652919279D;
            // 
            // xrChart2
            // 
            this.xrChart2.AutoLayout = true;
            this.xrChart2.BackColor = System.Drawing.Color.White;
            this.xrChart2.BorderColor = System.Drawing.Color.Black;
            this.xrChart2.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrChart2.DataSource = this.sqlDataSource1;
            xyDiagram2.AxisX.Label.Angle = 270;
            xyDiagram2.AxisX.Label.ResolveOverlappingOptions.AllowHide = false;
            xyDiagram2.AxisX.Label.ResolveOverlappingOptions.AllowStagger = false;
            xyDiagram2.AxisX.Label.ResolveOverlappingOptions.MinIndent = 0;
            xyDiagram2.AxisX.MinorCount = 1;
            xyDiagram2.AxisX.VisibleInPanesSerializable = "-1";
            xyDiagram2.AxisY.VisibleInPanesSerializable = "-1";
            xyDiagram2.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram2.DefaultPane.EnableAxisXZooming = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram2.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram2.DefaultPane.EnableAxisYZooming = DevExpress.Utils.DefaultBoolean.False;
            this.xrChart2.Diagram = xyDiagram2;
            this.xrChart2.IndicatorsPaletteName = "Grayscale";
            this.xrChart2.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
            this.xrChart2.Legend.BackColor = System.Drawing.Color.Transparent;
            this.xrChart2.Legend.Border.Color = System.Drawing.SystemColors.ActiveBorder;
            this.xrChart2.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
            this.xrChart2.Legend.Direction = DevExpress.XtraCharts.LegendDirection.LeftToRight;
            this.xrChart2.Legend.MarkerSize = new System.Drawing.Size(20, 10);
            this.xrChart2.Legend.Name = "Default Legend";
            this.xrChart2.Legend.Title.Text = "Actual";
            this.xrChart2.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False;
            this.xrChart2.LocationFloat = new DevExpress.Utils.PointFloat(611.4583F, 23.00002F);
            this.xrChart2.Name = "xrChart2";
            this.xrChart2.PaletteBaseColorNumber = 2;
            this.xrChart2.PaletteName = "Grayscale";
            series3.ArgumentDataMember = "Query_2.cause";
            sideBySideBarSeriesLabel2.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
            sideBySideBarSeriesLabel2.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
            sideBySideBarSeriesLabel2.LineVisibility = DevExpress.Utils.DefaultBoolean.False;
            sideBySideBarSeriesLabel2.TextColor = System.Drawing.Color.Black;
            sideBySideBarSeriesLabel2.TextOrientation = DevExpress.XtraCharts.TextOrientation.BottomToTop;
            series3.Label = sideBySideBarSeriesLabel2;
            series3.LegendName = "Default Legend";
            series3.Name = "Actual";
            series3.ValueDataMembersSerializable = "Query_2.cValue";
            sideBySideBarSeriesView3.Color = System.Drawing.Color.Firebrick;
            sideBySideBarSeriesView3.Transparency = ((byte)(135));
            series3.View = sideBySideBarSeriesView3;
            series4.ArgumentDataMember = "Query_2.cause";
            pointSeriesLabel2.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel2.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel2.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Empty;
            pointSeriesLabel2.LineVisibility = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel2.TextColor = System.Drawing.Color.Black;
            series4.Label = pointSeriesLabel2;
            series4.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
            series4.Name = "Goal";
            series4.ShowInLegend = false;
            series4.ValueDataMembersSerializable = "Query_2.Acum";
            lineSeriesView2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
            series4.View = lineSeriesView2;
            this.xrChart2.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
        series3,
        series4};
            sideBySideBarSeriesView4.Transparency = ((byte)(135));
            this.xrChart2.SeriesTemplate.View = sideBySideBarSeriesView4;
            this.xrChart2.SizeF = new System.Drawing.SizeF(378.5416F, 511.7083F);
            // 
            // xrChart1
            // 
            this.xrChart1.BorderColor = System.Drawing.Color.Black;
            this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrChart1.DataSource = this.sqlDataSource1;
            xyDiagram3.AxisX.AutoScaleBreaks.MaxCount = 1;
            xyDiagram3.AxisX.InterlacedColor = System.Drawing.Color.DimGray;
            xyDiagram3.AxisX.MinorCount = 1;
            xyDiagram3.AxisX.Tickmarks.MinorVisible = false;
            xyDiagram3.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.Default;
            xyDiagram3.AxisX.Visibility = DevExpress.Utils.DefaultBoolean.True;
            xyDiagram3.AxisX.VisibleInPanesSerializable = "-1";
            xyDiagram3.AxisY.VisibleInPanesSerializable = "-1";
            xyDiagram3.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram3.DefaultPane.EnableAxisXZooming = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram3.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram3.DefaultPane.EnableAxisYZooming = DevExpress.Utils.DefaultBoolean.False;
            xyDiagram3.RuntimePaneCollapse = false;
            this.xrChart1.Diagram = xyDiagram3;
            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.MarkerSize = new System.Drawing.Size(10, 10);
            this.xrChart1.Legend.Name = "Default Legend";
            this.xrChart1.Legend.Title.Text = "ESCAPES";
            this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 23.00002F);
            this.xrChart1.Name = "xrChart1";
            this.xrChart1.PaletteName = "Grayscale";
            series5.ArgumentDataMember = "Query_1.sdesc";
            series5.Name = "Actual";
            series5.ValueDataMembersSerializable = "Query_1.factual";
            sideBySideBarSeriesView5.Color = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
            series5.View = sideBySideBarSeriesView5;
            series6.ArgumentDataMember = "Query_1.sdesc";
            pointSeriesLabel3.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel3.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel3.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Empty;
            pointSeriesLabel3.LineVisibility = DevExpress.Utils.DefaultBoolean.False;
            pointSeriesLabel3.TextColor = System.Drawing.Color.Black;
            series6.Label = pointSeriesLabel3;
            series6.Name = "Goal";
            series6.ValueDataMembersSerializable = "Query_1.fgoal";
            lineSeriesView3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            series6.View = lineSeriesView3;
            this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
        series5,
        series6};
            this.xrChart1.SizeF = new System.Drawing.SizeF(601.0417F, 326.5833F);
            // 
            // xrTable1
            // 
            this.xrTable1.BackColor = System.Drawing.Color.WhiteSmoke;
            this.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
            this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1});
            this.xrTable1.SizeF = new System.Drawing.SizeF(996.875F, 25F);
            this.xrTable1.StylePriority.UseBackColor = false;
            this.xrTable1.StylePriority.UseBorders = false;
            this.xrTable1.StylePriority.UseTextAlignment = false;
            this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            // 
            // xrTableRow1
            // 
            this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell3,
            this.xrTableCell4,
            this.xrTableCell5,
            this.xrTableCell6});
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Weight = 1D;
            // 
            // xrTableCell1
            // 
            this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
            new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[responsible]")});
            this.xrTableCell1.Multiline = true;
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.Text = "xrTableCell1";
            this.xrTableCell1.Weight = 0.92163007873726477D;
            // 
            // xrTableCell2
            // 
            this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
            new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[issue]")});
            this.xrTableCell2.Multiline = true;
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.Text = "xrTableCell2";
            this.xrTableCell2.Weight = 1.4858935393808777D;
            // 
            // xrTableCell3
            // 
            this.xrTableCell3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
            new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[action]")});
            this.xrTableCell3.Multiline = true;
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.Text = "xrTableCell3";
            this.xrTableCell3.Weight = 1.8025080359766852D;
            // 
            // xrTableCell4
            // 
            this.xrTableCell4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
            new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[open_close]")});
            this.xrTableCell4.Multiline = true;
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.Text = "xrTableCell4";
            this.xrTableCell4.Weight = 0.60501558214145756D;
            // 
            // xrTableCell5
            // 
            this.xrTableCell5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
            new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[creation_date]")});
            this.xrTableCell5.Multiline = true;
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.Text = "xrTableCell5";
            this.xrTableCell5.TextFormatString = "{0:MM/dd/yyyy}";
            this.xrTableCell5.Weight = 0.5987462345709248D;
            // 
            // xrTableCell6
            // 
            this.xrTableCell6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
            new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[due_date]")});
            this.xrTableCell6.Multiline = true;
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.Text = "xrTableCell6";
            this.xrTableCell6.TextFormatString = "{0:MM/dd/yyyy}";
            this.xrTableCell6.Weight = 0.58620652919279D;
            // 
            // DetailReport
            // 
            this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail1,
            this.ReportFooter});
            this.DetailReport.DataMember = "Query_3";
            this.DetailReport.DataSource = this.sqlDataSource1;
            this.DetailReport.Level = 0;
            this.DetailReport.Name = "DetailReport";
            // 
            // Detail1
            // 
            this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1});
            this.Detail1.HeightF = 29.37495F;
            this.Detail1.Name = "Detail1";
            // 
            // ReportFooter
            // 
            this.ReportFooter.HeightF = 2.708689F;
            this.ReportFooter.Name = "ReportFooter";
            // 
            // wc1_type
            // 
            this.wc1_type.Description = "Period:";
            this.wc1_type.Name = "wc1_type";
            this.wc1_type.ValueInfo = "WEEKLY";
            staticListLookUpSettings1.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("WEEKLY", null));
            staticListLookUpSettings1.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("MONTHLY", null));
            staticListLookUpSettings1.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("QUARTERLY", null));
            staticListLookUpSettings1.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("YEARLY", null));
            this.wc1_type.ValueSourceSettings = staticListLookUpSettings1;
            // 
            // wc1_vsm
            // 
            this.wc1_vsm.Description = "VSM:";
            this.wc1_vsm.Name = "wc1_vsm";
            this.wc1_vsm.ValueInfo = "All";
            staticListLookUpSettings2.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("All", null));
            staticListLookUpSettings2.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("EP&A", null));
            staticListLookUpSettings2.LookUpValues.Add(new DevExpress.XtraReports.Parameters.LookUpValue("Heat Transfer", null));
            this.wc1_vsm.ValueSourceSettings = staticListLookUpSettings2;
            // 
            // r_escapes
            // 
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.TopMargin,
            this.BottomMargin,
            this.Detail,
            this.DetailReport});
            this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
            this.sqlDataSource1});
            this.DataSource = this.sqlDataSource1;
            this.Font = new System.Drawing.Font("Arial", 9.75F);
            this.Landscape = true;
            this.Margins = new System.Drawing.Printing.Margins(48, 50, 65, 54);
            this.PageColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.PageHeight = 850;
            this.PageWidth = 1100;
            this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
            this.wc1_type,
            this.wc1_vsm});
            this.RequestParameters = false;
            this.Version = "20.1";
            ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(lineSeriesView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(lineSeriesView3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

    }
Esempio n. 25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable1          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrChart1          = new DevExpress.XtraReports.UI.XRChart();
     this.TopMargin         = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
     this.BottomMargin      = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.PageHeader        = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrChart4          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart3          = new DevExpress.XtraReports.UI.XRChart();
     this.xrChart2          = new DevExpress.XtraReports.UI.XRChart();
     this.xrTable2          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell4      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6      = new DevExpress.XtraReports.UI.XRTableCell();
     this.HeaderStyle       = new DevExpress.XtraReports.UI.XRControlStyle();
     this.OddStyle          = new DevExpress.XtraReports.UI.XRControlStyle();
     this.EventStyle        = new DevExpress.XtraReports.UI.XRControlStyle();
     this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.BackColor = System.Drawing.Color.Transparent;
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.HeightF = 25F;
     this.Detail.Name    = "Detail";
     this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.StylePriority.UseBackColor = false;
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable1
     //
     this.xrTable1.EvenStyleName = "EventStyle";
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(150.1667F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.OddStyleName  = "OddStyle";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(501.3889F, 25F);
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.BorderColor = System.Drawing.Color.Transparent;
     this.xrTableCell1.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Name]")
     });
     this.xrTableCell1.Name    = "xrTableCell1";
     this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 100F);
     this.xrTableCell1.StylePriority.UseBorderColor   = false;
     this.xrTableCell1.StylePriority.UseBorders       = false;
     this.xrTableCell1.StylePriority.UsePadding       = false;
     this.xrTableCell1.StylePriority.UseTextAlignment = false;
     this.xrTableCell1.Text          = "xrTableCell1";
     this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     this.xrTableCell1.Weight        = 0.90473458689040809D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.BorderColor = System.Drawing.Color.Transparent;
     this.xrTableCell2.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[OEM]")
     });
     this.xrTableCell2.Name    = "xrTableCell2";
     this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 100F);
     this.xrTableCell2.StylePriority.UseBorderColor   = false;
     this.xrTableCell2.StylePriority.UseBorders       = false;
     this.xrTableCell2.StylePriority.UsePadding       = false;
     this.xrTableCell2.StylePriority.UseTextAlignment = false;
     this.xrTableCell2.Text          = "xrTableCell2";
     this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     this.xrTableCell2.Weight        = 0.69016207814362285D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.BorderColor = System.Drawing.Color.Transparent;
     this.xrTableCell3.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.xrTableCell3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Total]")
     });
     this.xrTableCell3.Name    = "xrTableCell3";
     this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 100F);
     this.xrTableCell3.StylePriority.UseBorderColor   = false;
     this.xrTableCell3.StylePriority.UseBorders       = false;
     this.xrTableCell3.StylePriority.UsePadding       = false;
     this.xrTableCell3.StylePriority.UseTextAlignment = false;
     this.xrTableCell3.Text          = "xrTableCell3";
     this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell3.Weight        = 0.41706994188445867D;
     //
     // xrChart1
     //
     this.xrChart1.BorderColor        = System.Drawing.Color.Black;
     this.xrChart1.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart1.Legend.Name        = "Default Legend";
     this.xrChart1.LocationFloat      = new DevExpress.Utils.PointFloat(0F, 63.19449F);
     this.xrChart1.Name               = "xrChart1";
     this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart1.SizeF              = new System.Drawing.SizeF(789F, 200F);
     //
     // TopMargin
     //
     this.TopMargin.HeightF       = 11.11111F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel1
     //
     this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 20F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(300F, 0F);
     this.xrLabel1.Name                           = "xrLabel1";
     this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF                          = new System.Drawing.SizeF(201.3889F, 38.27777F);
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text                           = "Report Tikets";
     this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF       = 140.9722F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrChart4,
         this.xrChart3,
         this.xrChart2,
         this.xrTable2,
         this.xrChart1,
         this.xrLabel1
     });
     this.PageHeader.HeightF = 751.3889F;
     this.PageHeader.Name    = "PageHeader";
     //
     // xrChart4
     //
     this.xrChart4.BorderColor        = System.Drawing.Color.Black;
     this.xrChart4.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart4.Legend.Name        = "Default Legend";
     this.xrChart4.LocationFloat      = new DevExpress.Utils.PointFloat(0F, 275F);
     this.xrChart4.Name               = "xrChart4";
     this.xrChart4.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart4.SizeF              = new System.Drawing.SizeF(789F, 200F);
     //
     // xrChart3
     //
     this.xrChart3.BorderColor        = System.Drawing.Color.Black;
     this.xrChart3.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart3.Legend.Name        = "Default Legend";
     this.xrChart3.LocationFloat      = new DevExpress.Utils.PointFloat(400.8055F, 500.0001F);
     this.xrChart3.Name               = "xrChart3";
     this.xrChart3.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart3.SizeF              = new System.Drawing.SizeF(388.1945F, 200.0001F);
     //
     // xrChart2
     //
     this.xrChart2.BorderColor        = System.Drawing.Color.Black;
     this.xrChart2.Borders            = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart2.Legend.Name        = "Default Legend";
     this.xrChart2.LocationFloat      = new DevExpress.Utils.PointFloat(0F, 500.0002F);
     this.xrChart2.Name               = "xrChart2";
     this.xrChart2.SeriesSerializable = new DevExpress.XtraCharts.Series[0];
     this.xrChart2.SizeF              = new System.Drawing.SizeF(388.824F, 200F);
     //
     // xrTable2
     //
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(150.1667F, 725.6945F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF     = new System.Drawing.SizeF(501.3889F, 25F);
     this.xrTable2.StyleName = "HeaderStyle";
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6
     });
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                         | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell4.Font    = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell4.Name    = "xrTableCell4";
     this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 100F);
     this.xrTableCell4.StylePriority.UseBorders = false;
     this.xrTableCell4.StylePriority.UseFont    = false;
     this.xrTableCell4.StylePriority.UsePadding = false;
     this.xrTableCell4.Text   = "Name";
     this.xrTableCell4.Weight = 1.3490304428415429D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                         | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell5.Font    = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell5.Name    = "xrTableCell5";
     this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 100F);
     this.xrTableCell5.StylePriority.UseBorders = false;
     this.xrTableCell5.StylePriority.UseFont    = false;
     this.xrTableCell5.StylePriority.UsePadding = false;
     this.xrTableCell5.Text   = "Vendor";
     this.xrTableCell5.Weight = 1.029085984360703D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                         | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell6.Font    = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell6.Name    = "xrTableCell6";
     this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 0, 100F);
     this.xrTableCell6.StylePriority.UseBorders       = false;
     this.xrTableCell6.StylePriority.UseFont          = false;
     this.xrTableCell6.StylePriority.UsePadding       = false;
     this.xrTableCell6.StylePriority.UseTextAlignment = false;
     this.xrTableCell6.Text          = "Total";
     this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell6.Weight        = 0.62188357279775408D;
     //
     // HeaderStyle
     //
     this.HeaderStyle.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
     this.HeaderStyle.BorderColor = System.Drawing.Color.Gray;
     this.HeaderStyle.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.HeaderStyle.BorderWidth = 1F;
     this.HeaderStyle.Font        = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.HeaderStyle.ForeColor   = System.Drawing.Color.White;
     this.HeaderStyle.Name        = "HeaderStyle";
     this.HeaderStyle.Padding     = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     //
     // OddStyle
     //
     this.OddStyle.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(245)))), ((int)(((byte)(255)))));
     this.OddStyle.BorderColor = System.Drawing.Color.Transparent;
     this.OddStyle.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.OddStyle.BorderWidth = 1F;
     this.OddStyle.Font        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.OddStyle.ForeColor   = System.Drawing.Color.Black;
     this.OddStyle.Name        = "OddStyle";
     this.OddStyle.Padding     = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
     //
     // EventStyle
     //
     this.EventStyle.BackColor   = System.Drawing.Color.White;
     this.EventStyle.BorderColor = System.Drawing.Color.Transparent;
     this.EventStyle.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.EventStyle.BorderWidth = 1F;
     this.EventStyle.Font        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.EventStyle.ForeColor   = System.Drawing.Color.Black;
     this.EventStyle.Name        = "EventStyle";
     this.EventStyle.Padding     = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
     //
     // objectDataSource1
     //
     this.objectDataSource1.DataSource = typeof(ATCPortal.ClsReport);
     this.objectDataSource1.Name       = "objectDataSource1";
     //
     // ReportTicket
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageHeader
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.objectDataSource1
     });
     this.DataSource = this.objectDataSource1;
     this.Margins    = new System.Drawing.Printing.Margins(29, 32, 11, 141);
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.HeaderStyle,
         this.OddStyle,
         this.EventStyle
     });
     this.Version = "17.2";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
        /// <summary>
        /// Evento que se ejecuta antes de realizar la visualización de la grafica de reporte
        /// </summary>
        /// <param name="sender">Objeto que disparo el evento</param>
        /// <param name="e">Argumentos relacionados con el evento</param>
        private void chartTimeUtilization_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            XRChart chart = sender as XRChart;

            chart.Titles[0].Text = this.TituloGraficaGlobal.Value.ToString().ToUpper();
        }
Esempio n. 27
0
    private void LoadReportTicketsVendor(int BranchID, List <object> OEMID, List <object> TechnologyID, List <object> StatusID, List <object> SeverityID, DateTime DateInit, DateTime DateFinish)
    {
        //string sqlOem = "select count(1) as Total, t3.Name from tblTicket t1  inner join tblOEMBranch t2 on t2.OEMID = t1.OEMID  inner join tblOEM t3 on t3.ID = t1.OEMID where t1.BranchID = " + BranchID;
        string sql = "select distinct t2.ID, t2.Name from tblOEMBranch t1 inner join tblOEM t2 on t2.ID = t1.OEMID where t1.BranchID = " + BranchID;

        if (OEMID.Count > 0)
        {
            sql += string.Format(" and t1.OEMID in ({0})", string.Join(", ", OEMID.ToArray()));
        }
        DataTable           tblOem      = DataBase.GetDT(sql);
        List <Series>       seriesList1 = new List <Series>();
        List <Series>       seriesList2 = new List <Series>();
        List <Series>       seriesList3 = new List <Series>();
        List <Series>       seriesList4 = new List <Series>();
        DataTable           table       = new DataTable();
        List <SqlParameter> sp          = new List <SqlParameter>();

        foreach (DataRow dr in tblOem.Rows)
        {
            sql = "select count(1) as Total, t3.Name from tblTicket t1 inner join tblOEM t3 on t3.ID = t1.OEMID where t1.BranchID = " + BranchID + " and t1.OEMID = " + dr["ID"].ToString() + " and CAST(t1.CreationDate AS DATE) >= @DateInit and CAST(t1.CreationDate AS DATE) <= @DateFinish group by t3.Name";
            Series series1 = new Series(dr["Name"].ToString(), ViewType.Bar);
            Series series2 = new Series(dr["Name"].ToString(), ViewType.Bar);
            Series series3 = new Series(dr["Name"].ToString(), ViewType.Bar);
            Series series4 = new Series(dr["Name"].ToString(), ViewType.Bar);
            series1.ArgumentDataMember = "Name";
            series1.ValueDataMembers.AddRange("Total");
            sp = new List <SqlParameter>()
            {
                new SqlParameter()
                {
                    ParameterName = "@DateInit", SqlDbType = SqlDbType.Date, Value = DateInit
                },
                new SqlParameter()
                {
                    ParameterName = "@DateFinish", SqlDbType = SqlDbType.Date, Value = DateFinish
                }
            };
            table = DataBase.GetDT(sp, sql);
            series1.DataSource = table;
            seriesList1.Add(series1);
            if (table.Rows.Count > 0)
            {
                listDataSource.Add(new ClsReport(table.Rows[0]["Name"].ToString(), dr["Name"].ToString(), Convert.ToInt32(table.Rows[0]["Total"])));
            }
            if (TechnologyID.Count > 0)
            {
                sql = "select count(1) as Total, t3.Name from tblTicket t1 left join tblTechnology t3 on t3.ID = t1.TechnologyID where t1.BranchID = {0} and t1.OEMID = {1} and t1.TechnologyID in ({2}) and CAST(t1.CreationDate AS DATE) >= @DateInit and CAST(t1.CreationDate AS DATE) <= @DateFinish  group by t3.Name";
                sql = string.Format(sql, BranchID, dr["ID"].ToString(), string.Join(", ", TechnologyID.ToArray()));
                series2.ArgumentDataMember = "Name";
                series2.ValueDataMembers.AddRange("Total");
                sp = new List <SqlParameter>()
                {
                    new SqlParameter()
                    {
                        ParameterName = "@DateInit", SqlDbType = SqlDbType.Date, Value = DateInit
                    },
                    new SqlParameter()
                    {
                        ParameterName = "@DateFinish", SqlDbType = SqlDbType.Date, Value = DateFinish
                    }
                };
                table = DataBase.GetDT(sp, sql);
                series2.DataSource = table;
                seriesList2.Add(series2);
                if (table.Rows.Count > 0)
                {
                    foreach (DataRow dr1 in table.Rows)
                    {
                        listDataSource.Add(new ClsReport(dr1["Name"].ToString(), dr["Name"].ToString(), Convert.ToInt32(dr1["Total"])));
                    }
                }
            }

            if (StatusID.Count > 0)
            {
                sql = "select count(1) as Total, t2.Name from tblTicket t1 right join tblStatus t2 on t2.ID = t1.StatusID where t1.BranchID = {0} and t1.OEMID = {1} and t1.StatusID in ({2}) and CAST(t1.CreationDate AS DATE) >= @DateInit and CAST(t1.CreationDate AS DATE) <= @DateFinish group by t2.Name";
                sql = string.Format(sql, BranchID, dr["ID"].ToString(), string.Join(", ", StatusID.ToArray()));
                series3.ArgumentDataMember = "Name";
                series3.ValueDataMembers.AddRange("Total");
                sp = new List <SqlParameter>()
                {
                    new SqlParameter()
                    {
                        ParameterName = "@DateInit", SqlDbType = SqlDbType.Date, Value = DateInit
                    },
                    new SqlParameter()
                    {
                        ParameterName = "@DateFinish", SqlDbType = SqlDbType.Date, Value = DateFinish
                    }
                };
                table = DataBase.GetDT(sp, sql);
                series3.DataSource = table;
                seriesList3.Add(series3);

                if (table.Rows.Count > 0)
                {
                    foreach (DataRow dr1 in table.Rows)
                    {
                        listDataSource.Add(new ClsReport(dr1["Name"].ToString(), dr["Name"].ToString(), Convert.ToInt32(dr1["Total"])));
                    }
                }
            }

            if (SeverityID.Count > 0)
            {
                sql = "select count(1) as Total, t2.Name from tblTicket t1 right join tblSeverity t2 on t2.ID = t1.SeverityID where t1.BranchID = {0} and t1.OEMID = {1} and t1.SeverityID in ({2}) and CAST(t1.CreationDate AS DATE) >= @DateInit and CAST(t1.CreationDate AS DATE) <= @DateFinish group by t2.Name";
                sql = string.Format(sql, BranchID, dr["ID"].ToString(), string.Join(", ", SeverityID.ToArray()));
                series4.ArgumentDataMember = "Name";
                series4.ValueDataMembers.AddRange("Total");
                sp = new List <SqlParameter>()
                {
                    new SqlParameter()
                    {
                        ParameterName = "@DateInit", SqlDbType = SqlDbType.Date, Value = DateInit
                    },
                    new SqlParameter()
                    {
                        ParameterName = "@DateFinish", SqlDbType = SqlDbType.Date, Value = DateFinish
                    }
                };
                table = DataBase.GetDT(sp, sql);
                series4.DataSource = table;
                seriesList4.Add(series4);
                if (table.Rows.Count > 0)
                {
                    foreach (DataRow dr1 in table.Rows)
                    {
                        listDataSource.Add(new ClsReport(dr1["Name"].ToString(), dr["Name"].ToString(), Convert.ToInt32(dr1["Total"])));
                    }
                }
            }
        }

        xrChart1.Series.AddRange(seriesList1.ToArray());
        ChartTitle title1 = new ChartTitle();
        ChartTitle title2 = new ChartTitle();
        ChartTitle title3 = new ChartTitle();
        ChartTitle title4 = new ChartTitle();

        title1.Text      = "Total Per Vendor";
        title1.Alignment = StringAlignment.Center;
        title1.Font      = new Font("Tahoma", 10, FontStyle.Bold);
        xrChart1.Titles.Add(title1);
        XRChart chartDisp = null;

        if (seriesList2.Count > 0)
        {
            title2.Text      = "Total Per Vendor - Technology";
            title2.Alignment = StringAlignment.Center;
            title2.Font      = new Font("Tahoma", 10, FontStyle.Bold);
            chartDisp        = getDisp();
            chartDisp.Series.AddRange(seriesList2.ToArray());
            chartDisp.Titles.Add(title2);
        }

        if (seriesList3.Count > 0)
        {
            title3.Text      = "Total Per Vendor - Status";
            title3.Alignment = StringAlignment.Center;
            title3.Font      = new Font("Tahoma", 10, FontStyle.Bold);
            chartDisp        = getDisp();
            chartDisp.Series.AddRange(seriesList3.ToArray());
            chartDisp.Titles.Add(title3);
        }

        if (seriesList4.Count > 0)
        {
            title4.Text      = "Total Per Vendor - Severity";
            title4.Alignment = StringAlignment.Center;
            title4.Font      = new Font("Tahoma", 10, FontStyle.Bold);
            chartDisp        = getDisp();
            chartDisp.Series.AddRange(seriesList4.ToArray());
            chartDisp.Titles.Add(title4);
        }
    }
Esempio n. 28
0
        private XRControl AddStatistics(TemplateProperty template, TemplateDynamicData property, float yPosition, float xPosition)
        {
            var chart1 = new XRChart();
            var pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
            pieSeriesView1.RuntimeExploding = false;
            chart1.BorderColor = Color.Black;
            chart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
            chart1.LocationFloat = new DevExpress.Utils.PointFloat(xPosition, yPosition);
            chart1.Name = "xrChart1" + Guid.NewGuid();

            //chart1.Titles.Add(new DevExpress.XtraCharts.ChartTitle { Text= });
            var series1 = new DevExpress.XtraCharts.Series();
            chart1.Series.Add(series1);

            series1.View = pieSeriesView1;

            var pieSeriesLabel1 = series1.Label as DevExpress.XtraCharts.PieSeriesLabel;
            pieSeriesLabel1.LineVisible = true;
            pieSeriesLabel1.Position = DevExpress.XtraCharts.PieSeriesLabelPosition.TwoColumns;
            chart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.LeftOutside;
            chart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Top;

            //this is the label with lines connected to the pie chart
            var piePointOptions1 = pieSeriesLabel1.PointOptions as DevExpress.XtraCharts.PiePointOptions;
            piePointOptions1.PointView = DevExpress.XtraCharts.PointView.Values;
            piePointOptions1.PercentOptions.ValueAsPercent = false;
            piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Number;
            piePointOptions1.ValueNumericOptions.Precision = 0;

            // this is the label with the name and value
            var piePointOptions2 = series1.LegendPointOptions as DevExpress.XtraCharts.PiePointOptions;
            piePointOptions2.PointView = DevExpress.XtraCharts.PointView.ArgumentAndValues;
            piePointOptions2.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent;
            piePointOptions2.ValueNumericOptions.Precision = 0;
            piePointOptions2.PercentOptions.ValueAsPercent = true;
            piePointOptions2.Pattern = "{V} : {A} ";

            //sorting by argument or by value
            PercentageValueSortingOption sortby = property.Statistics.PercentageValueSortBy;
            if (sortby == null ||
                sortby == PercentageValueSortingOption.PercentageDescending)
            {
                series1.SeriesPointsSorting = DevExpress.XtraCharts.SortingMode.Descending;
                series1.SeriesPointsSortingKey = DevExpress.XtraCharts.SeriesPointKey.Value_1;
            }
            else if (sortby == PercentageValueSortingOption.PercentageAscending)
            {
                series1.SeriesPointsSorting = DevExpress.XtraCharts.SortingMode.Ascending;
                series1.SeriesPointsSortingKey = DevExpress.XtraCharts.SeriesPointKey.Value_1;
            }
            else if (sortby == PercentageValueSortingOption.ValueDescending)
            {
                series1.SeriesPointsSorting = DevExpress.XtraCharts.SortingMode.Descending;
                series1.SeriesPointsSortingKey = DevExpress.XtraCharts.SeriesPointKey.Argument;
            }
            else if (sortby == PercentageValueSortingOption.ValueAscending)
            {
                series1.SeriesPointsSorting = DevExpress.XtraCharts.SortingMode.Ascending;
                series1.SeriesPointsSortingKey = DevExpress.XtraCharts.SeriesPointKey.Argument;
            }

            //set the data base on the statistics.data
            property.Statistics.Data = GetetStatisticsData(template, property.Statistics);

            //add data to the charts
            int cnt = 0;

            var sorted = property.Statistics.Data.OrderBy(e => e.Value);
            foreach (var item in sorted)
            {

                var seriesPoint1 = new DevExpress.XtraCharts.SeriesPoint(item.Key, new object[] { ((object)(item.Value)) }, cnt);
                cnt++;
                series1.Points.Add(seriesPoint1);
            }

            if (!string.IsNullOrEmpty(property.Statistics.ChartTitle))
            {
                DevExpress.XtraCharts.ChartTitle newChartTitle = new DevExpress.XtraCharts.ChartTitle { Text = property.Statistics.ChartTitle };
                newChartTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold);
                newChartTitle.Alignment = StringAlignment.Near;
                newChartTitle.Dock = DevExpress.XtraCharts.ChartTitleDockStyle.Top;
                chart1.Titles.Add(newChartTitle);
            }

            //Add total items
            int totalCategory = property.Statistics.Data.Count;

            if (property.Statistics.IsTotalCountVisible)
            {
                int totalCount = GetTotalItems(property.Statistics.Data);
                DevExpress.XtraCharts.ChartTitle totalitems = new DevExpress.XtraCharts.ChartTitle { Text = "Total items: " + totalCount };
                totalitems.Font = new System.Drawing.Font("Tahoma", 8F, FontStyle.Bold);
                totalitems.Alignment = StringAlignment.Near;
                totalitems.Dock = DevExpress.XtraCharts.ChartTitleDockStyle.Bottom;
                chart1.Titles.Add(totalitems);
            }
            //chart1.SizeF = new System.Drawing.SizeF(505.2083F, 100 + (totalCategory * 60));
            if (property.Statistics.GraphSize == GraphSize.Small)
                chart1.SizeF = new System.Drawing.SizeF(505.2083F, 300);
            else if (property.Statistics.GraphSize == GraphSize.Normal)
                chart1.SizeF = new System.Drawing.SizeF(505.2083F, 500);
            else if (property.Statistics.GraphSize == GraphSize.Large)
                chart1.SizeF = new System.Drawing.SizeF(505.2083F, 700);
            return chart1;
        }
Esempio n. 29
0
        public void SetGraphForDiskSpace(string serverName, DashboardReports.DominoDiskAvgXtraRpt report, XRChart CurrentDiskSpaceChart, string serverType)
        {
            bool isSummary;

            //XRChart CurrentDiskSpaceChart = (XRChart)report.FindControl("CurrentDiskSpaceChart", true);
            CurrentDiskSpaceChart.Series.Clear();
            //DataTable dt = VSWebBL.ReportsBL.ReportsBL.Ins.DominoDiskSpaceBL(serverName);
            dt = (DataTable)report.DataSource;
            CurrentDiskSpaceChart.DataSource = dt;
            isSummary = (bool)report.Parameters["IsSummary"].Value;
            double[] double1  = new double[dt.Rows.Count];
            double[] double2  = new double[dt.Rows.Count];
            string   diskName = "";
            string   srvName  = "";

            Series series = null;

            if (!isSummary)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    diskName = dt.Rows[i]["DiskName"].ToString();
                    srvName  = dt.Rows[i]["ServerName"].ToString();
                    //if (diskName == xrTableCell1.Text && srvName == xrLabel18.Text)
                    if (diskName == ((XRTableCell)report.FindControl("xrTableCell1", true)).Text &&
                        srvName == ((XRLabel)report.FindControl("xrLabel18", true)).Text)
                    {
                        if (series != null)
                        {
                            CurrentDiskSpaceChart.Series.Add(series);
                        }


                        series = new Series(dt.Rows[i]["DiskName"].ToString(), ViewType.Pie);

                        string val1 = dt.Rows[i]["PercentFree"].ToString();
                        string val2 = dt.Rows[i]["PercentUsed"].ToString();

                        if (val1 != "" && val2 != "")
                        {
                            double1[i] = Convert.ToDouble(dt.Rows[i]["PercentFree"].ToString());
                            double2[i] = Convert.ToDouble(dt.Rows[i]["PercentUsed"].ToString());

                            series.Points.Add(new SeriesPoint("Percent Free", double1[i]));
                            series.Points.Add(new SeriesPoint("Percent Used", double2[i]));
                            series.ShowInLegend = true;

                            series.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
                            PieSeriesLabel seriesLabel = (PieSeriesLabel)series.Label;
                            seriesLabel.Position  = PieSeriesLabelPosition.Radial;
                            seriesLabel.BackColor = System.Drawing.Color.Transparent;
                            seriesLabel.TextColor = System.Drawing.Color.Black;
                        }
                    }
                }
            }
            else
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    srvName = report.Parameters["ServerName"].Value.ToString();
                    if (series != null)
                    {
                        CurrentDiskSpaceChart.Series.Add(series);
                    }

                    series = new Series("All Disks", ViewType.Pie);

                    string val1 = dt.Rows[i]["PercentFree"].ToString();
                    string val2 = dt.Rows[i]["PercentUsed"].ToString();

                    if (val1 != "" && val2 != "")
                    {
                        double1[i] = Convert.ToDouble(dt.Rows[i]["PercentFree"].ToString());
                        double2[i] = Convert.ToDouble(dt.Rows[i]["PercentUsed"].ToString());

                        series.Points.Add(new SeriesPoint("Percent Free", double1[i]));
                        series.Points.Add(new SeriesPoint("Percent Used", double2[i]));
                        series.ShowInLegend = true;

                        series.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
                        PieSeriesLabel seriesLabel = (PieSeriesLabel)series.Label;
                        seriesLabel.Position  = PieSeriesLabelPosition.Radial;
                        seriesLabel.BackColor = System.Drawing.Color.Transparent;
                        seriesLabel.TextColor = System.Drawing.Color.Black;
                    }
                }
            }
            if (series != null)
            {
                CurrentDiskSpaceChart.Series.Add(series);
            }
            for (int c = 0; c < CurrentDiskSpaceChart.Series.Count; c++)
            {
                if (c == 0)
                {
                    PiePointOptions seriesPointOptions = (PiePointOptions)series.LegendPointOptions;
                    series.LegendPointOptions.PointView = PointView.Argument;
                    CurrentDiskSpaceChart.Series[0].LegendPointOptions.PointView = PointView.Argument;
                    CurrentDiskSpaceChart.Series[0].ShowInLegend = true;
                    CurrentDiskSpaceChart.Legend.Visible         = true;
                }
                else
                {
                    CurrentDiskSpaceChart.Series[c].ShowInLegend = false;
                }
            }
        }
Esempio n. 30
0
        public void SetGraphForDiskSpace(DashboardReports.DominoDiskAvgXtraRpt report, DataTable dt, bool isSummary,
                                         XRChart CurrentDiskSpaceChart)
        {
            //2/24/2014 NS added
            try
            {
                CurrentDiskSpaceChart.Series.Clear();
                CurrentDiskSpaceChart.DataSource = dt;
                double[] double1  = new double[dt.Rows.Count];
                double[] double2  = new double[dt.Rows.Count];
                string   diskName = "";
                string   srvName  = "";

                Series series = null;
                if (!isSummary)
                {
                    for (int i = 0; i < dt.Rows.Count; i++)
                    {
                        diskName = dt.Rows[i]["DiskName"].ToString();
                        srvName  = dt.Rows[i]["ServerName"].ToString();
                        //if (diskName == report.FindControl("xrTableCell1", true).Text && srvName == report.FindControl("xrLabel18", true).Text)
                        //{
                        if (series != null)
                        {
                            CurrentDiskSpaceChart.Series.Add(series);
                        }
                        series = new Series(dt.Rows[i]["DiskName"].ToString(), ViewType.Pie);

                        string val1 = dt.Rows[i]["PercentFree"].ToString();
                        string val2 = dt.Rows[i]["PercentUsed"].ToString();
                        if (val1 != "" && val2 != "")
                        {
                            double1[i] = Convert.ToDouble(dt.Rows[i]["PercentFree"].ToString());
                            double2[i] = Convert.ToDouble(dt.Rows[i]["PercentUsed"].ToString());
                            series.Points.Add(new SeriesPoint("Percent Free", double1[i]));
                            series.Points.Add(new SeriesPoint("Percent Used", double2[i]));
                            series.ShowInLegend     = true;
                            series.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
                            PieSeriesLabel seriesLabel = (PieSeriesLabel)series.Label;
                            seriesLabel.Position  = PieSeriesLabelPosition.Radial;
                            seriesLabel.BackColor = System.Drawing.Color.Transparent;
                            seriesLabel.TextColor = System.Drawing.Color.Black;
                            //PieSeriesView seriesView = (PieSeriesView)series.View;
                            //seriesView.Titles.Add(new SeriesTitle());
                            //seriesView.Titles[0].Dock = ChartTitleDockStyle.Bottom;
                            //seriesView.Titles[0].Text = series.Name.ToString();
                            //seriesView.Titles[0].Visible = true;
                            //seriesView.Titles[0].WordWrap = true;
                        }
                        //}
                    }
                }
                else
                {
                    for (int i = 0; i < dt.Rows.Count; i++)
                    {
                        srvName = report.Parameters["ServerName"].Value.ToString();
                        if (series != null)
                        {
                            CurrentDiskSpaceChart.Series.Add(series);
                        }

                        series = new Series("All Disks", ViewType.Pie);

                        string val1 = dt.Rows[i]["PercentFree"].ToString();
                        string val2 = dt.Rows[i]["PercentUsed"].ToString();

                        if (val1 != "" && val2 != "")
                        {
                            double1[i] = Convert.ToDouble(dt.Rows[i]["PercentFree"].ToString());
                            double2[i] = Convert.ToDouble(dt.Rows[i]["PercentUsed"].ToString());

                            series.Points.Add(new SeriesPoint("Percent Free", double1[i]));
                            series.Points.Add(new SeriesPoint("Percent Used", double2[i]));
                            series.ShowInLegend = true;

                            series.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
                            PieSeriesLabel seriesLabel = (PieSeriesLabel)series.Label;
                            seriesLabel.Position  = PieSeriesLabelPosition.Radial;
                            seriesLabel.BackColor = System.Drawing.Color.Transparent;
                            seriesLabel.TextColor = System.Drawing.Color.Black;
                        }
                    }
                }
                if (series != null)
                {
                    CurrentDiskSpaceChart.Series.Add(series);
                }
                for (int c = 0; c < CurrentDiskSpaceChart.Series.Count; c++)
                {
                    if (c == 0)
                    {
                        PiePointOptions seriesPointOptions = (PiePointOptions)series.LegendPointOptions;
                        series.LegendPointOptions.PointView = PointView.Argument;
                        CurrentDiskSpaceChart.Series[0].LegendPointOptions.PointView = PointView.Argument;
                        CurrentDiskSpaceChart.Series[0].ShowInLegend = true;
                        CurrentDiskSpaceChart.Legend.Visible         = true;
                    }
                    else
                    {
                        CurrentDiskSpaceChart.Series[c].ShowInLegend = false;
                    }
                }
            }
            catch (Exception ex)
            {
                WriteServiceHistoryEntry(DateTime.Now.ToString() + " The following error has occurred in SetGraph: " + ex.Message);
            }
        }
Esempio n. 31
0
    private void InitializeComponent()
    {
        string resourceFileName = "AnalysisReport.resx";

        DevExpress.XtraCharts.XYDiagram      xyDiagram1      = new DevExpress.XtraCharts.XYDiagram();
        DevExpress.XtraCharts.SecondaryAxisY secondaryAxisY1 = new DevExpress.XtraCharts.SecondaryAxisY();
        DevExpress.XtraCharts.Series         series1         = new DevExpress.XtraCharts.Series();
        //DevExpress.XtraCharts.SeriesPoint seriesPoint1 = new DevExpress.XtraCharts.SeriesPoint("<60", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint2 = new DevExpress.XtraCharts.SeriesPoint("60-70", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint3 = new DevExpress.XtraCharts.SeriesPoint("70-80", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint4 = new DevExpress.XtraCharts.SeriesPoint("80-90", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint5 = new DevExpress.XtraCharts.SeriesPoint("90-100", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series();
        //DevExpress.XtraCharts.SeriesPoint seriesPoint6 = new DevExpress.XtraCharts.SeriesPoint("<60", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint7 = new DevExpress.XtraCharts.SeriesPoint("60-70", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint8 = new DevExpress.XtraCharts.SeriesPoint("70-80", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint9 = new DevExpress.XtraCharts.SeriesPoint("80-90", new object[] {
        //((object)(0.2D))});
        //DevExpress.XtraCharts.SeriesPoint seriesPoint10 = new DevExpress.XtraCharts.SeriesPoint("90-100", new object[] {
        //((object)(0.2D))});
        DevExpress.XtraCharts.SeriesPoint seriesPoint1 = new DevExpress.XtraCharts.SeriesPoint("<60", new object[] {
            ((object)(less60))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint2 = new DevExpress.XtraCharts.SeriesPoint("60-70", new object[] {
            ((object)(In60_70))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint3 = new DevExpress.XtraCharts.SeriesPoint("70-80", new object[] {
            ((object)(In70_80))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint4 = new DevExpress.XtraCharts.SeriesPoint("80-90", new object[] {
            ((object)(In80_90))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint5 = new DevExpress.XtraCharts.SeriesPoint("90-100", new object[] {
            ((object)(In90_100))
        });
        DevExpress.XtraCharts.Series      series2      = new DevExpress.XtraCharts.Series();
        DevExpress.XtraCharts.SeriesPoint seriesPoint6 = new DevExpress.XtraCharts.SeriesPoint("<60", new object[] {
            ((object)(numless60))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint7 = new DevExpress.XtraCharts.SeriesPoint("60-70", new object[] {
            ((object)(numIn60_70))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint8 = new DevExpress.XtraCharts.SeriesPoint("70-80", new object[] {
            ((object)(numIn70_80))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint9 = new DevExpress.XtraCharts.SeriesPoint("80-90", new object[] {
            ((object)(numIn80_90))
        });
        DevExpress.XtraCharts.SeriesPoint seriesPoint10 = new DevExpress.XtraCharts.SeriesPoint("90-100", new object[] {
            ((object)(numIn90_100))
        });
        DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
        this.topMarginBand1    = new DevExpress.XtraReports.UI.TopMarginBand();
        this.detailBand1       = new DevExpress.XtraReports.UI.DetailBand();
        this.xrLabel30         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel29         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrPanel1          = new DevExpress.XtraReports.UI.XRPanel();
        this.xrChart1          = new DevExpress.XtraReports.UI.XRChart();
        this.xrLabel28         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel27         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel26         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel25         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel24         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel23         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel22         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel21         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel20         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel19         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel18         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel17         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel16         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel15         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel14         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel13         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel12         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel11         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel10         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel9          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel8          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel6          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel5          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel4          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
        this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.dateTimeChartRangeControlClient1 = new DevExpress.XtraEditors.DateTimeChartRangeControlClient();
        this.analysisDS2             = new AnalysisDS();
        this.dataTable1TableAdapter1 = new AnalysisDSTableAdapters.DataTable1TableAdapter();
        ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(secondaryAxisY1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.dateTimeChartRangeControlClient1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.analysisDS2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // topMarginBand1
        //
        this.topMarginBand1.HeightF = 33F;
        this.topMarginBand1.Name    = "topMarginBand1";
        //
        // detailBand1
        //
        this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel30,
            this.xrLabel29,
            this.xrPanel1,
            this.xrLabel28,
            this.xrLabel27,
            this.xrLabel26,
            this.xrLabel25,
            this.xrLabel24,
            this.xrLabel23,
            this.xrLabel22,
            this.xrLabel21,
            this.xrLabel20,
            this.xrLabel19,
            this.xrLabel18,
            this.xrLabel17,
            this.xrLabel16,
            this.xrLabel15,
            this.xrLabel14,
            this.xrLabel13,
            this.xrLabel12,
            this.xrLabel11,
            this.xrLabel10,
            this.xrLabel9,
            this.xrLabel8,
            this.xrLabel7,
            this.xrLabel6,
            this.xrLabel5,
            this.xrLabel4,
            this.xrLabel3,
            this.xrLabel2,
            this.xrLabel1
        });
        this.detailBand1.HeightF = 994.5005F;
        this.detailBand1.Name    = "detailBand1";
        //
        // xrLabel30
        //
        this.xrLabel30.Font                  = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel30.LocationFloat         = new DevExpress.Utils.PointFloat(10.00002F, 850.4169F);
        this.xrLabel30.Name                  = "xrLabel30";
        this.xrLabel30.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel30.SizeF                 = new System.Drawing.SizeF(100F, 23F);
        this.xrLabel30.StylePriority.UseFont = false;
        this.xrLabel30.Text                  = "说明:";
        //
        // xrLabel29
        //
        this.xrLabel29.Font                  = new System.Drawing.Font("宋体", 11F);
        this.xrLabel29.LocationFloat         = new DevExpress.Utils.PointFloat(10.00001F, 873.4169F);
        this.xrLabel29.Multiline             = true;
        this.xrLabel29.Name                  = "xrLabel29";
        this.xrLabel29.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel29.SizeF                 = new System.Drawing.SizeF(667.7083F, 95.91669F);
        this.xrLabel29.StylePriority.UseFont = false;
        this.xrLabel29.Text                  = "1.考核方式:开卷、闭卷、半开半闭、考试改革\r\n2.直方图数据的输入:双击表格中的直方图→出现“图区,数区”界面→点击界面中的“数区”→填入各分数段的人数→点击界" +
                                               "面中的“图区”→点击表格区域外的任意位置→直方图的数据输入完毕。\r\n";
        //
        // xrPanel1
        //
        this.xrPanel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrPanel1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrChart1
        });
        this.xrPanel1.LocationFloat            = new DevExpress.Utils.PointFloat(77.70839F, 224.0419F);
        this.xrPanel1.Name                     = "xrPanel1";
        this.xrPanel1.SizeF                    = new System.Drawing.SizeF(600F, 228.125F);
        this.xrPanel1.StylePriority.UseBorders = false;
        //
        // xrChart1
        //
        this.xrChart1.BorderColor = System.Drawing.Color.Black;
        this.xrChart1.Borders     = DevExpress.XtraPrinting.BorderSide.None;
        xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
        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;
        secondaryAxisY1.AxisID     = 0;
        secondaryAxisY1.Name       = "Secondary AxisY 1";
        secondaryAxisY1.Title.Text = "百分比";
        secondaryAxisY1.VisibleInPanesSerializable = "-1";
        xyDiagram1.SecondaryAxesY.AddRange(new DevExpress.XtraCharts.SecondaryAxisY[] {
            secondaryAxisY1
        });
        this.xrChart1.Diagram       = xyDiagram1;
        this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(20.83333F, 9.99999F);
        this.xrChart1.Name          = "xrChart1";
        series1.Name = "百分比";
        series1.Points.AddRange(new DevExpress.XtraCharts.SeriesPoint[] {
            seriesPoint1,
            seriesPoint2,
            seriesPoint3,
            seriesPoint4,
            seriesPoint5
        });
        series1.SynchronizePointOptions = false;
        series2.Name = "人数";
        series2.Points.AddRange(new DevExpress.XtraCharts.SeriesPoint[] {
            seriesPoint6,
            seriesPoint7,
            seriesPoint8,
            seriesPoint9,
            seriesPoint10
        });
        series2.SynchronizePointOptions    = false;
        sideBySideBarSeriesView1.AxisYName = "Secondary AxisY 1";
        series2.View = sideBySideBarSeriesView1;
        this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
            series1,
            series2
        };
        this.xrChart1.SeriesTemplate.SynchronizePointOptions = false;
        this.xrChart1.SizeF = new System.Drawing.SizeF(569.1667F, 208.125F);
        //
        // xrLabel28
        //
        this.xrLabel28.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.teachAnalysis")
        });
        this.xrLabel28.Font                     = new System.Drawing.Font("宋体", 11F);
        this.xrLabel28.LocationFloat            = new DevExpress.Utils.PointFloat(37.08334F, 728.1252F);
        this.xrLabel28.Multiline                = true;
        this.xrLabel28.Name                     = "xrLabel28";
        this.xrLabel28.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel28.SizeF                    = new System.Drawing.SizeF(640.6251F, 87.91663F);
        this.xrLabel28.StylePriority.UseBorders = false;
        //
        // xrLabel27
        //
        this.xrLabel27.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel27.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel27.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00005F, 728.1252F);
        this.xrLabel27.Name                           = "xrLabel27";
        this.xrLabel27.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel27.SizeF                          = new System.Drawing.SizeF(27.0833F, 87.91663F);
        this.xrLabel27.StylePriority.UseBorders       = false;
        this.xrLabel27.StylePriority.UseTextAlignment = false;
        this.xrLabel27.Text                           = "教学分析";
        this.xrLabel27.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel26
        //
        this.xrLabel26.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.expandAnalysis")
        });
        this.xrLabel26.Font                     = new System.Drawing.Font("宋体", 11F);
        this.xrLabel26.LocationFloat            = new DevExpress.Utils.PointFloat(37.08344F, 565.6251F);
        this.xrLabel26.Multiline                = true;
        this.xrLabel26.Name                     = "xrLabel26";
        this.xrLabel26.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel26.SizeF                    = new System.Drawing.SizeF(640.625F, 162.5001F);
        this.xrLabel26.StylePriority.UseBorders = false;
        //
        // xrLabel25
        //
        this.xrLabel25.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel25.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel25.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00015F, 565.6251F);
        this.xrLabel25.Name                           = "xrLabel25";
        this.xrLabel25.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel25.SizeF                          = new System.Drawing.SizeF(27.08329F, 162.5001F);
        this.xrLabel25.StylePriority.UseBorders       = false;
        this.xrLabel25.StylePriority.UseTextAlignment = false;
        this.xrLabel25.Text                           = "拓展分析";
        this.xrLabel25.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel24
        //
        this.xrLabel24.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.basicAnalysis")
        });
        this.xrLabel24.Font                     = new System.Drawing.Font("宋体", 11F);
        this.xrLabel24.LocationFloat            = new DevExpress.Utils.PointFloat(37.08334F, 452.1669F);
        this.xrLabel24.Multiline                = true;
        this.xrLabel24.Name                     = "xrLabel24";
        this.xrLabel24.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel24.SizeF                    = new System.Drawing.SizeF(640.6251F, 113.4582F);
        this.xrLabel24.StylePriority.UseBorders = false;
        //
        // xrLabel23
        //
        this.xrLabel23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel23.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel23.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00007F, 452.1668F);
        this.xrLabel23.Name                           = "xrLabel23";
        this.xrLabel23.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel23.SizeF                          = new System.Drawing.SizeF(27.08328F, 113.4583F);
        this.xrLabel23.StylePriority.UseBorders       = false;
        this.xrLabel23.StylePriority.UseTextAlignment = false;
        this.xrLabel23.Text                           = "基本分析";
        this.xrLabel23.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel22
        //
        this.xrLabel22.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel22.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel22.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00007F, 224.0419F);
        this.xrLabel22.Name                           = "xrLabel22";
        this.xrLabel22.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel22.SizeF                          = new System.Drawing.SizeF(67.70831F, 228.125F);
        this.xrLabel22.StylePriority.UseBorders       = false;
        this.xrLabel22.StylePriority.UseTextAlignment = false;
        this.xrLabel22.Text                           = "直方图";
        this.xrLabel22.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel21
        //
        this.xrLabel21.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.aveScore")
        });
        this.xrLabel21.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel21.LocationFloat                  = new DevExpress.Utils.PointFloat(485.0002F, 195.9169F);
        this.xrLabel21.Name                           = "xrLabel21";
        this.xrLabel21.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel21.SizeF                          = new System.Drawing.SizeF(192.7083F, 28.12506F);
        this.xrLabel21.StylePriority.UseBorders       = false;
        this.xrLabel21.StylePriority.UseTextAlignment = false;
        this.xrLabel21.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel20
        //
        this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.minScore")
        });
        this.xrLabel20.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel20.LocationFloat                  = new DevExpress.Utils.PointFloat(252.7084F, 195.9168F);
        this.xrLabel20.Name                           = "xrLabel20";
        this.xrLabel20.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel20.SizeF                          = new System.Drawing.SizeF(232.2917F, 28.12506F);
        this.xrLabel20.StylePriority.UseBorders       = false;
        this.xrLabel20.StylePriority.UseTextAlignment = false;
        this.xrLabel20.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel19
        //
        this.xrLabel19.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.maxScore")
        });
        this.xrLabel19.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel19.LocationFloat                  = new DevExpress.Utils.PointFloat(77.70839F, 195.9169F);
        this.xrLabel19.Name                           = "xrLabel19";
        this.xrLabel19.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel19.SizeF                          = new System.Drawing.SizeF(175F, 28.12503F);
        this.xrLabel19.StylePriority.UseBorders       = false;
        this.xrLabel19.StylePriority.UseTextAlignment = false;
        this.xrLabel19.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel18
        //
        this.xrLabel18.Borders                        = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel18.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel18.LocationFloat                  = new DevExpress.Utils.PointFloat(485.0002F, 169.7919F);
        this.xrLabel18.Name                           = "xrLabel18";
        this.xrLabel18.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel18.SizeF                          = new System.Drawing.SizeF(192.7083F, 26.12498F);
        this.xrLabel18.StylePriority.UseBorders       = false;
        this.xrLabel18.StylePriority.UseTextAlignment = false;
        this.xrLabel18.Text                           = "平均分";
        this.xrLabel18.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel17
        //
        this.xrLabel17.Borders                        = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel17.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel17.LocationFloat                  = new DevExpress.Utils.PointFloat(252.7085F, 169.7919F);
        this.xrLabel17.Name                           = "xrLabel17";
        this.xrLabel17.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel17.SizeF                          = new System.Drawing.SizeF(232.2917F, 26.12498F);
        this.xrLabel17.StylePriority.UseBorders       = false;
        this.xrLabel17.StylePriority.UseTextAlignment = false;
        this.xrLabel17.Text                           = "最低分";
        this.xrLabel17.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel16
        //
        this.xrLabel16.Borders                        = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel16.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel16.LocationFloat                  = new DevExpress.Utils.PointFloat(77.7084F, 169.7918F);
        this.xrLabel16.Name                           = "xrLabel16";
        this.xrLabel16.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel16.SizeF                          = new System.Drawing.SizeF(175.0001F, 26.125F);
        this.xrLabel16.StylePriority.UseBorders       = false;
        this.xrLabel16.StylePriority.UseTextAlignment = false;
        this.xrLabel16.Text                           = "最高分";
        this.xrLabel16.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel15
        //
        this.xrLabel15.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel15.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel15.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00009F, 169.7919F);
        this.xrLabel15.Name                           = "xrLabel15";
        this.xrLabel15.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel15.SizeF                          = new System.Drawing.SizeF(67.70831F, 54.24995F);
        this.xrLabel15.StylePriority.UseBorders       = false;
        this.xrLabel15.StylePriority.UseFont          = false;
        this.xrLabel15.StylePriority.UseTextAlignment = false;
        this.xrLabel15.Text                           = "成绩分布";
        this.xrLabel15.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel14
        //
        this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.examLength")
        });
        this.xrLabel14.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel14.LocationFloat                  = new DevExpress.Utils.PointFloat(561.0416F, 118.7503F);
        this.xrLabel14.Name                           = "xrLabel14";
        this.xrLabel14.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel14.SizeF                          = new System.Drawing.SizeF(116.6667F, 51.04156F);
        this.xrLabel14.StylePriority.UseBorders       = false;
        this.xrLabel14.StylePriority.UseTextAlignment = false;
        this.xrLabel14.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel13
        //
        this.xrLabel13.Borders                        = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel13.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel13.LocationFloat                  = new DevExpress.Utils.PointFloat(485.0001F, 118.7502F);
        this.xrLabel13.Name                           = "xrLabel13";
        this.xrLabel13.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel13.SizeF                          = new System.Drawing.SizeF(76.04166F, 51.04156F);
        this.xrLabel13.StylePriority.UseBorders       = false;
        this.xrLabel13.StylePriority.UseTextAlignment = false;
        this.xrLabel13.Text                           = "考试时长";
        this.xrLabel13.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel12
        //
        this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.examMothed")
        });
        this.xrLabel12.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel12.LocationFloat                  = new DevExpress.Utils.PointFloat(328.75F, 118.7503F);
        this.xrLabel12.Name                           = "xrLabel12";
        this.xrLabel12.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel12.SizeF                          = new System.Drawing.SizeF(156.2501F, 51.04156F);
        this.xrLabel12.StylePriority.UseBorders       = false;
        this.xrLabel12.StylePriority.UseTextAlignment = false;
        this.xrLabel12.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel11
        //
        this.xrLabel11.Borders                        = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel11.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel11.LocationFloat                  = new DevExpress.Utils.PointFloat(252.7084F, 118.7502F);
        this.xrLabel11.Name                           = "xrLabel11";
        this.xrLabel11.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel11.SizeF                          = new System.Drawing.SizeF(76.04166F, 51.04163F);
        this.xrLabel11.StylePriority.UseBorders       = false;
        this.xrLabel11.StylePriority.UseTextAlignment = false;
        this.xrLabel11.Text                           = "考核方式";
        this.xrLabel11.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel10
        //
        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, "DataTable1.TeacherName")
        });
        this.xrLabel10.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel10.LocationFloat                  = new DevExpress.Utils.PointFloat(98.5417F, 118.7502F);
        this.xrLabel10.Name                           = "xrLabel10";
        this.xrLabel10.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel10.SizeF                          = new System.Drawing.SizeF(154.1667F, 51.04163F);
        this.xrLabel10.StylePriority.UseBorders       = false;
        this.xrLabel10.StylePriority.UseTextAlignment = false;
        this.xrLabel10.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel9
        //
        this.xrLabel9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel9.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00001F, 118.7502F);
        this.xrLabel9.Name                           = "xrLabel9";
        this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel9.SizeF                          = new System.Drawing.SizeF(88.54166F, 51.04163F);
        this.xrLabel9.StylePriority.UseBorders       = false;
        this.xrLabel9.StylePriority.UseTextAlignment = false;
        this.xrLabel9.Text                           = "任课教师";
        this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel8
        //
        this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.ana_num")
        });
        this.xrLabel8.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(561.0416F, 73.95853F);
        this.xrLabel8.Name                           = "xrLabel8";
        this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel8.SizeF                          = new System.Drawing.SizeF(116.6667F, 44.79163F);
        this.xrLabel8.StylePriority.UseBorders       = false;
        this.xrLabel8.StylePriority.UseTextAlignment = false;
        this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel7
        //
        this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel7.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(485.0001F, 73.95853F);
        this.xrLabel7.Name                           = "xrLabel7";
        this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel7.SizeF                          = new System.Drawing.SizeF(76.04166F, 44.79163F);
        this.xrLabel7.StylePriority.UseBorders       = false;
        this.xrLabel7.StylePriority.UseTextAlignment = false;
        this.xrLabel7.Text                           = "学生人数";
        this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel6
        //
        this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.Class")
        });
        this.xrLabel6.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(328.75F, 73.95853F);
        this.xrLabel6.Name                           = "xrLabel6";
        this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel6.SizeF                          = new System.Drawing.SizeF(156.2501F, 44.79163F);
        this.xrLabel6.StylePriority.UseBorders       = false;
        this.xrLabel6.StylePriority.UseTextAlignment = false;
        this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel5
        //
        this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel5.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(252.7084F, 73.95853F);
        this.xrLabel5.Name                           = "xrLabel5";
        this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel5.SizeF                          = new System.Drawing.SizeF(76.04163F, 44.79166F);
        this.xrLabel5.StylePriority.UseBorders       = false;
        this.xrLabel5.StylePriority.UseTextAlignment = false;
        this.xrLabel5.Text                           = "班级";
        this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel4
        //
        this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.course_name")
        });
        this.xrLabel4.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(98.54167F, 73.95853F);
        this.xrLabel4.Name                           = "xrLabel4";
        this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel4.SizeF                          = new System.Drawing.SizeF(154.1667F, 44.79166F);
        this.xrLabel4.StylePriority.UseBorders       = false;
        this.xrLabel4.StylePriority.UseTextAlignment = false;
        this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel3
        //
        this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrLabel3.Font                           = new System.Drawing.Font("宋体", 11F);
        this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(10.00001F, 73.95853F);
        this.xrLabel3.Name                           = "xrLabel3";
        this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel3.SizeF                          = new System.Drawing.SizeF(88.54167F, 44.79166F);
        this.xrLabel3.StylePriority.UseBorders       = false;
        this.xrLabel3.StylePriority.UseTextAlignment = false;
        this.xrLabel3.Text                           = "课程名称";
        this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleJustify;
        //
        // xrLabel2
        //
        this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "DataTable1.teachingPlan")
        });
        this.xrLabel2.Font                  = new System.Drawing.Font("黑体", 12F);
        this.xrLabel2.LocationFloat         = new DevExpress.Utils.PointFloat(252.7083F, 39.25001F);
        this.xrLabel2.Name                  = "xrLabel2";
        this.xrLabel2.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF                 = new System.Drawing.SizeF(269.7917F, 23F);
        this.xrLabel2.StylePriority.UseFont = false;
        //
        // xrLabel1
        //
        this.xrLabel1.Font                  = new System.Drawing.Font("华文中宋", 18F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat         = new DevExpress.Utils.PointFloat(234.375F, 10.00001F);
        this.xrLabel1.Name                  = "xrLabel1";
        this.xrLabel1.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                 = new System.Drawing.SizeF(288.125F, 29.25F);
        this.xrLabel1.StylePriority.UseFont = false;
        this.xrLabel1.Text                  = "华北理工大学试卷分析";
        //
        // bottomMarginBand1
        //
        this.bottomMarginBand1.HeightF = 60F;
        this.bottomMarginBand1.Name    = "bottomMarginBand1";
        //
        // analysisDS2
        //
        this.analysisDS2.DataSetName             = "AnalysisDS";
        this.analysisDS2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
        //
        // dataTable1TableAdapter1
        //
        this.dataTable1TableAdapter1.ClearBeforeFill = true;
        //
        // AnalysisReport
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.topMarginBand1,
            this.detailBand1,
            this.bottomMarginBand1
        });
        this.DataAdapter = this.dataTable1TableAdapter1;
        this.DataMember  = "DataTable1";
        this.DataSource  = this.analysisDS2;
        this.Margins     = new System.Drawing.Printing.Margins(68, 82, 33, 60);
        this.Version     = "14.1";
        ((System.ComponentModel.ISupportInitialize)(secondaryAxisY1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.dateTimeChartRangeControlClient1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.analysisDS2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }