/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn2 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn3 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn4 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn5 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn6 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn7 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn8 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn9 = new Telerik.Reporting.DataColumn(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PopulationDensity)); Telerik.Reporting.ShapeMapGroup shapeMapGroup1 = new Telerik.Reporting.ShapeMapGroup(); Telerik.Reporting.MapLegend mapLegend1 = new Telerik.Reporting.MapLegend(); Telerik.Reporting.MercatorProjection mercatorProjection1 = new Telerik.Reporting.MercatorProjection(); Telerik.Reporting.MapTitle mapTitle1 = new Telerik.Reporting.MapTitle(); Telerik.Reporting.Drawing.GradientPalette gradientPalette1 = new Telerik.Reporting.Drawing.GradientPalette(); Telerik.Reporting.MapGroup mapGroup1 = new Telerik.Reporting.MapGroup(); Telerik.Reporting.EsriShapeFileSourceType esriShapeFileSourceType1 = new Telerik.Reporting.EsriShapeFileSourceType(); Telerik.Reporting.MapRelationPair mapRelationPair1 = new Telerik.Reporting.MapRelationPair(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); this.populationData = new Telerik.Reporting.CsvDataSource(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.map2 = new Telerik.Reporting.Map(); this.shapeMapSeries1 = new Telerik.Reporting.ShapeMapSeries(); this.reportHeaderSection1 = new Telerik.Reporting.ReportHeaderSection(); this.textBoxTitle = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.reportFooterSection1 = new Telerik.Reporting.ReportFooterSection(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // populationData // dataColumn1.Name = "Pos."; dataColumn1.Type = Telerik.Reporting.SimpleType.Integer; dataColumn2.Name = "Country"; dataColumn3.Name = "Area (km2)"; dataColumn3.Type = Telerik.Reporting.SimpleType.Float; dataColumn4.Name = "Area (mi2)"; dataColumn4.Type = Telerik.Reporting.SimpleType.Float; dataColumn5.Name = "Population"; dataColumn5.Type = Telerik.Reporting.SimpleType.Integer; dataColumn6.Name = "Density (pop./km2)"; dataColumn6.Type = Telerik.Reporting.SimpleType.Float; dataColumn7.Name = "Density (pop./mi2)"; dataColumn7.Type = Telerik.Reporting.SimpleType.Float; dataColumn8.Name = "Date"; dataColumn8.Type = Telerik.Reporting.SimpleType.DateTime; dataColumn9.Name = "Population source"; this.populationData.Columns.Add(dataColumn1); this.populationData.Columns.Add(dataColumn2); this.populationData.Columns.Add(dataColumn3); this.populationData.Columns.Add(dataColumn4); this.populationData.Columns.Add(dataColumn5); this.populationData.Columns.Add(dataColumn6); this.populationData.Columns.Add(dataColumn7); this.populationData.Columns.Add(dataColumn8); this.populationData.Columns.Add(dataColumn9); this.populationData.DateTimeFormat = "MMMM dd, yyyy"; this.populationData.FieldSeparators = new char[] { ';' }; this.populationData.HasHeaders = true; this.populationData.Name = "populationData"; this.populationData.RecordSeparators = new char[] { '\r', '\n' }; this.populationData.Source = resources.GetString("populationData.Source"); this.populationData.ThousandSeparator = ","; // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Cm(14.199999809265137D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.map2 }); this.detailSection1.Name = "detailSection1"; // // map2 // this.map2.ColorPalette = null; this.map2.DataSource = this.populationData; shapeMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.CNTRY_NAME")); shapeMapGroup1.Name = "categoryGroup1"; this.map2.GeoLocationGroups.Add(shapeMapGroup1); mapLegend1.Style.LineColor = System.Drawing.Color.LightGray; mapLegend1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapLegend1.Title = "people/km²"; mapLegend1.TitleStyle.Font.Bold = true; mapLegend1.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(6D); mapLegend1.TitleStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.Legends.Add(mapLegend1); this.map2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(0.30000004172325134D)); this.map2.Meridians.Style.LineColor = System.Drawing.Color.LightGray; this.map2.Name = "map2"; this.map2.Parallels.Style.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.map2.Projection = mercatorProjection1; this.map2.ScaleLegend.ItemStyle.BorderColor.Default = System.Drawing.Color.White; this.map2.ScaleLegend.ItemStyle.LineColor = System.Drawing.Color.DodgerBlue; this.map2.ScaleLegend.ItemStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(2D); this.map2.ScaleLegend.ItemStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.ScaleLegend.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.map2.Series.Add(this.shapeMapSeries1); this.map2.SeriesGroups.Add(mapGroup1); this.map2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(16.700000762939453D), Telerik.Reporting.Drawing.Unit.Cm(13.59999942779541D)); this.map2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); mapTitle1.Style.LineColor = System.Drawing.Color.LightGray; mapTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapTitle1.Text = ""; this.map2.Titles.Add(mapTitle1); // // shapeMapSeries1 // this.shapeMapSeries1.ColorData = "= Sum(Fields.[Density (pop./km2)])"; gradientPalette1.BeginColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(226)))), ((int)(((byte)(213))))); gradientPalette1.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(106)))), ((int)(((byte)(0))))); this.shapeMapSeries1.ColorPalette = gradientPalette1; this.shapeMapSeries1.ColorsCount = 8; this.shapeMapSeries1.DataPointLabel = "{Fields.CNTRY_NAME}\r\n({Sum(Fields.[Density (pop./km2)])})"; this.shapeMapSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.shapeMapSeries1.DataPointLabelStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.shapeMapSeries1.DataPointLabelStyle.Visible = false; this.shapeMapSeries1.DataPointStyle.LineColor = System.Drawing.Color.Gray; this.shapeMapSeries1.DataPointStyle.Visible = true; this.shapeMapSeries1.LegendItem.Value = "=Format(\'{0:N0} - {1:N0}\', RangeMin, RangeMax)"; this.shapeMapSeries1.Name = "shapeMapSeries1"; this.shapeMapSeries1.RangeGrouping = Telerik.Reporting.ShapeMapSeries.RangeGroupings.EqualDistribution; mapGroup1.Name = "seriesGroup1"; this.shapeMapSeries1.SeriesGroup = mapGroup1; this.shapeMapSeries1.ShapeMapGroup = shapeMapGroup1; esriShapeFileSourceType1.FileName = "Resources/world.shp"; mapRelationPair1.AnalyticalField = "= Fields.Country"; mapRelationPair1.ShapeFileField = "= Fields.CNTRY_NAME"; esriShapeFileSourceType1.RelationPairs.Add(mapRelationPair1); this.shapeMapSeries1.SourceType = esriShapeFileSourceType1; this.shapeMapSeries1.ToolTip.Text = "=Format(\'Area: {0} km²;\r\nPopulation: {1};\r\nDensity: {2:0.00} ppl/km²\', Fields.SQK" + "M, Fields.POP_CNTRY, Fields.POP_CNTRY/Fields.SQKM)"; this.shapeMapSeries1.ToolTip.Title = "=Fields.CNTRY_NAME"; // // reportHeaderSection1 // this.reportHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Cm(2.1999995708465576D); this.reportHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxTitle, this.textBox2 }); this.reportHeaderSection1.Name = "reportHeaderSection1"; // // textBoxTitle // this.textBoxTitle.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(0.30000004172325134D)); this.textBoxTitle.Name = "textBoxTitle"; this.textBoxTitle.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(5.8000001907348633D), Telerik.Reporting.Drawing.Unit.Cm(0.800000011920929D)); this.textBoxTitle.Style.Font.Bold = false; this.textBoxTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBoxTitle.Value = "World population density"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(1.6000001430511475D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(13.799998283386231D), Telerik.Reporting.Drawing.Unit.Cm(0.50019979476928711D)); this.textBox2.Value = "The choropleth below shows the 100 most populated countries"; // // reportFooterSection1 // this.reportFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Cm(1.1999986171722412D); this.reportFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.htmlTextBox1 }); this.reportFooterSection1.Name = "reportFooterSection1"; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(0.59999889135360718D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(13.799997329711914D), Telerik.Reporting.Drawing.Unit.Cm(0.49980011582374573D)); this.htmlTextBox1.Value = "The analytical data is obtained from <a href=\"http://en.wikipedia.org/wiki/List_o" + "f_sovereign_states_and_dependent_territories_by_population_density\" target=\"_bla" + "nk\">Wikipedia</a>."; // // PopulationDensity // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detailSection1, this.reportHeaderSection1, this.reportFooterSection1 }); this.Name = "PopulationDensity"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.Font.Name = "Segoe UI"; this.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.7322831153869629D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.detail = new Telerik.Reporting.DetailSection(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.csvDataSource1 = new Telerik.Reporting.CsvDataSource(); this.list1 = new Telerik.Reporting.List(); this.panel1 = new Telerik.Reporting.Panel(); this.textBox1 = new Telerik.Reporting.TextBox(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.3D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.list1 }); this.detail.Name = "detail"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageFooterSection1.Name = "pageFooterSection1"; // // csvDataSource1 // dataColumn1.Name = "Text"; this.csvDataSource1.Columns.Add(dataColumn1); this.csvDataSource1.FieldSeparators = new char[] { ',' }; this.csvDataSource1.HasHeaders = true; this.csvDataSource1.Name = "csvDataSource1"; this.csvDataSource1.RecordSeparators = new char[] { '\r', '\n' }; this.csvDataSource1.Source = "Text\r\n0\r\nselect me to display a very long text"; // // list1 // this.list1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(6.5D))); this.list1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.3D))); this.list1.Body.SetCellContent(0, 0, this.panel1); tableGroup1.Name = "ColumnGroup"; this.list1.ColumnGroups.Add(tableGroup1); this.list1.DataSource = this.objectDataSource1; this.list1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panel1 }); this.list1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.list1.Name = "list1"; tableGroup2.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup2.Name = "DetailGroup"; this.list1.RowGroups.Add(tableGroup2); this.list1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.5D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); // // panel1 // this.panel1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1 }); this.panel1.Name = "panel1"; this.panel1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.5D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.5D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); this.textBox1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Value = "= Fields.Item"; // // objectDataSource1 // this.objectDataSource1.DataMember = "LongText"; this.objectDataSource1.DataSource = typeof(ReportLibrary1.MyHelper); this.objectDataSource1.Name = "objectDataSource1"; this.objectDataSource1.Parameters.Add(new Telerik.Reporting.ObjectDataSourceParameter("originalText", typeof(string), "= Parameters.originalText.Value")); // // Report1 // this.DataSource = null; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail, this.pageFooterSection1 }); this.Name = "Report1"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.csvDataSource1; reportParameter1.AvailableValues.DisplayMember = "= Fields.Text"; reportParameter1.AvailableValues.ValueMember = "= Fields.Text"; reportParameter1.Name = "originalText"; reportParameter1.Text = "originalText"; reportParameter1.Value = "= Fields.Text"; reportParameter1.Visible = true; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.GraphGroup graphGroup5 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle3 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.DateTimeScale dateTimeScale2 = new Telerik.Reporting.DateTimeScale(); Telerik.Reporting.NumericalScale numericalScale5 = new Telerik.Reporting.NumericalScale(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Report1)); Telerik.Reporting.GraphGroup graphGroup6 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.NumericalScale numericalScale6 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.NumericalScale numericalScale7 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale3 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle4 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale4 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.CategoryScaleCrossAxisPosition categoryScaleCrossAxisPosition3 = new Telerik.Reporting.CategoryScaleCrossAxisPosition(); Telerik.Reporting.CategoryScaleCrossAxisPosition categoryScaleCrossAxisPosition4 = new Telerik.Reporting.CategoryScaleCrossAxisPosition(); Telerik.Reporting.NumericalScale numericalScale8 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.DataColumn dataColumn6 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn7 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn8 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn9 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn10 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.GraphGroup graphGroup7 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.detail = new Telerik.Reporting.DetailSection(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.salesData = new Telerik.Reporting.SqlDataSource(); this.lineSeries1 = new Telerik.Reporting.LineSeries(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.graphAxis4 = new Telerik.Reporting.GraphAxis(); this.graphAxis5 = new Telerik.Reporting.GraphAxis(); this.objectDataSource2 = new Telerik.Reporting.ObjectDataSource(); this.objectDataSource3 = new Telerik.Reporting.ObjectDataSource(); this.graph2 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem2 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis6 = new Telerik.Reporting.GraphAxis(); this.graphAxis7 = new Telerik.Reporting.GraphAxis(); this.csvDataSource1 = new Telerik.Reporting.CsvDataSource(); this.lineSeries2 = new Telerik.Reporting.LineSeries(); this.lineSeries3 = new Telerik.Reporting.LineSeries(); this.barSeries1 = new Telerik.Reporting.BarSeries(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.4D); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(9.5D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1, this.graph2 }); this.detail.Name = "detail"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.3D); this.pageFooterSection1.Name = "pageFooterSection1"; // // objectDataSource1 // this.objectDataSource1.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(string), "Fields.Numerosucursal"), new Telerik.Reporting.CalculatedField("Field2", typeof(decimal), "Fields.TotalActual"), new Telerik.Reporting.CalculatedField("Field3", typeof(string), "Fields.Codigo_De_Sucursal"), new Telerik.Reporting.CalculatedField("Field4", typeof(string), "Fields.Nombre"), new Telerik.Reporting.CalculatedField("Field5", typeof(decimal), "Fields.TotalAnterior") }); this.objectDataSource1.Name = "objectDataSource1"; // // graph1 // graphGroup5.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field3")); graphGroup5.Name = "orderDateMonthGroup"; graphGroup5.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Field3", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup5); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(192)))), ((int)(((byte)(80)))), ((int)(((byte)(77)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(119)))), ((int)(((byte)(44)))), ((int)(((byte)(42)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); this.graph1.ColorPalette = colorPalette2; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.DataSource = null; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.BottomCenter; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph1.Legend.Style.Visible = false; this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.508D), Telerik.Reporting.Drawing.Unit.Cm(0.254D)); this.graph1.Name = "graph1"; this.graph1.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph1.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph1.Series.Add(this.lineSeries1); this.graph1.SeriesGroups.Add(graphGroup6); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.5D), Telerik.Reporting.Drawing.Unit.Cm(5.5D)); this.graph1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle3.Position = Telerik.Reporting.GraphItemPosition.TopLeft; graphTitle3.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(152)))), ((int)(((byte)(152))))); graphTitle3.Style.Font.Bold = false; graphTitle3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); graphTitle3.Style.LineColor = System.Drawing.Color.LightGray; graphTitle3.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); graphTitle3.Text = "SALES VOLUME, MOUNTLY (in millions USD)"; this.graph1.Titles.Add(graphTitle3); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis5; this.cartesianCoordinateSystem1.YAxis = this.graphAxis1; // // graphAxis2 // this.graphAxis2.LabelFormat = "{0}"; this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.Visible = false; this.graphAxis2.Name = "graphAxis2"; dateTimeScale2.BaseUnit = Telerik.Reporting.DateTimeScaleUnits.Months; this.graphAxis2.Scale = dateTimeScale2; this.graphAxis2.Title = ""; this.graphAxis2.TitlePlacement = Telerik.Reporting.GraphAxisTitlePlacement.AtMaximum; // // graphAxis1 // this.graphAxis1.LabelFormat = "{0:C2}"; this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MajorGridLineStyle.Visible = true; this.graphAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MinorGridLineStyle.Visible = false; this.graphAxis1.Name = "graphAxis1"; this.graphAxis1.Scale = numericalScale5; this.graphAxis1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graphAxis1.Style.Visible = true; this.graphAxis1.Title = ""; this.graphAxis1.TitlePlacement = Telerik.Reporting.GraphAxisTitlePlacement.AtMaximum; // // salesData // this.salesData.ConnectionString = "My.MySettings.TelerikConnectionString"; this.salesData.Name = "salesData"; this.salesData.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@country", System.Data.DbType.String, "=Parameters.country.Value"), new Telerik.Reporting.SqlDataSourceParameter("@year", System.Data.DbType.Int32, "=Parameters.year.Value"), new Telerik.Reporting.SqlDataSourceParameter("@category", System.Data.DbType.Int32, "=Parameters.category.Value") }); this.salesData.SelectCommand = resources.GetString("salesData.SelectCommand"); // // lineSeries1 // this.lineSeries1.CategoryGroup = graphGroup5; this.lineSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries1.DataPointLabel = "=Sum(Fields.Field2)"; this.lineSeries1.DataPointLabelStyle.Visible = false; this.lineSeries1.DataPointStyle.Visible = false; this.lineSeries1.LegendItem.Style.BackgroundColor = System.Drawing.Color.Transparent; this.lineSeries1.LegendItem.Style.LineColor = System.Drawing.Color.Transparent; this.lineSeries1.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.lineSeries1.LegendItem.Value = "=Fields.OrderDate.Year"; this.lineSeries1.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries1.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeries1.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries1.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries1.MarkerType = Telerik.Reporting.DataPointMarkerType.Diamond; this.lineSeries1.Name = "lineSeries1"; graphGroup6.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field1")); graphGroup6.Name = "orderDateYearGroup"; graphGroup6.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.lineSeries1.SeriesGroup = graphGroup6; this.lineSeries1.Size = null; this.lineSeries1.Y = "=Sum(Fields.Field2)"; // // graphAxis3 // this.graphAxis3.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis3.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis3.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MinorGridLineStyle.Visible = false; this.graphAxis3.Name = "GraphAxis1"; this.graphAxis3.Scale = numericalScale6; // // graphAxis4 // this.graphAxis4.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis4.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis4.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis4.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis4.MinorGridLineStyle.Visible = false; this.graphAxis4.Name = "GraphAxis2"; this.graphAxis4.Scale = numericalScale7; // // graphAxis5 // this.graphAxis5.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis5.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis5.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis5.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis5.MinorGridLineStyle.Visible = false; this.graphAxis5.Name = "GraphAxis1"; this.graphAxis5.Scale = categoryScale3; // // objectDataSource2 // this.objectDataSource2.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(int), "Fields.Numerosucursal"), new Telerik.Reporting.CalculatedField("Field2", typeof(decimal), "Fields.TotalActual"), new Telerik.Reporting.CalculatedField("Field3", typeof(string), "Fields.Codigo_De_Sucursal"), new Telerik.Reporting.CalculatedField("Field4", typeof(string), "Fields.Nombre") }); this.objectDataSource2.Name = "objectDataSource2"; // // objectDataSource3 // this.objectDataSource3.Name = "objectDataSource3"; // // graph2 // graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Codigo_De_Sucursal")); graphGroup2.Name = "itemGroup"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Numerosucursal", Telerik.Reporting.SortDirection.Asc)); this.graph2.CategoryGroups.Add(graphGroup2); this.graph2.CoordinateSystems.Add(this.cartesianCoordinateSystem2); this.graph2.DataSource = null; this.graph2.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph2.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.3D), Telerik.Reporting.Drawing.Unit.Inch(3D)); this.graph2.Name = "graph2"; this.graph2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph2.Series.Add(this.lineSeries2); this.graph2.Series.Add(this.lineSeries3); this.graph2.Series.Add(this.barSeries1); this.graph2.SeriesGroups.Add(graphGroup7); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.5D), Telerik.Reporting.Drawing.Unit.Inch(3.3D)); this.graph2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle4.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle4.Style.LineColor = System.Drawing.Color.LightGray; graphTitle4.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle4.Text = "graph1"; this.graph2.Titles.Add(graphTitle4); // // cartesianCoordinateSystem2 // this.cartesianCoordinateSystem2.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem2.XAxis = this.graphAxis6; this.cartesianCoordinateSystem2.YAxis = this.graphAxis7; // // graphAxis6 // this.graphAxis6.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis6.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis6.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis6.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis6.MinorGridLineStyle.Visible = false; this.graphAxis6.Name = "graphAxis2"; categoryScaleCrossAxisPosition3.Position = Telerik.Reporting.GraphScaleCrossAxisPosition.AtMaximum; categoryScaleCrossAxisPosition4.Position = Telerik.Reporting.GraphScaleCrossAxisPosition.AtMinimum; categoryScale4.CrossAxisPositions.Add(categoryScaleCrossAxisPosition3); categoryScale4.CrossAxisPositions.Add(categoryScaleCrossAxisPosition4); this.graphAxis6.Scale = categoryScale4; // // graphAxis7 // this.graphAxis7.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis7.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis7.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis7.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis7.MinorGridLineStyle.Visible = false; this.graphAxis7.Name = "GraphAxis2"; this.graphAxis7.Scale = numericalScale8; // // csvDataSource1 // dataColumn6.Name = "Numerosucursal"; dataColumn7.Name = "TotalActual"; dataColumn7.Type = Telerik.Reporting.SimpleType.Integer; dataColumn8.Name = "Codigo_De_Sucursal"; dataColumn9.Name = "Nombre"; dataColumn10.Name = "TotalAnterior"; dataColumn10.Type = Telerik.Reporting.SimpleType.Integer; this.csvDataSource1.Columns.Add(dataColumn6); this.csvDataSource1.Columns.Add(dataColumn7); this.csvDataSource1.Columns.Add(dataColumn8); this.csvDataSource1.Columns.Add(dataColumn9); this.csvDataSource1.Columns.Add(dataColumn10); this.csvDataSource1.FieldSeparators = new char[] { ',' }; this.csvDataSource1.HasHeaders = true; this.csvDataSource1.Name = "csvDataSource1"; this.csvDataSource1.RecordSeparators = new char[] { '\r', '\n' }; this.csvDataSource1.Source = resources.GetString("csvDataSource1.Source"); // // lineSeries2 // this.lineSeries2.CategoryGroup = graphGroup2; this.lineSeries2.CoordinateSystem = this.cartesianCoordinateSystem2; this.lineSeries2.DataPointLabel = "= Sum(Fields.TotalActual)"; this.lineSeries2.DataPointLabelStyle.Visible = false; this.lineSeries2.DataPointStyle.Visible = true; this.lineSeries2.LegendItem.Value = "\'Sum(TotalAnterior)\'"; this.lineSeries2.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries2.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeries2.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries2.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries2.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries2.MissingValuesLineStyle.Visible = false; this.lineSeries2.Name = "lineSeries1"; graphGroup7.Name = "seriesGroup"; this.lineSeries2.SeriesGroup = graphGroup7; this.lineSeries2.Size = null; this.lineSeries2.Y = "= Sum(Fields.TotalActual)"; // // lineSeries3 // this.lineSeries3.CategoryGroup = graphGroup2; this.lineSeries3.CoordinateSystem = this.cartesianCoordinateSystem2; this.lineSeries3.DataPointLabel = "= Sum(Fields.TotalAnterior)"; this.lineSeries3.DataPointLabelStyle.Visible = false; this.lineSeries3.DataPointStyle.Visible = false; this.lineSeries3.LegendItem.Value = "\'Sum(TotalActual)\'"; this.lineSeries3.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries3.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeries3.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries3.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries3.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries3.MissingValuesLineStyle.Visible = false; this.lineSeries3.Name = "lineSeries2"; this.lineSeries3.SeriesGroup = graphGroup7; this.lineSeries3.Size = null; this.lineSeries3.Y = "= Sum(Fields.TotalAnterior)"; // // barSeries1 // this.barSeries1.CategoryGroup = graphGroup2; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem2; this.barSeries1.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelConnectorStyle.Visible = false; this.barSeries1.SeriesGroup = graphGroup7; this.barSeries1.Y = "= Fields.TotalActual"; // // Report1 // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "Report1"; this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Cm(0.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule2 }); this.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Inch; this.Width = Telerik.Reporting.Drawing.Unit.Cm(20.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn2 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn3 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn4 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn5 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.DateTimeScale dateTimeScale1 = new Telerik.Reporting.DateTimeScale(); Telerik.Reporting.DateTimeScaleCrossAxisPosition dateTimeScaleCrossAxisPosition1 = new Telerik.Reporting.DateTimeScaleCrossAxisPosition(); Telerik.Reporting.DateTimeScaleCrossAxisPosition dateTimeScaleCrossAxisPosition2 = new Telerik.Reporting.DateTimeScaleCrossAxisPosition(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.ShapeMapGroup shapeMapGroup1 = new Telerik.Reporting.ShapeMapGroup(); Telerik.Reporting.GeoLocationMapGroup geoLocationMapGroup1 = new Telerik.Reporting.GeoLocationMapGroup(); Telerik.Reporting.MapLegend mapLegend1 = new Telerik.Reporting.MapLegend(); Telerik.Reporting.MercatorProjection mercatorProjection1 = new Telerik.Reporting.MercatorProjection(); Telerik.Reporting.MapTitle mapTitle1 = new Telerik.Reporting.MapTitle(); Telerik.Reporting.Drawing.GradientPalette gradientPalette1 = new Telerik.Reporting.Drawing.GradientPalette(); Telerik.Reporting.MapGroup mapGroup1 = new Telerik.Reporting.MapGroup(); Telerik.Reporting.EsriShapeFileSourceType esriShapeFileSourceType1 = new Telerik.Reporting.EsriShapeFileSourceType(); Telerik.Reporting.MapRelationPair mapRelationPair1 = new Telerik.Reporting.MapRelationPair(); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.NavigateToReportAction navigateToReportAction2 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CryptoCurrencyInfo)); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector2 = new Telerik.Reporting.Drawing.DescendantSelector(); this.dsData = new Telerik.Reporting.CsvDataSource(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox9 = new Telerik.Reporting.TextBox(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.cartesianCoordinateSystem3 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.lineSeriesPrice = new Telerik.Reporting.LineSeries(); this.lineSeriesCoins = new Telerik.Reporting.LineSeries(); this.map2 = new Telerik.Reporting.Map(); this.shapeMapSeries1 = new Telerik.Reporting.ShapeMapSeries(); this.pointMapSeries1 = new Telerik.Reporting.PointMapSeries(); this.textBox2 = new Telerik.Reporting.TextBox(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); this.CurrencyDetails = new Telerik.Reporting.ObjectDataSource(); this.CurrenciesList = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // dsData // this.dsData.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("RiskPercent", typeof(int), "= Fields.RiskIndex/5*100") }); dataColumn1.Name = "Country"; dataColumn2.Name = "RiskIndex"; dataColumn2.Type = Telerik.Reporting.SimpleType.Float; dataColumn3.Name = "TSI"; dataColumn3.Type = Telerik.Reporting.SimpleType.Integer; dataColumn4.Name = "Lat"; dataColumn4.Type = Telerik.Reporting.SimpleType.Float; dataColumn5.Name = "Long"; dataColumn5.Type = Telerik.Reporting.SimpleType.Float; this.dsData.Columns.Add(dataColumn1); this.dsData.Columns.Add(dataColumn2); this.dsData.Columns.Add(dataColumn3); this.dsData.Columns.Add(dataColumn4); this.dsData.Columns.Add(dataColumn5); this.dsData.FieldSeparators = new char[] { ',' }; this.dsData.HasHeaders = true; this.dsData.Name = "dsData"; this.dsData.RecordSeparators = new char[] { '\r', '\n' }; this.dsData.Source = "Country,RiskIndex,TSI,Lat,Long\r\nChina,81,0,40.0, 105.737707\r\nIceland,5,0,64.8, -1" + "8.0\r\nJapan,3,0,35.435666, 148.737707\r\nCzech Republic,3,0,53.0,19.467\r\nGeorgia,2." + "4,0,38.7,47.8\r\nIndia,2,0,19,78"; this.dsData.ThousandSeparator = ""; // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.500039279460907D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox9 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.5999608039855957D), Telerik.Reporting.Drawing.Unit.Inch(0.49999991059303284D)); this.textBox9.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBox9.Value = "=\"Details for \" + ToUpper(Parameters.currencyCode.Value)"; // // detailSection1 // this.detailSection1.CanShrink = true; this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(10.500000953674316D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1, this.map2, this.textBox2, this.htmlTextBox1 }); this.detailSection1.Name = "detailSection1"; // // graph1 // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Parameters.currencyCode.Value")); typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyRawData, CSharp.ReportLibrary, Ve" + "rsion=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.graph1.Action = navigateToReportAction1; graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Date")); graphGroup1.Name = "dateGroup"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Date", Telerik.Reporting.SortDirection.Asc)); graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Date")); graphGroup2.Name = "dateGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Date", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CategoryGroups.Add(graphGroup2); colorPalette1.Colors.Add(System.Drawing.Color.DodgerBlue); colorPalette1.Colors.Add(System.Drawing.Color.MediumVioletRed); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem3); this.graph1.DataSource = this.CurrencyDetails; this.graph1.Filters.Add(new Telerik.Reporting.Filter("= Fields.Date", Telerik.Reporting.FilterOperator.GreaterThan, "= Parameters.fromDate.Value")); this.graph1.Filters.Add(new Telerik.Reporting.Filter("= Fields.Date", Telerik.Reporting.FilterOperator.LessOrEqual, "= Parameters.toDate.Value")); this.graph1.Legend.IsInsidePlotArea = true; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.TopCenter; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.graph1.Name = "graph1"; this.graph1.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph1.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Series.Add(this.lineSeriesPrice); this.graph1.Series.Add(this.lineSeriesCoins); this.graph1.SeriesGroups.Add(graphGroup3); this.graph1.SeriesGroups.Add(graphGroup4); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(10.799961090087891D), Telerik.Reporting.Drawing.Unit.Inch(2.5D)); this.graph1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle1.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle1.Style.Visible = false; graphTitle1.Text = "graph1"; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis2; this.cartesianCoordinateSystem1.YAxis = this.graphAxis1; // // graphAxis2 // this.graphAxis2.LabelFormat = "{0:MMM.yy}"; this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.Visible = false; this.graphAxis2.Name = "graphAxis2"; dateTimeScaleCrossAxisPosition1.Position = Telerik.Reporting.GraphScaleCrossAxisPosition.AtMaximum; dateTimeScaleCrossAxisPosition1.Value = new System.DateTime(((long)(0))); dateTimeScaleCrossAxisPosition2.Position = Telerik.Reporting.GraphScaleCrossAxisPosition.AtMinimum; dateTimeScaleCrossAxisPosition2.Value = new System.DateTime(((long)(0))); dateTimeScale1.CrossAxisPositions.Add(dateTimeScaleCrossAxisPosition1); dateTimeScale1.CrossAxisPositions.Add(dateTimeScaleCrossAxisPosition2); dateTimeScale1.LabelStep = 4; dateTimeScale1.LabelUnit = Telerik.Reporting.DateTimeScaleUnits.Months; dateTimeScale1.MajorStep = 4; dateTimeScale1.MajorUnit = Telerik.Reporting.DateTimeScaleUnits.Months; dateTimeScale1.MinorUnit = Telerik.Reporting.DateTimeScaleUnits.Years; this.graphAxis2.Scale = dateTimeScale1; // // graphAxis1 // this.graphAxis1.LabelFormat = "{0:$0}"; this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightSteelBlue; this.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MinorGridLineStyle.Visible = false; this.graphAxis1.Name = "graphAxis1"; this.graphAxis1.Scale = numericalScale1; this.graphAxis1.Style.Color = System.Drawing.Color.DodgerBlue; this.graphAxis1.Style.LineColor = System.Drawing.Color.DodgerBlue; // // cartesianCoordinateSystem3 // this.cartesianCoordinateSystem3.Name = "cartesianCoordinateSystem3"; this.cartesianCoordinateSystem3.XAxis = this.graphAxis2; this.cartesianCoordinateSystem3.YAxis = this.graphAxis3; // // graphAxis3 // this.graphAxis3.LabelFormat = "{0:#,##0M,,}"; this.graphAxis3.MajorGridLineStyle.LineColor = System.Drawing.Color.MistyRose; this.graphAxis3.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis3.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MinorGridLineStyle.Visible = false; this.graphAxis3.Name = "GraphAxis1"; this.graphAxis3.Scale = numericalScale2; this.graphAxis3.Style.Color = System.Drawing.Color.MediumVioletRed; this.graphAxis3.Style.LineColor = System.Drawing.Color.MediumVioletRed; // // lineSeriesPrice // this.lineSeriesPrice.CategoryGroup = graphGroup1; this.lineSeriesPrice.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeriesPrice.DataPointLabel = "= Sum(Fields.Price)"; this.lineSeriesPrice.DataPointLabelStyle.Visible = false; this.lineSeriesPrice.DataPointStyle.Visible = false; this.lineSeriesPrice.LegendItem.Value = "Price"; this.lineSeriesPrice.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeriesPrice.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeriesPrice.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesPrice.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesPrice.Name = "lineSeriesPrice"; graphGroup3.Name = "seriesGroup"; this.lineSeriesPrice.SeriesGroup = graphGroup3; this.lineSeriesPrice.Size = null; this.lineSeriesPrice.ToolTip.Text = "= Sum(Fields.Price)"; this.lineSeriesPrice.ToolTip.Title = "Price"; this.lineSeriesPrice.X = "= Fields.Date"; this.lineSeriesPrice.Y = "= Sum(Fields.Price)"; // // lineSeriesCoins // this.lineSeriesCoins.CategoryGroup = graphGroup2; this.lineSeriesCoins.CoordinateSystem = this.cartesianCoordinateSystem3; this.lineSeriesCoins.DataPointLabel = "= Fields.MarketCap"; this.lineSeriesCoins.DataPointLabelStyle.Visible = false; this.lineSeriesCoins.DataPointStyle.Visible = false; this.lineSeriesCoins.LegendItem.Value = "Market cap"; this.lineSeriesCoins.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeriesCoins.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeriesCoins.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesCoins.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesCoins.Name = "lineSeriesCoins"; graphGroup4.Name = "seriesGroup1"; this.lineSeriesCoins.SeriesGroup = graphGroup4; this.lineSeriesCoins.Size = null; this.lineSeriesCoins.ToolTip.Text = "= Fields.MarketCap"; this.lineSeriesCoins.ToolTip.Title = "Coins"; this.lineSeriesCoins.X = "= Fields.Date"; this.lineSeriesCoins.Y = "= Fields.MarketCap"; // // map2 // this.map2.Bindings.Add(new Telerik.Reporting.Binding("Visible", "= Parameters.currencyCode.Value = \"btc\"")); this.map2.ColorPalette = null; this.map2.DataSource = this.dsData; this.map2.Extent.LatitudeMax = 74.393967649013874D; this.map2.Extent.LatitudeMin = -20.886359822167741D; this.map2.Extent.LongitudeMax = 169.84247446060181D; this.map2.Extent.LongitudeMin = -40.861018896102905D; shapeMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.CNTRY_NAME")); shapeMapGroup1.Name = "categoryGroup1"; geoLocationMapGroup1.Filters.Add(new Telerik.Reporting.Filter("= Fields.Country is Null", Telerik.Reporting.FilterOperator.Equal, "=False")); geoLocationMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Country")); geoLocationMapGroup1.Name = "geoLocationMapGroup"; this.map2.GeoLocationGroups.Add(shapeMapGroup1); this.map2.GeoLocationGroups.Add(geoLocationMapGroup1); mapLegend1.IsInsidePlotArea = true; mapLegend1.Position = Telerik.Reporting.GraphItemPosition.TopCenter; mapLegend1.Style.LineColor = System.Drawing.Color.LightGray; mapLegend1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapLegend1.Title = "Mining Pools %"; mapLegend1.TitleStyle.Font.Bold = true; mapLegend1.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(6D); mapLegend1.TitleStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.Legends.Add(mapLegend1); this.map2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(2.6000001430511475D)); this.map2.Meridians.Style.LineColor = System.Drawing.Color.LightGray; this.map2.Name = "map2"; this.map2.Parallels.Style.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.map2.Projection = mercatorProjection1; this.map2.ScaleLegend.ItemStyle.BorderColor.Default = System.Drawing.Color.White; this.map2.ScaleLegend.ItemStyle.LineColor = System.Drawing.Color.DodgerBlue; this.map2.ScaleLegend.ItemStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(2D); this.map2.ScaleLegend.ItemStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.ScaleLegend.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.map2.Series.Add(this.shapeMapSeries1); this.map2.Series.Add(this.pointMapSeries1); this.map2.SeriesGroups.Add(mapGroup1); this.map2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(10.236221313476563D), Telerik.Reporting.Drawing.Unit.Cm(18.034002304077148D)); this.map2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); mapTitle1.Style.LineColor = System.Drawing.Color.LightGray; mapTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapTitle1.Text = ""; this.map2.Titles.Add(mapTitle1); // // shapeMapSeries1 // this.shapeMapSeries1.ColorData = "= Fields.RiskIndex"; gradientPalette1.BeginColor = System.Drawing.Color.FromArgb(((int)(((byte)(2)))), ((int)(((byte)(132)))), ((int)(((byte)(168))))); gradientPalette1.EndColor = System.Drawing.Color.Maroon; this.shapeMapSeries1.ColorPalette = gradientPalette1; this.shapeMapSeries1.ColorsCount = 4; this.shapeMapSeries1.DataPointLabel = "{Fields.CNTRY_NAME}\r\n({Sum(Fields.[RiskIndex])})"; this.shapeMapSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.shapeMapSeries1.DataPointLabelStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.shapeMapSeries1.DataPointLabelStyle.Visible = false; this.shapeMapSeries1.DataPointStyle.LineColor = System.Drawing.Color.Gray; this.shapeMapSeries1.DataPointStyle.Visible = true; this.shapeMapSeries1.LegendItem.Value = "= RangeMax"; this.shapeMapSeries1.Name = "shapeMapSeries1"; this.shapeMapSeries1.RangeGrouping = Telerik.Reporting.ShapeMapSeries.RangeGroupings.EqualDistribution; mapGroup1.Name = "seriesGroup1"; this.shapeMapSeries1.SeriesGroup = mapGroup1; this.shapeMapSeries1.ShapeMapGroup = shapeMapGroup1; esriShapeFileSourceType1.FileName = "./Resources/world.shp"; mapRelationPair1.AnalyticalField = "= Fields.Country"; mapRelationPair1.ShapeFileField = "= Fields.CNTRY_NAME"; esriShapeFileSourceType1.RelationPairs.Add(mapRelationPair1); this.shapeMapSeries1.SourceType = esriShapeFileSourceType1; // // pointMapSeries1 // formattingRule1.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.LessThan, "=2.4")); formattingRule1.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(153)))), ((int)(((byte)(145))))); formattingRule1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); formattingRule2.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.GreaterOrEqual, "=2.4")); formattingRule2.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(198)))), ((int)(((byte)(79))))); formattingRule2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); formattingRule3.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.GreaterOrEqual, "=3.5")); formattingRule3.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(163)))), ((int)(((byte)(79))))); formattingRule3.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); formattingRule4.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.GreaterOrEqual, "=4")); formattingRule4.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(134)))), ((int)(((byte)(132))))); formattingRule4.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); this.pointMapSeries1.DataPointConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1, formattingRule2, formattingRule3, formattingRule4 }); this.pointMapSeries1.DataPointLabel = "=Format(\'\r\nRegion: {0}\r\nPools: {1}%, \r\nPH/s: {2}\', \r\nFields.Country, Fields.RiskI" + "ndex, 12000*Fields.RiskIndex/100)\r\n"; this.pointMapSeries1.DataPointLabelAlignment = Telerik.Reporting.LineDataPointLabelAlignment.Center; this.pointMapSeries1.DataPointLabelStyle.Color = System.Drawing.Color.White; this.pointMapSeries1.DataPointLabelStyle.Font.Bold = false; this.pointMapSeries1.DataPointStyle.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); this.pointMapSeries1.GeoLocationGroup = geoLocationMapGroup1; this.pointMapSeries1.Latitude = "= Fields.Lat"; this.pointMapSeries1.LegendItem.Style.Visible = false; this.pointMapSeries1.Longitude = "= Fields.Long"; this.pointMapSeries1.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Cm(4D); this.pointMapSeries1.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Cm(4D); this.pointMapSeries1.MarkerType = Telerik.Reporting.DataPointMarkerType.Circle; this.pointMapSeries1.SeriesGroup = mapGroup1; this.pointMapSeries1.Size = "= Fields.TSI"; // // textBox2 // typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Parameters.currencyCode.Value")); typeReportSource2.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyRawData, CSharp.ReportLibrary, Ve" + "rsion=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction2.ReportSource = typeReportSource2; this.textBox2.Action = navigateToReportAction2; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.5000789165496826D), Telerik.Reporting.Drawing.Unit.Inch(9.90000057220459D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.7999998927116394D), Telerik.Reporting.Drawing.Unit.Inch(0.19995880126953125D)); this.textBox2.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(64)))), ((int)(((byte)(97))))); this.textBox2.Style.Font.Underline = true; this.textBox2.Value = "Raw data."; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(9.7000818252563477D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.4999606609344482D), Telerik.Reporting.Drawing.Unit.Inch(0.79987972974777222D)); this.htmlTextBox1.Value = resources.GetString("htmlTextBox1.Value"); // // CurrencyDetails // this.CurrencyDetails.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("MarketCapInThous", typeof(uint), "= Fields.MarketCap/1000") }); this.CurrencyDetails.DataMember = "GetDetails"; this.CurrencyDetails.DataSource = typeof(Telerik.Reporting.Examples.CSharp.CryptoDataResolver); this.CurrencyDetails.Name = "CurrencyDetails"; this.CurrencyDetails.Parameters.AddRange(new Telerik.Reporting.ObjectDataSourceParameter[] { new Telerik.Reporting.ObjectDataSourceParameter("currencyCode", typeof(string), "= Parameters.currencyCode.Value") }); // // CurrenciesList // this.CurrenciesList.DataMember = "GetData"; this.CurrenciesList.DataSource = typeof(Telerik.Reporting.Examples.CSharp.CryptoDataResolver); this.CurrenciesList.Name = "CurrenciesList"; this.CurrenciesList.Parameters.AddRange(new Telerik.Reporting.ObjectDataSourceParameter[] { new Telerik.Reporting.ObjectDataSourceParameter("forDate", typeof(System.DateTime), "=AddDays(today(),-2)") }); // // CryptoCurrencyInfo // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detailSection1 }); this.Name = "CryptoCurrencyDetails"; this.PageSettings.ColumnCount = 1; this.PageSettings.ColumnSpacing = Telerik.Reporting.Drawing.Unit.Inch(0D); this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = true; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.CurrenciesList; reportParameter1.AvailableValues.DisplayMember = "= Fields.Name"; reportParameter1.AvailableValues.ValueMember = "= Fields.Code"; reportParameter1.Name = "currencyCode"; reportParameter1.Text = "Crypto Currency"; reportParameter1.Value = "btc"; reportParameter1.Visible = true; reportParameter2.AutoRefresh = true; reportParameter2.Name = "fromDate"; reportParameter2.Text = "From Date"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter2.Value = "= AddYears(today(), - 1)"; reportParameter2.Visible = true; reportParameter3.AutoRefresh = true; reportParameter3.Name = "toDate"; reportParameter3.Text = "To Date"; reportParameter3.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter3.Value = "=today()"; reportParameter3.Visible = true; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.Style.Font.Name = "Segoe UI"; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.Table), "Apex.TableNormal") }); styleRule3.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule3.Style.Color = System.Drawing.Color.Black; styleRule3.Style.Font.Name = "Segoe UI"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Apex.TableBody") }); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1 }); styleRule4.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); descendantSelector2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Apex.TableHeader") }); styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector2 }); styleRule5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(103)))), ((int)(((byte)(109))))); styleRule5.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(185)))), ((int)(((byte)(102))))); styleRule5.Style.Font.Name = "Segoe UI"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(10.800000190734863D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.ToggleVisibilityAction toggleVisibilityAction1 = new Telerik.Reporting.ToggleVisibilityAction(); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.ToggleVisibilityAction toggleVisibilityAction2 = new Telerik.Reporting.ToggleVisibilityAction(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn2 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn3 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup7 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup8 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup9 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector2 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector3 = new Telerik.Reporting.Drawing.DescendantSelector(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.detailReport = new Telerik.Reporting.DetailSection(); this.csvDataSource1 = new Telerik.Reporting.CsvDataSource(); this.table1 = new Telerik.Reporting.Table(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox15 = new Telerik.Reporting.TextBox(); this.textBox19 = new Telerik.Reporting.TextBox(); this.textBox20 = new Telerik.Reporting.TextBox(); this.textBox21 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox17 // tableGroup1.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup1.Name = "detailTableGroup"; toggleVisibilityAction1.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { tableGroup1 }); this.textBox17.Action = toggleVisibilityAction1; this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(1.109D)); this.textBox17.StyleName = "Civic.TableGroup"; this.textBox17.Value = "= Fields.detail"; // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); this.textBox5.StyleName = "Civic.TableHeader"; this.textBox5.Value = "subdetail"; // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); // // textBox16 // this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox16.StyleName = "Civic.TableGroup"; // // textBox11 // toggleVisibilityAction2.DisplayExpandedMark = false; tableGroup3.Name = "group4"; tableGroup2.ChildGroups.Add(tableGroup3); tableGroup2.ChildGroups.Add(tableGroup1); tableGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.detail")); tableGroup2.Name = "detailOuter"; tableGroup2.ReportItem = this.textBox17; tableGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.detail", Telerik.Reporting.SortDirection.Asc)); tableGroup2.Visible = false; toggleVisibilityAction2.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { tableGroup2 }); this.textBox11.Action = toggleVisibilityAction2; this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(3.032D), Telerik.Reporting.Drawing.Unit.Cm(1.609D)); this.textBox11.StyleName = "Civic.TableGroup"; this.textBox11.Value = "=Fields.group"; // // detailReport // this.detailReport.Height = Telerik.Reporting.Drawing.Unit.Inch(0.873D); this.detailReport.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.table1 }); this.detailReport.Name = "detailReport"; // // csvDataSource1 // dataColumn1.Name = "group"; dataColumn2.Name = "detail"; dataColumn3.Name = "subdetail"; this.csvDataSource1.Columns.Add(dataColumn1); this.csvDataSource1.Columns.Add(dataColumn2); this.csvDataSource1.Columns.Add(dataColumn3); this.csvDataSource1.FieldSeparators = new char[] { ',' }; this.csvDataSource1.HasHeaders = true; this.csvDataSource1.Name = "csvDataSource1"; this.csvDataSource1.RecordSeparators = new char[] { '\r', '\n' }; this.csvDataSource1.Source = "group,detail,subdetail\r\n1,aaa,1\r\n1,aaa,2\r\n1,aaa,2\r\n1,bbb,1\r\n1,bbb,2\r\n1,bbb,3\r\n1,c" + "cc,1\r\n1,ccc,2\r\n2,www,1\r\n2,www,2\r\n2,eee,1\r\n2,eee,2\r\n2,rrr,1\r\n2,rrr,2\r\n3,3,1\r\n3,3," + "2\r\n3,3,3\r\n3,5,1\r\n3,5,2"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Cm(2.99D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Cm(2.99D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Cm(2.99D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.5D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.5D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.609D))); this.table1.Body.SetCellContent(2, 0, this.textBox6); this.table1.Body.SetCellContent(2, 1, this.textBox8); this.table1.Body.SetCellContent(2, 2, this.textBox10); this.table1.Body.SetCellContent(0, 0, this.textBox13); this.table1.Body.SetCellContent(0, 1, this.textBox14); this.table1.Body.SetCellContent(0, 2, this.textBox15); this.table1.Body.SetCellContent(1, 0, this.textBox19); this.table1.Body.SetCellContent(1, 1, this.textBox20); this.table1.Body.SetCellContent(1, 2, this.textBox21); tableGroup4.Name = "tableGroup"; tableGroup4.ReportItem = this.textBox5; tableGroup5.Name = "tableGroup1"; tableGroup5.ReportItem = this.textBox7; tableGroup6.Name = "tableGroup2"; tableGroup6.ReportItem = this.textBox9; this.table1.ColumnGroups.Add(tableGroup4); this.table1.ColumnGroups.Add(tableGroup5); this.table1.ColumnGroups.Add(tableGroup6); this.table1.Corner.SetCellContent(0, 0, this.textBox12); this.table1.Corner.SetCellContent(0, 1, this.textBox18); this.table1.DataSource = this.csvDataSource1; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox12, this.textBox18, this.textBox13, this.textBox14, this.textBox15, this.textBox19, this.textBox20, this.textBox21, this.textBox6, this.textBox8, this.textBox10, this.textBox5, this.textBox7, this.textBox9, this.textBox11, this.textBox16, this.textBox17 }); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.table1.Name = "table1"; tableGroup9.Name = "group2"; tableGroup8.ChildGroups.Add(tableGroup9); tableGroup8.Name = "group3"; tableGroup8.ReportItem = this.textBox16; tableGroup7.ChildGroups.Add(tableGroup8); tableGroup7.ChildGroups.Add(tableGroup2); tableGroup7.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.group")); tableGroup7.Name = "group1"; tableGroup7.ReportItem = this.textBox11; tableGroup7.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.group", Telerik.Reporting.SortDirection.Asc)); this.table1.RowGroups.Add(tableGroup7); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.002D), Telerik.Reporting.Drawing.Unit.Cm(2.218D)); this.table1.ItemDataBinding += new System.EventHandler(this.table1_ItemDataBinding); // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); this.textBox6.StyleName = "Civic.TableGroup"; this.textBox6.Value = "= Fields.subdetail"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); // // textBox13 // this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox13.StyleName = "Civic.TableGroup"; this.textBox13.Value = ""; // // textBox14 // this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox14.StyleName = ""; // // textBox15 // this.textBox15.Name = "textBox15"; this.textBox15.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox15.StyleName = ""; // // textBox19 // this.textBox19.Name = "textBox19"; this.textBox19.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox19.StyleName = "Civic.TableGroup"; // // textBox20 // this.textBox20.Name = "textBox20"; this.textBox20.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox20.StyleName = ""; // // textBox21 // this.textBox21.Name = "textBox21"; this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.99D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.textBox21.StyleName = ""; // // textBox12 // this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(3.032D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); this.textBox12.StyleName = "Civic.TableHeader"; this.textBox12.Value = "group"; // // textBox18 // this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(0.609D)); this.textBox18.StyleName = "Civic.TableHeader"; this.textBox18.Value = "detail"; // // Report1 // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detailReport }); this.Name = "Report1"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.Name = "Expand"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.Boolean; reportParameter1.Value = "False"; reportParameter1.Visible = true; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.Table), "Civic.TableNormal") }); styleRule2.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule2.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule2.Style.Color = System.Drawing.Color.Black; styleRule2.Style.Font.Name = "Georgia"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Civic.TableBody") }); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1 }); styleRule3.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule3.Style.Font.Name = "Georgia"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); descendantSelector2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Civic.TableHeader") }); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector2 }); styleRule4.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(174)))), ((int)(((byte)(173))))); styleRule4.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule4.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(228)))), ((int)(((byte)(238)))), ((int)(((byte)(243))))); styleRule4.Style.Font.Name = "Georgia"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; descendantSelector3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Civic.TableGroup") }); styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector3 }); styleRule5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); styleRule5.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule5.Style.Font.Name = "Georgia"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }