/// <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 graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(4.064000129699707D), Telerik.Reporting.Drawing.Unit.Cm(0.76199996471405029D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(11.975000381469727D), Telerik.Reporting.Drawing.Unit.Cm(1.0160000324249268D)); this.textBox1.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox1.Style.Color = System.Drawing.Color.Gray; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Name = "Arial"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox1.Value = "REPORTE INVENTARIO - CODIGO POR SUCURSALES"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(4.6000003814697266D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1 }); this.detail.Name = "detail"; // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field1")); graphGroup1.Name = "categoryGroup1"; this.graph1.CategoryGroups.Add(graphGroup1); colorPalette1.Colors.Add(System.Drawing.Color.DodgerBlue); colorPalette1.Colors.Add(System.Drawing.Color.Black); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))); colorPalette1.Colors.Add(System.Drawing.Color.Maroon); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))))); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); 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(0.40000000596046448D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); 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.barSeries1); graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field1")); graphGroup3.Name = "seriesGroup1"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.graph1.SeriesGroups.Add(graphGroup3); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(4.7000002861022949D), Telerik.Reporting.Drawing.Unit.Inch(2.2000000476837158D)); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis1; this.cartesianCoordinateSystem1.YAxis = this.graphAxis2; // // graphAxis1 // this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; 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 = categoryScale1; // // graphAxis2 // 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"; this.graphAxis2.Scale = numericalScale1; // // barSeries1 // this.barSeries1.CategoryGroup = graphGroup1; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; this.barSeries1.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.LegendItem.Value = "=Fields.Field3"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field1")); graphGroup2.Name = "seriesGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.SeriesGroup = graphGroup2; this.barSeries1.Y = "=Sum(Fields.Field2)"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageFooterSection1.Name = "pageFooterSection1"; // // objectDataSource1 // this.objectDataSource1.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(string), "Fields.Base"), new Telerik.Reporting.CalculatedField("Field2", typeof(int), "Fields.Cantidad"), new Telerik.Reporting.CalculatedField("Field3", typeof(string), "Fields.Articulo") }); this.objectDataSource1.Name = "objectDataSource1"; // // RptSucursales // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "RptSucursales"; 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; 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.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Cm; 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.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle2 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale2 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RptComparison)); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.lineSeries4 = new Telerik.Reporting.LineSeries(); this.graph2 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem2 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.graphAxis4 = new Telerik.Reporting.GraphAxis(); this.barSeries2 = new Telerik.Reporting.BarSeries(); this.lineSeries1 = new Telerik.Reporting.LineSeries(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); this.objectDataSource2 = new Telerik.Reporting.ObjectDataSource(); this.salesData = new Telerik.Reporting.SqlDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.521D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.textBox4 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(5.533D), Telerik.Reporting.Drawing.Unit.Cm(0.096D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox1.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox1.Style.Color = System.Drawing.Color.Gray; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Name = "Arial"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox1.Value = "REPORTE VENTAS"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(5.533D), Telerik.Reporting.Drawing.Unit.Cm(0.662D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox4.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox4.Style.Color = System.Drawing.Color.Gray; this.textBox4.Style.Font.Bold = true; this.textBox4.Style.Font.Name = "Arial"; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox4.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox4.Value = ""; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(9.15D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox2, this.textBox3, this.graph1, this.graph2 }); this.detail.Name = "detail"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(1.27D), Telerik.Reporting.Drawing.Unit.Cm(0.455D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox2.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox2.Style.Color = System.Drawing.Color.Gray; this.textBox2.Style.Font.Bold = true; this.textBox2.Style.Font.Name = "Arial"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox2.Value = "*Menudeo"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(1.27D), Telerik.Reporting.Drawing.Unit.Cm(11.377D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox3.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox3.Style.Color = System.Drawing.Color.Gray; this.textBox3.Style.Font.Bold = true; this.textBox3.Style.Font.Name = "Arial"; this.textBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox3.Value = "*Mayoreo"; // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Codigo_De_Sucursal")); graphGroup1.Name = "itemGroup"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Numerosucursal", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.DataSource = null; 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(0.3D), Telerik.Reporting.Drawing.Unit.Inch(0.479D)); 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.barSeries1); this.graph1.Series.Add(this.lineSeries4); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.6D), Telerik.Reporting.Drawing.Unit.Inch(4D)); 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.Text = ""; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis1; this.cartesianCoordinateSystem1.YAxis = this.graphAxis2; // // graphAxis1 // this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; 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 = categoryScale1; // // graphAxis2 // this.graphAxis2.LabelFormat = "{0:C2}"; 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"; this.graphAxis2.Scale = numericalScale1; // // barSeries1 // this.barSeries1.CategoryGroup = graphGroup1; colorPalette1.Colors.Add(System.Drawing.Color.LimeGreen); this.barSeries1.ColorPalette = colorPalette1; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; 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.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries1.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.barSeries1.LegendItem.Value = "2019"; graphGroup2.Name = "seriesGroup"; this.barSeries1.SeriesGroup = graphGroup2; this.barSeries1.Y = "= Fields.TotalActual"; // // lineSeries4 // this.lineSeries4.CategoryGroup = graphGroup1; this.lineSeries4.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries4.DataPointLabel = "= Sum(Fields.TotalAnterior)"; this.lineSeries4.DataPointLabelFormat = "{0:C2}"; this.lineSeries4.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries4.DataPointLabelStyle.Visible = true; this.lineSeries4.DataPointStyle.Visible = true; this.lineSeries4.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.lineSeries4.LegendItem.Value = "2018"; this.lineSeries4.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries4.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeries4.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries4.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries4.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries4.MissingValuesLineStyle.Visible = false; this.lineSeries4.Name = "lineSeries2"; this.lineSeries4.SeriesGroup = graphGroup2; this.lineSeries4.Size = null; this.lineSeries4.Y = "= Sum(Fields.TotalAnterior)"; // // graph2 // graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Codigo_De_Sucursal")); graphGroup3.Name = "itemGroup"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Numerosucursal", Telerik.Reporting.SortDirection.Asc)); this.graph2.CategoryGroups.Add(graphGroup3); 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(4.702D)); 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.barSeries2); this.graph2.Series.Add(this.lineSeries1); this.graph2.SeriesGroups.Add(graphGroup4); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.6D), Telerik.Reporting.Drawing.Unit.Inch(4D)); 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); graphTitle2.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle2.Style.LineColor = System.Drawing.Color.LightGray; graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle2.Text = ""; this.graph2.Titles.Add(graphTitle2); // // cartesianCoordinateSystem2 // this.cartesianCoordinateSystem2.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem2.XAxis = this.graphAxis3; this.cartesianCoordinateSystem2.YAxis = this.graphAxis4; // // 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 = categoryScale2; // // graphAxis4 // this.graphAxis4.LabelFormat = "{0:C2}"; 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 = numericalScale2; // // barSeries2 // this.barSeries2.CategoryGroup = graphGroup3; this.barSeries2.CoordinateSystem = this.cartesianCoordinateSystem2; this.barSeries2.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries2.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries2.DataPointLabelConnectorStyle.Visible = false; this.barSeries2.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries2.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.barSeries2.LegendItem.Value = "2019"; graphGroup4.Name = "seriesGroup"; this.barSeries2.SeriesGroup = graphGroup4; this.barSeries2.Y = "= Fields.TotalActual"; // // lineSeries1 // this.lineSeries1.CategoryGroup = graphGroup3; this.lineSeries1.CoordinateSystem = this.cartesianCoordinateSystem2; this.lineSeries1.DataPointLabel = "= Sum(Fields.TotalAnterior)"; this.lineSeries1.DataPointLabelFormat = "{0:C2}"; this.lineSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries1.DataPointLabelStyle.Visible = true; this.lineSeries1.DataPointStyle.Visible = false; this.lineSeries1.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.lineSeries1.LegendItem.Value = "2018"; 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.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries1.MissingValuesLineStyle.Visible = false; this.lineSeries1.Name = "lineSeries2"; this.lineSeries1.SeriesGroup = graphGroup4; this.lineSeries1.Size = null; this.lineSeries1.Y = "= Sum(Fields.TotalAnterior)"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.521D); 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"; // // objectDataSource2 // this.objectDataSource2.Name = "objectDataSource2"; // // 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"); // // RptComparison // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "RptComparison"; 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; 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.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Cm; 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.SortingAction sortingAction1 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); 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.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.NavigateToReportAction navigateToReportAction2 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.SortingAction sortingAction2 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction3 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction4 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction5 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction6 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.NavigateToReportAction navigateToReportAction3 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource3 = new Telerik.Reporting.TypeReportSource(); 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.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.textBox8 = new Telerik.Reporting.TextBox(); this.table1 = new Telerik.Reporting.Table(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox15 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.CurrenciesData = new Telerik.Reporting.ObjectDataSource(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox22 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox7 = new Telerik.Reporting.TextBox(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.textBox6 = new Telerik.Reporting.TextBox(); this.graph1 = new Telerik.Reporting.Graph(); this.polarCoordinateSystem1 = new Telerik.Reporting.PolarCoordinateSystem(); this.angularAxis = new Telerik.Reporting.GraphAxis(); this.radialAxis1 = new Telerik.Reporting.GraphAxis(); this.algorithmSeries = new Telerik.Reporting.BarSeries(); this.codeSeries = new Telerik.Reporting.BarSeries(); this.textBox10 = new Telerik.Reporting.TextBox(); this.reportFooterSection1 = new Telerik.Reporting.ReportFooterSection(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox8 // sortingAction1.SortingExpression = "= Fields.Code"; sortingAction1.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox8.Action = sortingAction1; this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.681D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox8.StyleName = "Apex.TableHeader"; this.textBox8.Value = "Code"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.681D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.093D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.028D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.682D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.925D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.186D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.252D))); this.table1.Body.SetCellContent(0, 0, this.textBox13); this.table1.Body.SetCellContent(0, 1, this.textBox9); this.table1.Body.SetCellContent(0, 3, this.textBox14); this.table1.Body.SetCellContent(0, 4, this.textBox5); this.table1.Body.SetCellContent(0, 5, this.textBox15); this.table1.Body.SetCellContent(0, 2, this.textBox12); tableGroup2.Name = "group4"; tableGroup2.ReportItem = this.textBox8; tableGroup3.Name = "group5"; tableGroup3.ReportItem = this.textBox1; tableGroup4.Name = "group7"; tableGroup4.ReportItem = this.textBox11; tableGroup5.Name = "group8"; tableGroup5.ReportItem = this.textBox2; tableGroup6.Name = "group9"; tableGroup6.ReportItem = this.textBox22; tableGroup7.Name = "group10"; tableGroup7.ReportItem = this.textBox3; tableGroup1.ChildGroups.Add(tableGroup2); tableGroup1.ChildGroups.Add(tableGroup3); tableGroup1.ChildGroups.Add(tableGroup4); tableGroup1.ChildGroups.Add(tableGroup5); tableGroup1.ChildGroups.Add(tableGroup6); tableGroup1.ChildGroups.Add(tableGroup7); tableGroup1.Name = "group"; tableGroup1.ReportItem = this.textBox16; this.table1.ColumnGroups.Add(tableGroup1); this.table1.DataSource = this.CurrenciesData; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox13, this.textBox9, this.textBox12, this.textBox14, this.textBox5, this.textBox15, this.textBox16, this.textBox8, this.textBox1, this.textBox11, this.textBox2, this.textBox22, this.textBox3 }); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.7D)); this.table1.Name = "table1"; tableGroup8.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup8.Name = "detail"; this.table1.RowGroups.Add(tableGroup8); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.595D), Telerik.Reporting.Drawing.Unit.Inch(0.746D)); this.table1.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.MarketCap", Telerik.Reporting.SortDirection.Desc)); this.table1.StyleName = "Apex.TableNormal"; // // textBox13 // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Fields.Code")); typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyInfo, CSharp.ReportLibrary, Versi" + "on=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.textBox13.Action = navigateToReportAction1; this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.681D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox13.StyleName = "Apex.TableBody"; this.textBox13.Value = "= ToUpper(Fields.Code)"; // // textBox9 // typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Fields.Code")); typeReportSource2.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyInfo, CSharp.ReportLibrary, Versi" + "on=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction2.ReportSource = typeReportSource2; this.textBox9.Action = navigateToReportAction2; this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.093D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox9.StyleName = "Apex.TableBody"; this.textBox9.Value = "= Fields.Name"; // // textBox14 // this.textBox14.Action = navigateToReportAction2; this.textBox14.Format = "{0:# ##0k}"; this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.682D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox14.StyleName = "Apex.TableBody"; this.textBox14.Value = "= Fields.Coins/1000"; // // textBox5 // this.textBox5.Action = navigateToReportAction2; this.textBox5.Format = "{0:$#,##.00}"; this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.925D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox5.StyleName = "Apex.TableBody"; this.textBox5.Value = "= Fields.Price"; // // textBox15 // this.textBox15.Action = navigateToReportAction2; this.textBox15.Format = "{0:$#,##0M,,}"; this.textBox15.Name = "textBox15"; this.textBox15.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.186D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox15.StyleName = "Apex.TableBody"; this.textBox15.Value = "= Fields.MarketCap"; // // textBox12 // this.textBox12.Action = navigateToReportAction2; this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.028D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox12.StyleName = "Apex.TableBody"; this.textBox12.Value = "= Fields.Algorithm"; // // CurrenciesData // this.CurrenciesData.DataMember = "GetData"; this.CurrenciesData.DataSource = typeof(Telerik.Reporting.Examples.CSharp.CryptoDataResolver); this.CurrenciesData.Name = "CurrenciesData"; this.CurrenciesData.Parameters.AddRange(new Telerik.Reporting.ObjectDataSourceParameter[] { new Telerik.Reporting.ObjectDataSourceParameter("forDate", typeof(System.DateTime), "= Parameters.date.Value") }); // // textBox16 // this.textBox16.Format = "{0:dd.MMM.yy}"; this.textBox16.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.595D), Telerik.Reporting.Drawing.Unit.Inch(0.294D)); this.textBox16.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); this.textBox16.StyleName = "Apex.TableHeader"; this.textBox16.Value = "=Fields.Date"; // // textBox1 // sortingAction2.SortingExpression = "= Fields.Name"; sortingAction2.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox1.Action = sortingAction2; this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.093D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox1.StyleName = "Apex.TableHeader"; this.textBox1.Value = "Currency"; // // textBox11 // sortingAction3.SortingExpression = "= Fields.Algorithm"; sortingAction3.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox11.Action = sortingAction3; this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.028D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox11.StyleName = "Apex.TableHeader"; this.textBox11.Value = "Algorithm"; // // textBox2 // sortingAction4.SortingExpression = "= Fields.Coins"; sortingAction4.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox2.Action = sortingAction4; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.682D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox2.StyleName = "Apex.TableHeader"; this.textBox2.Value = "Coins"; // // textBox22 // sortingAction5.SortingExpression = "= Fields.Price"; sortingAction5.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox22.Action = sortingAction5; this.textBox22.Name = "textBox22"; this.textBox22.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.925D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox22.StyleName = "Apex.TableHeader"; this.textBox22.Value = "Price"; // // textBox3 // sortingAction6.SortingExpression = "= Fields.MarketCap"; sortingAction6.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox3.Action = sortingAction6; this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.186D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox3.StyleName = "Apex.TableHeader"; this.textBox3.Value = "Market Cap"; // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.5D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox7 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox7 // this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.4D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox7.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(24D); this.textBox7.Value = "Crypto Currencies"; // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(6.5D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6, this.graph1, this.table1, this.textBox10 }); this.detailSection1.Name = "detailSection1"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.95D), Telerik.Reporting.Drawing.Unit.Inch(0.4D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.5D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox6.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(230)))), ((int)(((byte)(242))))); this.textBox6.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(23)))), ((int)(((byte)(54)))), ((int)(((byte)(93))))); this.textBox6.Style.Font.Bold = true; this.textBox6.TextWrap = false; this.textBox6.Value = "Click on a currency for more details."; // // graph1 // graphGroup1.Name = "categoryGroup"; this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CoordinateSystems.Add(this.polarCoordinateSystem1); this.graph1.DataSource = this.CurrenciesData; this.graph1.Legend.IsInsidePlotArea = true; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.BottomLeft; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph1.Legend.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(0D); this.graph1.Legend.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Legend.Title = "Algorithm"; this.graph1.Legend.TitleStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.graph1.Legend.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(20D); this.graph1.Legend.TitleStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(20D); this.graph1.Legend.TitleStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(-10D); this.graph1.Legend.TitleStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.graph1.Legend.TitleStyle.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.graph1.Legend.TitleStyle.Visible = true; this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(8.89D), Telerik.Reporting.Drawing.Unit.Cm(0.508D)); 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.algorithmSeries); this.graph1.Series.Add(this.codeSeries); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.SeriesGroups.Add(graphGroup3); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(20.066D), Telerik.Reporting.Drawing.Unit.Cm(16.002D)); 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.Cm(0D); graphTitle1.Style.Visible = false; graphTitle1.Text = "graph1"; this.graph1.Titles.Add(graphTitle1); // // polarCoordinateSystem1 // this.polarCoordinateSystem1.AngularAxis = this.angularAxis; this.polarCoordinateSystem1.Name = "polarCoordinateSystem1"; this.polarCoordinateSystem1.RadialAxis = this.radialAxis1; // // angularAxis // this.angularAxis.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.angularAxis.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.angularAxis.MajorGridLineStyle.Visible = false; this.angularAxis.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.angularAxis.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.angularAxis.MinorGridLineStyle.Visible = false; this.angularAxis.Name = "angularAxis"; this.angularAxis.Scale = numericalScale1; this.angularAxis.Style.Visible = false; // // radialAxis1 // this.radialAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.radialAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.radialAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.radialAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.radialAxis1.MinorGridLineStyle.Visible = false; this.radialAxis1.Name = "radialAxis1"; numericalScale2.Minimum = 0D; this.radialAxis1.Scale = numericalScale2; this.radialAxis1.Style.Visible = false; // // algorithmSeries // this.algorithmSeries.ArrangeByAxis = this.radialAxis1; this.algorithmSeries.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.algorithmSeries.CategoryGroup = graphGroup1; colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(163)))), ((int)(((byte)(79)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(198)))), ((int)(((byte)(79)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(134)))), ((int)(((byte)(132)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(188)))), ((int)(((byte)(219)))))); this.algorithmSeries.ColorPalette = colorPalette1; this.algorithmSeries.CoordinateSystem = this.polarCoordinateSystem1; this.algorithmSeries.DataPointLabel = "= Fields.Algorithm"; this.algorithmSeries.DataPointLabelAlignment = Telerik.Reporting.BarDataPointLabelAlignment.Center; this.algorithmSeries.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.algorithmSeries.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.algorithmSeries.DataPointLabelConnectorStyle.Visible = false; this.algorithmSeries.DataPointLabelOffset = Telerik.Reporting.Drawing.Unit.Mm(5D); this.algorithmSeries.DataPointLabelStyle.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.algorithmSeries.DataPointLabelStyle.Visible = true; this.algorithmSeries.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.algorithmSeries.DataPointStyle.Visible = true; this.algorithmSeries.LegendItem.Value = "= Fields.Algorithm"; this.algorithmSeries.Name = "algorithmSeries"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Algorithm")); graphGroup2.Name = "algorithmGroup"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Algorithm", Telerik.Reporting.SortDirection.Asc)); this.algorithmSeries.SeriesGroup = graphGroup2; this.algorithmSeries.ToolTip.Text = "= Format(\'{0:P}\', Sum(Fields.MarketCap) / CDbl(Exec(\'graph1\', Sum(Fields.MarketCa" + "p))))"; this.algorithmSeries.ToolTip.Title = "= Fields.Algorithm"; this.algorithmSeries.X = "= Sum(Fields.MarketCap)"; this.algorithmSeries.Y = "=0.8"; this.algorithmSeries.Y0 = "=0"; // // codeSeries // this.codeSeries.ArrangeByAxis = this.radialAxis1; this.codeSeries.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.codeSeries.CategoryGroup = graphGroup1; colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(78)))), ((int)(((byte)(78)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(71)))), ((int)(((byte)(50)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(117)))), ((int)(((byte)(151)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(67)))), ((int)(((byte)(86)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(172)))), ((int)(((byte)(0)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(67)))), ((int)(((byte)(73)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(202)))), ((int)(((byte)(132)))))); this.codeSeries.ColorPalette = colorPalette2; this.codeSeries.CoordinateSystem = this.polarCoordinateSystem1; this.codeSeries.DataPointLabel = "= Format(\"{0} {1:P2}\", ToUpper(Fields.Code), Sum(Fields.MarketCap) / CDbl(Exec(\'g" + "raph1\', Sum(Fields.MarketCap))))"; this.codeSeries.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.codeSeries.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.codeSeries.DataPointLabelConnectorStyle.Visible = false; this.codeSeries.DataPointLabelOffset = Telerik.Reporting.Drawing.Unit.Mm(2D); this.codeSeries.LegendItem.Style.Visible = false; this.codeSeries.LegendItem.Value = "= Fields.Code"; this.codeSeries.Name = "codeSeries"; typeReportSource3.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Fields.Code")); typeReportSource3.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyInfo, CSharp.ReportLibrary, Versi" + "on=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction3.ReportSource = typeReportSource3; graphGroup3.Action = navigateToReportAction3; graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Code")); graphGroup3.Name = "codeGroup"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Algorithm", Telerik.Reporting.SortDirection.Asc)); this.codeSeries.SeriesGroup = graphGroup3; this.codeSeries.ToolTip.Text = "= Format(\'{0:P}\', Sum(Fields.MarketCap) / CDbl(Exec(\'graph1\', Sum(Fields.MarketCa" + "p))))"; this.codeSeries.ToolTip.Title = "= Fields.Name"; this.codeSeries.X = "=Sum( Fields.MarketCap)"; this.codeSeries.Y = "=1"; this.codeSeries.Y0 = "=0.8"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.2D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); this.textBox10.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBox10.Value = "Compare crypto currencies based on market cap."; // // reportFooterSection1 // this.reportFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.5D); 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.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.1D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.762D), Telerik.Reporting.Drawing.Unit.Inch(0.4D)); this.htmlTextBox1.Value = "Reference:<br /><a href=\"https://coinmetrics.io/data-downloads/\">https://coinmetr" + "ics.io/data-downloads/</a>"; // // CryptoCurrencies // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detailSection1, this.reportFooterSection1 }); this.Name = "BlockchainCurrencies"; 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.1D), Telerik.Reporting.Drawing.Unit.Inch(0.1D), Telerik.Reporting.Drawing.Unit.Inch(0.1D), Telerik.Reporting.Drawing.Unit.Inch(0.1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; reportParameter1.AutoRefresh = true; reportParameter1.Name = "date"; reportParameter1.Text = "For Date:"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter1.Value = "= Today()"; reportParameter1.Visible = true; this.ReportParameters.Add(reportParameter1); 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(11D); 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.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); 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.Black; styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); 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)(88)))), ((int)(((byte)(88)))), ((int)(((byte)(88))))); styleRule5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); 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.White; styleRule5.Style.Font.Name = "Segoe UI"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); 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(11.4D); ((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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesByRegionDashboard)); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); 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.GenericTileProvider genericTileProvider1 = new Telerik.Reporting.GenericTileProvider(); Telerik.Reporting.MapTitle mapTitle1 = new Telerik.Reporting.MapTitle(); Telerik.Reporting.MapGroup mapGroup1 = new Telerik.Reporting.MapGroup(); Telerik.Reporting.MapGroup mapGroup2 = new Telerik.Reporting.MapGroup(); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.DateTimeScale dateTimeScale1 = new Telerik.Reporting.DateTimeScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette3 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle2 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup5 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette4 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle3 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.NumericalScale numericalScale3 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale2 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup6 = new Telerik.Reporting.GraphGroup(); 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.ReportParameter reportParameter4 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); this.yearsData = new Telerik.Reporting.SqlDataSource(); this.countryData = new Telerik.Reporting.SqlDataSource(); this.productCategoriesData = new Telerik.Reporting.SqlDataSource(); this.salesData = new Telerik.Reporting.SqlDataSource(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.map1 = new Telerik.Reporting.Map(); this.pieMapSeries1 = new Telerik.Reporting.PieMapSeries(); 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.lineSeries1 = new Telerik.Reporting.LineSeries(); this.graph2 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem2 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.graphAxis4 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.graph3 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem3 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis5 = new Telerik.Reporting.GraphAxis(); this.graphAxis6 = new Telerik.Reporting.GraphAxis(); this.barSeries2 = new Telerik.Reporting.BarSeries(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // yearsData // this.yearsData.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.yearsData.Name = "yearsData"; this.yearsData.SelectCommand = "SELECT DISTINCT DatePart(YEAR, soh.OrderDate) AS Year\r\nFROM Sales.SalesOrderHeade" + "r AS soh\r\nORDER BY DatePart(YEAR, soh.OrderDate) ASC"; // // countryData // this.countryData.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.countryData.Name = "countryData"; this.countryData.SelectCommand = resources.GetString("countryData.SelectCommand"); // // productCategoriesData // this.productCategoriesData.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.productCategoriesData.Name = "productCategoriesData"; this.productCategoriesData.SelectCommand = "SELECT ProductCategoryID, [Name] FROM Production.ProductCategory"; // // salesData // this.salesData.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.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"); // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(8.070866584777832D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.map1, this.graph1, this.graph2, this.graph3, this.textBox1, this.textBox2 }); this.detailSection1.Name = "detailSection1"; this.detailSection1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Mm(5D); this.detailSection1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Mm(5D); this.detailSection1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Mm(5D); this.detailSection1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Mm(5D); // // map1 // colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(80)))), ((int)(((byte)(77)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(119)))), ((int)(((byte)(44)))), ((int)(((byte)(42)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); this.map1.ColorPalette = colorPalette1; this.map1.DataSource = this.salesData; this.map1.Filters.Add(new Telerik.Reporting.Filter("=Fields.Country", Telerik.Reporting.FilterOperator.In, "=@country")); this.map1.Filters.Add(new Telerik.Reporting.Filter("=Fields.OrderDate.Year", Telerik.Reporting.FilterOperator.In, "=@year")); geoLocationMapGroup1.Filters.Add(new Telerik.Reporting.Filter("=Sum(Fields.LineTotal)", Telerik.Reporting.FilterOperator.TopN, "=CInt(Parameters.topN.Value)")); geoLocationMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.State")); geoLocationMapGroup1.Name = "stateGroup"; geoLocationMapGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.State", Telerik.Reporting.SortDirection.Asc)); this.map1.GeoLocationGroups.Add(geoLocationMapGroup1); mapLegend1.IsInsidePlotArea = false; mapLegend1.Position = Telerik.Reporting.GraphItemPosition.BottomLeft; mapLegend1.Style.LineColor = System.Drawing.Color.LightGray; mapLegend1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapLegend1.Style.Visible = true; this.map1.Legends.Add(mapLegend1); this.map1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.50010007619857788D), Telerik.Reporting.Drawing.Unit.Cm(3.0002996921539307D)); this.map1.Meridians.Style.LineColor = System.Drawing.Color.LightGray; this.map1.Name = "map1"; this.map1.Parallels.Style.LineColor = System.Drawing.Color.LightGray; this.map1.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.map1.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.map1.Projection = mercatorProjection1; this.map1.ScaleLegend.ItemStyle.BorderColor.Default = System.Drawing.Color.White; this.map1.ScaleLegend.ItemStyle.Font.Name = "Segoe UI Light"; this.map1.ScaleLegend.ItemStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.map1.ScaleLegend.ItemStyle.LineColor = System.Drawing.Color.DodgerBlue; this.map1.ScaleLegend.ItemStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(2D); this.map1.ScaleLegend.ItemStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map1.ScaleLegend.ItemStyle.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map1.ScaleLegend.ItemStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map1.ScaleLegend.ScaleUnits = Telerik.Reporting.DistanceUnitType.Imperial; this.map1.ScaleLegend.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.map1.Series.Add(this.pieMapSeries1); this.map1.SeriesGroups.Add(mapGroup1); this.map1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.499899864196777D), Telerik.Reporting.Drawing.Unit.Cm(11.499997138977051D)); this.map1.Style.Font.Name = "Segoe UI Light"; this.map1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); genericTileProvider1.Attribution = "© OpenStreetMap contributors"; genericTileProvider1.LogoUrl = "http://wiki.openstreetmap.org/w/images/thumb/7/79/Public-images-osm_logo.svg/32px-Public-images-osm_logo.svg.png"; genericTileProvider1.UrlSubdomains.Add("a"); genericTileProvider1.UrlSubdomains.Add("b"); genericTileProvider1.UrlSubdomains.Add("c"); genericTileProvider1.UrlTemplate = "http://{subdomain}.tile.openstreetmap.org/{zoom}/{X}/{Y}.png"; this.map1.TileProvider = genericTileProvider1; mapTitle1.Position = Telerik.Reporting.GraphItemPosition.TopLeft; mapTitle1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(152)))), ((int)(((byte)(152))))); mapTitle1.Style.Font.Bold = false; mapTitle1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); mapTitle1.Style.LineColor = System.Drawing.Color.LightGray; mapTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapTitle1.Style.Visible = true; mapTitle1.Text = "SALES VOLUME BY COUNTRY"; this.map1.Titles.Add(mapTitle1); // // pieMapSeries1 // this.pieMapSeries1.DataPointLabel = "=Format(\'{0:N4}\', Sum(Fields.LineTotal)/1e6)"; this.pieMapSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.pieMapSeries1.DataPointLabelStyle.Visible = false; this.pieMapSeries1.GeoLocationGroup = geoLocationMapGroup1; this.pieMapSeries1.Latitude = "=(Fields.Lat)"; this.pieMapSeries1.LegendItem.MarkStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0D); this.pieMapSeries1.LegendItem.Style.BackgroundColor = System.Drawing.Color.Transparent; this.pieMapSeries1.LegendItem.Style.LineColor = System.Drawing.Color.Transparent; this.pieMapSeries1.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.pieMapSeries1.LegendItem.Value = "= Fields.ProductSubCategory"; this.pieMapSeries1.Longitude = "=(Fields.Long)"; this.pieMapSeries1.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Mm(15D); this.pieMapSeries1.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Mm(8D); mapGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductSubCategory")); mapGroup2.Name = "ProductSubCategoryGroup"; mapGroup2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.SortDirection.Asc)); mapGroup1.ChildGroups.Add(mapGroup2); mapGroup1.Name = "seriesGroup"; this.pieMapSeries1.SeriesGroup = mapGroup1; this.pieMapSeries1.Size = "=Sum(Fields.LineTotal)"; this.pieMapSeries1.ToolTip.Title = "= Format('{0}, {1}', Fields.State, Fields.Country)"; this.pieMapSeries1.ToolTip.Text = "=Format('Total: ${0:0.00}M', Sum(Fields.LineTotal)/1e6)"; // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Month")); graphGroup1.Name = "orderDateMonthGroup"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Month", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); 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 = this.salesData; this.graph1.Filters.Add(new Telerik.Reporting.Filter("=Fields.Country", Telerik.Reporting.FilterOperator.In, "=@country")); this.graph1.Filters.Add(new Telerik.Reporting.Filter("=Fields.OrderDate.Year", Telerik.Reporting.FilterOperator.In, "=@year")); 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.50010007619857788D), Telerik.Reporting.Drawing.Unit.Cm(14.500496864318848D)); 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(graphGroup2); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.499899864196777D), 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); graphTitle1.Position = Telerik.Reporting.GraphItemPosition.TopLeft; graphTitle1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(152)))), ((int)(((byte)(152))))); graphTitle1.Style.Font.Bold = false; graphTitle1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); graphTitle1.Text = "SALES VOLUME, MONTHLY (in millions USD)"; 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}"; 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"; dateTimeScale1.BaseUnit = Telerik.Reporting.DateTimeScaleUnits.Months; this.graphAxis2.Scale = dateTimeScale1; this.graphAxis2.Title = ""; this.graphAxis2.TitlePlacement = Telerik.Reporting.GraphAxisTitlePlacement.AtMaximum; // // graphAxis1 // this.graphAxis1.LabelFormat = "${0}M"; 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 = numericalScale1; 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; // // lineSeries1 // this.lineSeries1.CategoryGroup = graphGroup1; this.lineSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries1.DataPointLabel = "=Sum(Fields.LineTotal)"; 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.Name = "lineSeries1"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Year")); graphGroup2.Name = "orderDateYearGroup"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.SortDirection.Asc)); this.lineSeries1.SeriesGroup = graphGroup2; this.lineSeries1.Size = null; this.lineSeries1.X = "=Date(1, Fields.OrderDate.Month, 1)"; this.lineSeries1.Y = "=Sum(Fields.LineTotal)/1e6"; // // graph2 // graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductCategory")); graphGroup3.Name = "productCategoryGroup"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductCategory", Telerik.Reporting.SortDirection.Asc)); this.graph2.CategoryGroups.Add(graphGroup3); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(192)))), ((int)(((byte)(80)))), ((int)(((byte)(77)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(119)))), ((int)(((byte)(44)))), ((int)(((byte)(42)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); this.graph2.ColorPalette = colorPalette3; this.graph2.CoordinateSystems.Add(this.cartesianCoordinateSystem2); this.graph2.DataSource = this.salesData; this.graph2.Filters.Add(new Telerik.Reporting.Filter("=Fields.Country", Telerik.Reporting.FilterOperator.In, "=@country")); this.graph2.Filters.Add(new Telerik.Reporting.Filter("=Fields.OrderDate.Year", Telerik.Reporting.FilterOperator.In, "=@year")); this.graph2.Legend.Position = Telerik.Reporting.GraphItemPosition.RightCenter; this.graph2.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph2.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph2.Legend.Style.Visible = true; this.graph2.Legend.Width = Telerik.Reporting.Drawing.Unit.Cm(3D); this.graph2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(15.000298500061035D), Telerik.Reporting.Drawing.Unit.Cm(14.500496864318848D)); this.graph2.Name = "graph2"; this.graph2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph2.Series.Add(this.barSeries1); this.graph2.SeriesGroups.Add(graphGroup4); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.499902725219727D), Telerik.Reporting.Drawing.Unit.Cm(5.5D)); 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); graphTitle2.Position = Telerik.Reporting.GraphItemPosition.TopLeft; graphTitle2.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(152)))), ((int)(((byte)(152))))); graphTitle2.Style.Font.Bold = false; graphTitle2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); graphTitle2.Style.LineColor = System.Drawing.Color.LightGray; graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); graphTitle2.Text = "SALES VOLUME BY PRODUCT CATEGORY (in millions USD)"; this.graph2.Titles.Add(graphTitle2); // // cartesianCoordinateSystem2 // this.cartesianCoordinateSystem2.Name = "cartesianCoordinateSystem2"; this.cartesianCoordinateSystem2.XAxis = this.graphAxis3; this.cartesianCoordinateSystem2.YAxis = this.graphAxis4; // // graphAxis3 // this.graphAxis3.LabelFormat = "${0}M"; 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 = "graphAxis3"; this.graphAxis3.Scale = numericalScale2; this.graphAxis3.Title = ""; this.graphAxis3.TitlePlacement = Telerik.Reporting.GraphAxisTitlePlacement.AtMaximum; // // graphAxis4 // this.graphAxis4.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis4.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis4.MajorGridLineStyle.Visible = false; 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 = "graphAxis4"; this.graphAxis4.Scale = categoryScale1; this.graphAxis4.Size = Telerik.Reporting.Drawing.Unit.Cm(2.5D); this.graphAxis4.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); // // barSeries1 // this.barSeries1.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked; this.barSeries1.CategoryGroup = graphGroup3; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem2; this.barSeries1.DataPointLabel = "=Sum(Fields.LineTotal)"; this.barSeries1.DataPointLabelStyle.Visible = false; this.barSeries1.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.barSeries1.DataPointStyle.Visible = true; this.barSeries1.LegendItem.Style.BackgroundColor = System.Drawing.Color.Transparent; this.barSeries1.LegendItem.Style.LineColor = System.Drawing.Color.Transparent; this.barSeries1.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.barSeries1.LegendItem.Value = "=Fields.OrderDate.Year"; this.barSeries1.Name = "barSeries1"; graphGroup4.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Year")); graphGroup4.Name = "orderDateYearGroup1"; graphGroup4.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.SeriesGroup = graphGroup4; this.barSeries1.X = "=Sum(Fields.LineTotal)/1e6"; this.barSeries1.ToolTip.Title = "=Format('Year {0}', Fields.OrderDate.Year)"; this.barSeries1.ToolTip.Text = "=Format('${0:0.00}M', Sum(Fields.LineTotal)/1e6)"; // // graph3 // graphGroup5.Filters.Add(new Telerik.Reporting.Filter("=Sum(Fields.LineTotal)", Telerik.Reporting.FilterOperator.TopN, "=CInt(Parameters.topN.Value)")); graphGroup5.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.State")); graphGroup5.Name = "stateGroup1"; graphGroup5.Sortings.Add(new Telerik.Reporting.Sorting("=Sum(Fields.LineTotal)", Telerik.Reporting.SortDirection.Asc)); this.graph3.CategoryGroups.Add(graphGroup5); colorPalette4.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(192)))), ((int)(((byte)(80)))), ((int)(((byte)(77)))))); colorPalette4.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette4.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette4.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(119)))), ((int)(((byte)(44)))), ((int)(((byte)(42)))))); colorPalette4.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); colorPalette4.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); this.graph3.ColorPalette = colorPalette4; this.graph3.CoordinateSystems.Add(this.cartesianCoordinateSystem3); this.graph3.DataSource = this.salesData; this.graph3.Filters.Add(new Telerik.Reporting.Filter("=Fields.Country", Telerik.Reporting.FilterOperator.In, "=@country")); this.graph3.Filters.Add(new Telerik.Reporting.Filter("=Fields.OrderDate.Year", Telerik.Reporting.FilterOperator.In, "=@year")); this.graph3.Legend.IsInsidePlotArea = false; this.graph3.Legend.Position = Telerik.Reporting.GraphItemPosition.BottomLeft; this.graph3.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph3.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph3.Legend.Style.Visible = true; this.graph3.Legend.Width = Telerik.Reporting.Drawing.Unit.Cm(3D); this.graph3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(15D), Telerik.Reporting.Drawing.Unit.Cm(3.000300407409668D)); this.graph3.Name = "graph3"; this.graph3.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph3.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph3.Series.Add(this.barSeries2); this.graph3.SeriesGroups.Add(graphGroup6); this.graph3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.500203132629395D), Telerik.Reporting.Drawing.Unit.Cm(11.499997138977051D)); this.graph3.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph3.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.Size = Telerik.Reporting.Drawing.Unit.Point(9D); graphTitle3.Style.LineColor = System.Drawing.Color.LightGray; graphTitle3.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); graphTitle3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(26D); graphTitle3.Text = "TOP {Parameters.topN.Value} STATES"; this.graph3.Titles.Add(graphTitle3); // // cartesianCoordinateSystem3 // this.cartesianCoordinateSystem3.Name = "cartesianCoordinateSystem3"; this.cartesianCoordinateSystem3.XAxis = this.graphAxis5; this.cartesianCoordinateSystem3.YAxis = this.graphAxis6; // // graphAxis5 // this.graphAxis5.LabelFormat = "${0}M"; 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 = "graphAxis5"; this.graphAxis5.Scale = numericalScale3; // // graphAxis6 // this.graphAxis6.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis6.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis6.MajorGridLineStyle.Visible = false; 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.MinSize = Telerik.Reporting.Drawing.Unit.Cm(2.7999999523162842D); this.graphAxis6.Name = "graphAxis6"; categoryScale2.SpacingSlotCount = 0.5D; this.graphAxis6.Scale = categoryScale2; this.graphAxis6.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(0D); this.graphAxis6.Style.Visible = true; // // barSeries2 // this.barSeries2.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked; this.barSeries2.CategoryGroup = graphGroup5; this.barSeries2.CoordinateSystem = this.cartesianCoordinateSystem3; this.barSeries2.DataPointLabel = "=Sum(Fields.LineTotal)/1e6"; this.barSeries2.DataPointLabelStyle.Visible = false; this.barSeries2.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.barSeries2.DataPointStyle.Visible = true; this.barSeries2.LegendItem.Style.BackgroundColor = System.Drawing.Color.Transparent; this.barSeries2.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries2.LegendItem.Style.LineColor = System.Drawing.Color.Transparent; this.barSeries2.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.barSeries2.LegendItem.Value = "=Fields.ProductSubCategory"; this.barSeries2.Name = "barSeries2"; graphGroup6.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductSubCategory")); graphGroup6.Name = "productCategoryGroup1"; graphGroup6.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.SortDirection.Asc)); this.barSeries2.SeriesGroup = graphGroup6; this.barSeries2.X = "=Sum(Fields.LineTotal)/1e6"; this.barSeries2.ToolTip.Title = "=Format('Sales in {0}, {1}', Fields.State, Fields.Country)"; this.barSeries2.ToolTip.Text = "=Format('{0}: ${1:0.00}M', Fields.ProductSubCategory, Sum(Fields.LineTotal)/1e6)"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.19688987731933594D), Telerik.Reporting.Drawing.Unit.Inch(0.19688980281352997D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(11.417283058166504D), Telerik.Reporting.Drawing.Unit.Inch(0.590511679649353D)); this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); this.textBox1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(34D); this.textBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.textBox1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.textBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox1.StyleName = "Header"; this.textBox1.Value = "{Parameters.category.Label} Sales Distribution By Region"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.49959805607795715D), Telerik.Reporting.Drawing.Unit.Cm(2.0001997947692871D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(29.000308990478516D), Telerik.Reporting.Drawing.Unit.Cm(0.99989980459213257D)); this.textBox2.Style.Font.Bold = false; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBox2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.textBox2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox2.Value = "REGION: {Join(\', \', Parameters.country.Value)}\r\nPERIOD: {Join(\', \', Parameters.ye" + "ar.Value)}"; // // SalesByRegionDashboard // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detailSection1 }); this.Name = "SalesByRegionDashboard"; this.PageSettings.Landscape = false; 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.Custom; this.PageSettings.PaperSize = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(14D), Telerik.Reporting.Drawing.Unit.Mm(297D)); reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.yearsData; reportParameter1.AvailableValues.ValueMember = "= Fields.Year"; reportParameter1.MultiValue = true; reportParameter1.Name = "year"; reportParameter1.Text = "Year"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter1.Value = "=Array(2003, 2004)"; reportParameter1.Visible = true; reportParameter2.AutoRefresh = true; reportParameter2.AvailableValues.DataSource = this.countryData; reportParameter2.AvailableValues.ValueMember = "= Fields.Country"; reportParameter2.MultiValue = true; reportParameter2.Name = "country"; reportParameter2.Text = "Country"; reportParameter2.Value = "=Array(\'United States\', \'Canada\')"; reportParameter2.Visible = true; reportParameter3.AutoRefresh = true; reportParameter3.AvailableValues.DataSource = this.productCategoriesData; reportParameter3.AvailableValues.DisplayMember = "= Fields.Name"; reportParameter3.AvailableValues.ValueMember = "= Fields.ProductCategoryID"; reportParameter3.Name = "category"; reportParameter3.Text = "Category"; reportParameter3.Value = "=1"; reportParameter4.AutoRefresh = true; reportParameter4.Name = "topN"; reportParameter4.Text = "Top ¹ States"; reportParameter4.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter4.Value = "12"; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.ReportParameters.Add(reportParameter4); this.Style.BackgroundColor = System.Drawing.Color.White; this.Style.Font.Name = "Segoe UI Light"; 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.TocText = "Sales By Region"; this.Width = Telerik.Reporting.Drawing.Unit.Inch(11.81102466583252D); ((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 graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.graph2 = new Telerik.Reporting.Graph(); this.polarCoordinateSystem1 = new Telerik.Reporting.PolarCoordinateSystem(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(6.35D), Telerik.Reporting.Drawing.Unit.Cm(0.762D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(8.382D), Telerik.Reporting.Drawing.Unit.Cm(1.016D)); this.textBox1.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox1.Style.Color = System.Drawing.Color.Gray; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Name = "Arial"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox1.Value = "REPORTE INVENTARIO - POR LINEAS"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(4.5D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph2 }); this.detail.Name = "detail"; // // graph2 // graphGroup1.Name = "categoryGroup1"; this.graph2.CategoryGroups.Add(graphGroup1); colorPalette1.Colors.Add(System.Drawing.Color.DodgerBlue); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))))); this.graph2.ColorPalette = colorPalette1; this.graph2.CoordinateSystems.Add(this.polarCoordinateSystem1); this.graph2.Legend.IsInsidePlotArea = true; 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.Cm(3.556D), Telerik.Reporting.Drawing.Unit.Cm(1.27D)); 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.barSeries1); this.graph2.SeriesGroups.Add(graphGroup2); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.986D), Telerik.Reporting.Drawing.Unit.Cm(5.842D)); // // polarCoordinateSystem1 // this.polarCoordinateSystem1.AngularAxis = this.graphAxis2; this.polarCoordinateSystem1.Name = "polarCoordinateSystem1"; this.polarCoordinateSystem1.RadialAxis = this.graphAxis1; // // graphAxis2 // 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"; this.graphAxis2.Scale = numericalScale1; this.graphAxis2.Style.Visible = false; // // graphAxis1 // this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; 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"; categoryScale1.SpacingSlotCount = 0D; this.graphAxis1.Scale = categoryScale1; this.graphAxis1.Style.Visible = false; // // barSeries1 // this.barSeries1.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.barSeries1.CategoryGroup = graphGroup1; this.barSeries1.CoordinateSystem = this.polarCoordinateSystem1; this.barSeries1.DataPointLabel = "=CDbl(Fields.Field1) / CDbl(Exec(\'graph2\', Sum(Fields.Field1)))"; this.barSeries1.DataPointLabelAlignment = Telerik.Reporting.BarDataPointLabelAlignment.Center; this.barSeries1.DataPointLabelAngle = 1; this.barSeries1.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelFormat = "{0:0.00%}"; this.barSeries1.DataPointLabelStyle.Visible = true; this.barSeries1.LegendItem.Value = "=Fields.Field2"; graphGroup2.Filters.Add(new Telerik.Reporting.Filter("= Sum(Fields.Field1)", Telerik.Reporting.FilterOperator.TopN, "10")); graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Field3")); graphGroup2.Name = "seriesGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Sum(Fields.Field1)", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.SeriesGroup = graphGroup2; this.barSeries1.X = "= sum(Fields.Field1)"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageFooterSection1.Name = "pageFooterSection1"; // // objectDataSource1 // this.objectDataSource1.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(int), "Fields.Cantidad"), new Telerik.Reporting.CalculatedField("Field2", typeof(string), "Fields.Linea"), new Telerik.Reporting.CalculatedField("Field3", typeof(string), "Fields.Grupo") }); this.objectDataSource1.Name = "objectDataSource1"; // // RptMarca // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "RptMarca"; 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; 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.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Cm; 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.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeSalesSummary)); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle2 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale2 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.Drawing.ColorPalette colorPalette3 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); 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.TableGroup tableGroup10 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup11 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup12 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = 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(); this.textBoxTableTitle = new Telerik.Reporting.TextBox(); this.textBoxCategoryAmount = new Telerik.Reporting.TextBox(); this.textBoxCategory = new Telerik.Reporting.TextBox(); this.textBoxSalesOrderNumber = new Telerik.Reporting.TextBox(); this.textBoxOrderTotal = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBoxEmployeeSalesTotal = new Telerik.Reporting.TextBox(); this.textBoxTotalLabel = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.textBoxLogo = new Telerik.Reporting.TextBox(); this.textBoxDataRange = new Telerik.Reporting.TextBox(); this.textBoxReportEmployee = new Telerik.Reporting.TextBox(); this.shape3 = new Telerik.Reporting.Shape(); this.Employees = new Telerik.Reporting.SqlDataSource(); this.detail = new Telerik.Reporting.DetailSection(); this.panelWrapper = new Telerik.Reporting.Panel(); 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.mainDataSource = new Telerik.Reporting.SqlDataSource(); this.lineSeries1 = new Telerik.Reporting.AreaSeries(); this.graph2 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem3 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis6 = new Telerik.Reporting.GraphAxis(); this.graphAxis5 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.crosstabEmployeeSales = new Telerik.Reporting.Crosstab(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBoxTableTitle // this.textBoxTableTitle.Name = "textBoxTableTitle"; this.textBoxTableTitle.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0799999237060547D), Telerik.Reporting.Drawing.Unit.Inch(0.47999998927116394D)); this.textBoxTableTitle.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTableTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); this.textBoxTableTitle.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0.079999998211860657D); this.textBoxTableTitle.Value = "{Parameters.ReportDate.Value.ToString(\"MMMM yyyy\")} Order Summary"; // // textBoxCategoryAmount // this.textBoxCategoryAmount.Format = "{0:N2}"; this.textBoxCategoryAmount.Name = "textBoxCategoryAmount"; this.textBoxCategoryAmount.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.75D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxCategoryAmount.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxCategoryAmount.Value = "=Sum(Fields.LineTotal)"; // // textBoxCategory // this.textBoxCategory.Name = "textBoxCategory"; this.textBoxCategory.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.130000114440918D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxCategory.Value = "=Fields.Category"; // // textBoxSalesOrderNumber // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "=Fields.SalesOrderNumber")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ForYear", "=Parameters.ReportDate.Value.Year")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ForMonth", "=Parameters.ReportDate.Value.Month")); typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.Invoice, CSharp.ReportLibrary, Version=1.0.0.0," + " Culture=neutral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.textBoxSalesOrderNumber.Action = navigateToReportAction1; this.textBoxSalesOrderNumber.Name = "textBoxSalesOrderNumber"; this.textBoxSalesOrderNumber.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2100000381469727D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxSalesOrderNumber.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(105)))), ((int)(((byte)(104))))); this.textBoxSalesOrderNumber.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.05000000074505806D); this.textBoxSalesOrderNumber.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; this.textBoxSalesOrderNumber.Value = "=Fields.SalesOrderNumber"; // // textBoxOrderTotal // this.textBoxOrderTotal.Format = "{0:N2}"; this.textBoxOrderTotal.Name = "textBoxOrderTotal"; this.textBoxOrderTotal.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.75D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxOrderTotal.Style.BorderColor.Default = System.Drawing.Color.Black; this.textBoxOrderTotal.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.textBoxOrderTotal.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxOrderTotal.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxOrderTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxOrderTotal.Value = "=Sum(Fields.LineTotal)"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.130000114440918D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBox4.Style.BorderColor.Default = System.Drawing.Color.Black; this.textBox4.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.textBox4.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox12 // this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2100000381469727D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBox12.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; // // textBoxEmployeeSalesTotal // this.textBoxEmployeeSalesTotal.Format = "{0:N2}"; this.textBoxEmployeeSalesTotal.Name = "textBoxEmployeeSalesTotal"; this.textBoxEmployeeSalesTotal.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.75D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxEmployeeSalesTotal.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxEmployeeSalesTotal.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.textBoxEmployeeSalesTotal.Style.Font.Bold = true; this.textBoxEmployeeSalesTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxEmployeeSalesTotal.Value = "=Sum(Fields.LineTotal)"; // // textBoxTotalLabel // this.textBoxTotalLabel.Name = "textBoxTotalLabel"; this.textBoxTotalLabel.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.130000114440918D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxTotalLabel.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalLabel.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.textBoxTotalLabel.Value = "Total:"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2100000381469727D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); // // groupFooterSection1 // this.groupFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1272023469209671D); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxLogo, this.textBoxDataRange, this.textBoxReportEmployee, this.shape3 }); this.groupHeaderSection1.Name = "groupHeaderSection1"; this.groupHeaderSection1.PrintOnEveryPage = true; // // textBoxLogo // this.textBoxLogo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.textBoxLogo.Name = "textBoxLogo"; this.textBoxLogo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.1972219944000244D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBoxLogo.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(47)))), ((int)(((byte)(11))))); this.textBoxLogo.Style.Font.Bold = true; this.textBoxLogo.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBoxLogo.Value = "SALES REPORT"; // // textBoxDataRange // this.textBoxDataRange.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.6000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBoxDataRange.Name = "textBoxDataRange"; this.textBoxDataRange.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.4999597072601318D), Telerik.Reporting.Drawing.Unit.Inch(0.19837446510791779D)); this.textBoxDataRange.Style.Font.Bold = true; this.textBoxDataRange.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBoxDataRange.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxDataRange.Value = "=Parameters.ReportDate.Value.ToString(\'MMM yyyy\')"; // // textBoxReportEmployee // this.textBoxReportEmployee.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.20011806488037109D)); this.textBoxReportEmployee.Name = "textBoxReportEmployee"; this.textBoxReportEmployee.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.60000002384185791D)); this.textBoxReportEmployee.StyleName = "Header"; this.textBoxReportEmployee.Value = "=Parameters.Employee.Label"; // // shape3 // this.shape3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Left | Telerik.Reporting.AnchoringStyles.Right))); this.shape3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.80019682645797729D)); this.shape3.Name = "shape3"; this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Point(2D)); this.shape3.Stretch = true; this.shape3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D); this.shape3.Style.BorderWidth.Top = Telerik.Reporting.Drawing.Unit.Point(1.5D); this.shape3.Style.Color = System.Drawing.Color.Transparent; // // Employees // this.Employees.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.Employees.Name = "Employees"; this.Employees.SelectCommand = resources.GetString("Employees.SelectCommand"); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(6.8000006675720215D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panelWrapper }); this.detail.KeepTogether = false; this.detail.Name = "detail"; // // panelWrapper // this.panelWrapper.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1, this.graph2, this.crosstabEmployeeSales }); this.panelWrapper.KeepTogether = false; this.panelWrapper.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9378803194267675E-05D), Telerik.Reporting.Drawing.Unit.Inch(7.8678131103515625E-05D)); this.panelWrapper.Name = "panelWrapper"; this.panelWrapper.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000394821167D), Telerik.Reporting.Drawing.Unit.Inch(6.79992151260376D)); // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Month")); graphGroup1.Label = "= Fields.OrderDate.ToString(\"MMMM\")"; graphGroup1.Name = "orderDate.MonthGroup1"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Month", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(172)))), ((int)(((byte)(198)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(106)))), ((int)(((byte)(124)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.DataSource = this.mainDataSource; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.RightCenter; 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(3.9458274841308594E-05D), 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.lineSeries1); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(2.4000000953674316D)); this.graph1.Style.Font.Name = "Segoe UI"; 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.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle1.Text = "Yearly Sales Comparison"; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis2; this.cartesianCoordinateSystem1.YAxis = this.graphAxis1; // // graphAxis2 // this.graphAxis2.LabelAngle = -90; this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MajorGridLineStyle.Visible = true; this.graphAxis2.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; 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"; this.graphAxis2.Scale = categoryScale1; this.graphAxis2.Style.Font.Name = "Segoe UI"; this.graphAxis2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.graphAxis2.Style.Visible = true; // // graphAxis1 // this.graphAxis1.LabelFormat = "{0:C0}K"; 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.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; 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.Font.Name = "Segoe UI"; this.graphAxis1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.graphAxis1.Style.Visible = true; // // mainDataSource // this.mainDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.mainDataSource.Name = "mainDataSource"; this.mainDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ReportYear", System.Data.DbType.String, null), new Telerik.Reporting.SqlDataSourceParameter("@ReportMonth", System.Data.DbType.String, null), new Telerik.Reporting.SqlDataSourceParameter("@EmployeeID", System.Data.DbType.Int32, "=Parameters.Employee.Value") }); this.mainDataSource.SelectCommand = resources.GetString("mainDataSource.SelectCommand"); // // lineSeries1 // this.lineSeries1.AreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries1.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked; this.lineSeries1.CategoryGroup = graphGroup1; this.lineSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries1.DataPointLabel = "=Sum(Fields.LineTotal)"; this.lineSeries1.DataPointLabelStyle.Visible = false; this.lineSeries1.DataPointStyle.Visible = false; this.lineSeries1.LegendItem.Value = "=Fields.OrderDate.Year"; this.lineSeries1.MarkerSize = Telerik.Reporting.Drawing.Unit.Mm(2D); this.lineSeries1.Name = "lineSeries1"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Year")); graphGroup2.Name = "orderDate.YearGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.SortDirection.Asc)); this.lineSeries1.SeriesGroup = graphGroup2; this.lineSeries1.Y = "=ISNULL(Sum(Fields.LineTotal), 0) / 1000.0"; // // graph2 // graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Category")); graphGroup3.Name = "categoryGroup1"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Category", Telerik.Reporting.SortDirection.Asc)); this.graph2.CategoryGroups.Add(graphGroup3); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(172)))), ((int)(((byte)(198)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(106)))), ((int)(((byte)(124)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); this.graph2.ColorPalette = colorPalette2; this.graph2.CoordinateSystems.Add(this.cartesianCoordinateSystem3); this.graph2.DataSource = this.mainDataSource; this.graph2.Legend.IsInsidePlotArea = false; this.graph2.Legend.Position = Telerik.Reporting.GraphItemPosition.RightCenter; this.graph2.Legend.Style.Font.Name = "Segoe UI"; 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(0D), Telerik.Reporting.Drawing.Unit.Inch(2.5999214649200439D)); 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.barSeries1); this.graph2.SeriesGroups.Add(graphGroup4); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(2.4000000953674316D)); 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); graphTitle2.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle2.Style.Font.Name = "Segoe UI"; graphTitle2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); graphTitle2.Style.LineColor = System.Drawing.Color.LightGray; graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle2.Text = "Category Sales Comparison"; this.graph2.Titles.Add(graphTitle2); // // cartesianCoordinateSystem3 // this.cartesianCoordinateSystem3.Name = "cartesianCoordinateSystem3"; this.cartesianCoordinateSystem3.XAxis = this.graphAxis6; this.cartesianCoordinateSystem3.YAxis = this.graphAxis5; // // graphAxis6 // this.graphAxis6.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis6.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis6.MajorGridLineStyle.Visible = false; this.graphAxis6.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; 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 = "graphAxis6"; this.graphAxis6.Scale = categoryScale2; this.graphAxis6.Style.Font.Name = "Segoe UI"; this.graphAxis6.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); // // graphAxis5 // this.graphAxis5.LabelFormat = "{0:C0}K"; this.graphAxis5.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis5.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis5.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; 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 = "graphAxis5"; this.graphAxis5.Scale = numericalScale2; this.graphAxis5.Style.Font.Name = "Segoe UI"; this.graphAxis5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); // // barSeries1 // this.barSeries1.CategoryGroup = graphGroup3; colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(172)))), ((int)(((byte)(198)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(106)))), ((int)(((byte)(124)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); this.barSeries1.ColorPalette = colorPalette3; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem3; this.barSeries1.DataPointLabel = "=Sum(Fields.LineTotal)"; this.barSeries1.DataPointLabelStyle.Visible = false; this.barSeries1.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.barSeries1.DataPointStyle.Visible = true; this.barSeries1.LegendItem.Value = "=Fields.OrderDate.Year"; graphGroup4.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Year")); graphGroup4.Name = "orderDate.YearGroup2"; graphGroup4.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.SeriesGroup = graphGroup4; this.barSeries1.Y = "=Sum(Fields.LineTotal) / 1000.0"; // // crosstabEmployeeSales // this.crosstabEmployeeSales.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.48000001907348633D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.24000000953674316D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.24000000953674316D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.24000000953674316D))); this.crosstabEmployeeSales.Body.SetCellContent(1, 0, this.textBox6); this.crosstabEmployeeSales.Body.SetCellContent(0, 0, this.textBox5); this.crosstabEmployeeSales.Body.SetCellContent(2, 0, this.textBox9); this.crosstabEmployeeSales.Body.SetCellContent(3, 0, this.textBox13); this.crosstabEmployeeSales.ColumnGroups.Add(tableGroup1); this.crosstabEmployeeSales.DataSource = this.mainDataSource; this.crosstabEmployeeSales.Filters.Add(new Telerik.Reporting.Filter("= Fields.OrderDate.Year", Telerik.Reporting.FilterOperator.Equal, "=Parameters.ReportDate.Value.Year")); this.crosstabEmployeeSales.Filters.Add(new Telerik.Reporting.Filter("= Fields.OrderDate.Month", Telerik.Reporting.FilterOperator.Equal, "=Parameters.ReportDate.Value.Month")); this.crosstabEmployeeSales.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6, this.textBox5, this.textBox9, this.textBox13, this.textBoxTableTitle, this.textBoxSalesOrderNumber, this.textBoxCategory, this.textBoxCategoryAmount, this.textBox12, this.textBox4, this.textBoxOrderTotal, this.textBox10, this.textBoxTotalLabel, this.textBoxEmployeeSalesTotal }); this.crosstabEmployeeSales.KeepTogether = false; this.crosstabEmployeeSales.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(5.4999213218688965D)); this.crosstabEmployeeSales.Name = "crosstabEmployeeSales"; this.crosstabEmployeeSales.NoDataMessage = "= \"No Sales for \" + Parameters.ReportDate.Value.ToString(\"MMMM, yyyy\")"; this.crosstabEmployeeSales.NoDataStyle.Color = System.Drawing.Color.Red; tableGroup2.Name = "RowGroup"; tableGroup2.ReportItem = this.textBoxTableTitle; tableGroup2.Sortings.Add(new Telerik.Reporting.Sorting("1", Telerik.Reporting.SortDirection.Asc)); tableGroup6.Name = "Detail"; tableGroup6.ReportItem = this.textBoxCategoryAmount; tableGroup5.ChildGroups.Add(tableGroup6); tableGroup5.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Category")); tableGroup5.Name = "Category"; tableGroup5.ReportItem = this.textBoxCategory; tableGroup5.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Category", Telerik.Reporting.SortDirection.Asc)); tableGroup4.ChildGroups.Add(tableGroup5); tableGroup4.Name = "Group6"; tableGroup4.ReportItem = this.textBoxSalesOrderNumber; tableGroup9.Name = "Group2"; tableGroup9.ReportItem = this.textBoxOrderTotal; tableGroup8.ChildGroups.Add(tableGroup9); tableGroup8.Name = "Group1"; tableGroup8.ReportItem = this.textBox4; tableGroup7.ChildGroups.Add(tableGroup8); tableGroup7.Name = "Group7"; tableGroup7.ReportItem = this.textBox12; tableGroup3.ChildGroups.Add(tableGroup4); tableGroup3.ChildGroups.Add(tableGroup7); tableGroup3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.SalesOrderID")); tableGroup3.Name = "SalesOrder"; tableGroup3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.SalesOrderNumber", Telerik.Reporting.SortDirection.Asc)); tableGroup12.Name = "Group4"; tableGroup12.ReportItem = this.textBoxEmployeeSalesTotal; tableGroup11.ChildGroups.Add(tableGroup12); tableGroup11.Name = "Group5"; tableGroup11.ReportItem = this.textBoxTotalLabel; tableGroup10.ChildGroups.Add(tableGroup11); tableGroup10.Name = "Group3"; tableGroup10.ReportItem = this.textBox10; this.crosstabEmployeeSales.RowGroups.Add(tableGroup2); this.crosstabEmployeeSales.RowGroups.Add(tableGroup3); this.crosstabEmployeeSales.RowGroups.Add(tableGroup10); this.crosstabEmployeeSales.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.09000015258789D), Telerik.Reporting.Drawing.Unit.Inch(1.2000000476837158D)); this.crosstabEmployeeSales.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.47999998927116394D)); this.textBox5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.None; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); // // textBox13 // this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); // // EmployeeSalesSummary // group1.GroupFooter = this.groupFooterSection1; group1.GroupHeader = this.groupHeaderSection1; group1.Groupings.Add(new Telerik.Reporting.Grouping("")); group1.Name = "group1"; this.Groups.AddRange(new Telerik.Reporting.Group[] { group1 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.detail }); this.Name = "EmployeeSalesSummary"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.Name = "ReportDate"; reportParameter1.Text = "Report Date"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter1.Value = "=#2003-07-01#"; reportParameter1.Visible = true; reportParameter2.AutoRefresh = true; reportParameter2.AvailableValues.DataSource = this.Employees; reportParameter2.AvailableValues.DisplayMember = "= Fields.Employee"; reportParameter2.AvailableValues.ValueMember = "= Fields.SalesPersonID"; reportParameter2.Name = "Employee"; reportParameter2.Text = "Employee"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter2.Value = "=283"; reportParameter2.Visible = true; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); 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("Header") }); styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Segoe UI Light"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Category") }); styleRule3.Style.Font.Name = "Segoe UI Light"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); styleRule3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox)) }); styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(8.09999942779541D); ((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 graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.CategoryScale categoryScale3 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale3 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup7 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup8 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup9 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup10 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.CategoryScale categoryScale4 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale4 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup11 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup12 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup13 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup14 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle2 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale2 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup5 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup6 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem3 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis5 = new Telerik.Reporting.GraphAxis(); this.graphAxis6 = new Telerik.Reporting.GraphAxis(); this.barSeries3 = new Telerik.Reporting.BarSeries(); this.lineSeries2 = new Telerik.Reporting.LineSeries(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); this.objectDataSource2 = new Telerik.Reporting.ObjectDataSource(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.graphAxis4 = new Telerik.Reporting.GraphAxis(); this.cartesianCoordinateSystem2 = new Telerik.Reporting.CartesianCoordinateSystem(); this.barSeries2 = new Telerik.Reporting.BarSeries(); this.lineSeries1 = new Telerik.Reporting.LineSeries(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.lineSeries4 = new Telerik.Reporting.LineSeries(); this.graph2 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem4 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis7 = new Telerik.Reporting.GraphAxis(); this.graphAxis8 = new Telerik.Reporting.GraphAxis(); this.barSeries4 = new Telerik.Reporting.BarSeries(); this.lineSeries3 = new Telerik.Reporting.LineSeries(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.521D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.textBox4 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(5.533D), Telerik.Reporting.Drawing.Unit.Cm(0.096D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox1.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox1.Style.Color = System.Drawing.Color.Gray; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Name = "Arial"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox1.Value = "REPORTE VENTAS"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(5.533D), Telerik.Reporting.Drawing.Unit.Cm(0.662D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox4.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox4.Style.Color = System.Drawing.Color.Gray; this.textBox4.Style.Font.Bold = true; this.textBox4.Style.Font.Name = "Arial"; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox4.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox4.Value = ""; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(9.15D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox2, this.textBox3, this.graph1, this.graph2 }); this.detail.Name = "detail"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(1.27D), Telerik.Reporting.Drawing.Unit.Cm(0.796D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox2.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox2.Style.Color = System.Drawing.Color.Gray; this.textBox2.Style.Font.Bold = true; this.textBox2.Style.Font.Name = "Arial"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox2.Value = "*Menudeo"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(1.27D), Telerik.Reporting.Drawing.Unit.Cm(11.718D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox3.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox3.Style.Color = System.Drawing.Color.Gray; this.textBox3.Style.Font.Bold = true; this.textBox3.Style.Font.Name = "Arial"; this.textBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox3.Value = "*Mayoreo"; // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field3")); graphGroup1.Name = "categoryGroup1"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem3); 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.Cm(1.27D), Telerik.Reporting.Drawing.Unit.Cm(1.981D)); 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.barSeries3); this.graph1.Series.Add(this.lineSeries2); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.SeriesGroups.Add(graphGroup3); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(16.002D), Telerik.Reporting.Drawing.Unit.Cm(9.737D)); graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle1.Text = "=(Format(\"{0:C2}\",Sum(Fields.Field2)))"; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem3 // this.cartesianCoordinateSystem3.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem3.XAxis = this.graphAxis5; this.cartesianCoordinateSystem3.YAxis = this.graphAxis6; // // 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"; categoryScale1.SpacingSlotCount = 0D; this.graphAxis5.Scale = categoryScale1; // // graphAxis6 // this.graphAxis6.LabelFormat = "{0:C2}"; 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"; this.graphAxis6.Scale = numericalScale1; // // barSeries3 // this.barSeries3.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked; this.barSeries3.CategoryGroup = graphGroup1; this.barSeries3.CoordinateSystem = this.cartesianCoordinateSystem3; this.barSeries3.DataPointLabel = "=CDbl(Fields.Field2) / CDbl(Fields.Field5)"; this.barSeries3.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries3.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries3.DataPointLabelConnectorStyle.Visible = false; this.barSeries3.DataPointLabelFormat = "{0:0.00%}"; this.barSeries3.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries3.LegendItem.Value = "=Format(\"{0,-3}\",Field3) + \' \'+ Format(\"{0,-12}\",(Format(\"{0:C2}\",Field2)))"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field1")); graphGroup2.Name = "seriesGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("Fields.Field2", Telerik.Reporting.SortDirection.Asc)); this.barSeries3.SeriesGroup = graphGroup2; this.barSeries3.Y = "=Sum(Fields.Field2)"; // // lineSeries2 // this.lineSeries2.CategoryGroup = graphGroup1; this.lineSeries2.CoordinateSystem = this.cartesianCoordinateSystem3; this.lineSeries2.DataPointLabel = "=Sum(Fields.Field5)"; this.lineSeries2.DataPointLabelFormat = "{0:C2}"; this.lineSeries2.DataPointLabelStyle.Color = System.Drawing.Color.Green; this.lineSeries2.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries2.DataPointLabelStyle.LineColor = System.Drawing.Color.White; this.lineSeries2.DataPointStyle.Visible = true; this.lineSeries2.LegendItem.Style.Visible = false; 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); graphGroup3.Name = "seriesGroup2"; this.lineSeries2.SeriesGroup = graphGroup3; this.lineSeries2.Size = null; this.lineSeries2.Y = "=Sum(Fields.Field5)"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.521D); 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.Total"), 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.Meta") }); this.objectDataSource1.Name = "objectDataSource1"; // // objectDataSource2 // this.objectDataSource2.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(string), "Fields.Numerosucursal"), new Telerik.Reporting.CalculatedField("Field2", typeof(decimal), "Fields.Total"), 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(string), "Fields.Meta") }); this.objectDataSource2.Name = "objectDataSource2"; // // 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 = categoryScale3; // // graphAxis4 // this.graphAxis4.LabelFormat = "{0:C2}"; 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 = numericalScale3; // // cartesianCoordinateSystem2 // this.cartesianCoordinateSystem2.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem2.XAxis = this.graphAxis3; this.cartesianCoordinateSystem2.YAxis = this.graphAxis4; // // barSeries2 // graphGroup7.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Field3")); graphGroup7.Name = "itemGroup"; graphGroup7.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.barSeries2.CategoryGroup = graphGroup7; this.barSeries2.CoordinateSystem = this.cartesianCoordinateSystem2; this.barSeries2.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries2.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries2.DataPointLabelConnectorStyle.Visible = true; this.barSeries2.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries2.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.barSeries2.LegendItem.Value = "Actual"; graphGroup8.Name = "seriesGroup"; this.barSeries2.SeriesGroup = graphGroup8; this.barSeries2.Y = "= Fields.Field2"; // // lineSeries1 // graphGroup9.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Field3")); graphGroup9.Name = "itemGroup"; graphGroup9.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.lineSeries1.CategoryGroup = graphGroup9; this.lineSeries1.CoordinateSystem = this.cartesianCoordinateSystem2; this.lineSeries1.DataPointLabel = "= Sum(Fields.Field2)"; this.lineSeries1.DataPointLabelFormat = "{0:C2}"; this.lineSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries1.DataPointLabelStyle.Visible = true; this.lineSeries1.DataPointStyle.Visible = true; this.lineSeries1.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.lineSeries1.LegendItem.Value = "Meta"; 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.Square; this.lineSeries1.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries1.MissingValuesLineStyle.Visible = false; this.lineSeries1.Name = "lineSeries2"; graphGroup10.Name = "seriesGroup"; this.lineSeries1.SeriesGroup = graphGroup10; this.lineSeries1.Size = null; this.lineSeries1.Y = "= Sum(Fields.Field2)"; // // graphAxis1 // this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; 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 = categoryScale4; // // graphAxis2 // this.graphAxis2.LabelFormat = "{0:C2}"; 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"; this.graphAxis2.Scale = numericalScale4; // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis1; this.cartesianCoordinateSystem1.YAxis = this.graphAxis2; // // barSeries1 // graphGroup11.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Field3")); graphGroup11.Name = "itemGroup"; graphGroup11.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.CategoryGroup = graphGroup11; colorPalette1.Colors.Add(System.Drawing.Color.LimeGreen); this.barSeries1.ColorPalette = colorPalette1; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; 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.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries1.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.barSeries1.LegendItem.Value = "Actual"; graphGroup12.Name = "seriesGroup"; this.barSeries1.SeriesGroup = graphGroup12; this.barSeries1.Y = "= Sum(Fields.Field2)"; // // lineSeries4 // graphGroup13.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Field3")); graphGroup13.Name = "itemGroup"; graphGroup13.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.lineSeries4.CategoryGroup = graphGroup13; this.lineSeries4.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries4.DataPointLabel = "= Sum(Fields.Field5)"; this.lineSeries4.DataPointLabelFormat = "{0:C2}"; this.lineSeries4.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries4.DataPointLabelStyle.Visible = true; this.lineSeries4.DataPointStyle.Visible = true; this.lineSeries4.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.lineSeries4.LegendItem.Value = "Meta"; this.lineSeries4.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries4.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeries4.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries4.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries4.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries4.MissingValuesLineStyle.Visible = false; this.lineSeries4.Name = "lineSeries2"; graphGroup14.Name = "seriesGroup"; this.lineSeries4.SeriesGroup = graphGroup14; this.lineSeries4.Size = null; this.lineSeries4.Y = "= Sum(Fields.Field5)"; // // graph2 // graphGroup4.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field3")); graphGroup4.Name = "categoryGroup1"; graphGroup4.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Field1", Telerik.Reporting.SortDirection.Asc)); this.graph2.CategoryGroups.Add(graphGroup4); this.graph2.CoordinateSystems.Add(this.cartesianCoordinateSystem4); 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.Cm(1.27D), Telerik.Reporting.Drawing.Unit.Cm(12.901D)); 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.barSeries4); this.graph2.Series.Add(this.lineSeries3); this.graph2.SeriesGroups.Add(graphGroup5); this.graph2.SeriesGroups.Add(graphGroup6); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(16.002D), Telerik.Reporting.Drawing.Unit.Cm(9.737D)); graphTitle2.Style.LineColor = System.Drawing.Color.LightGray; graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle2.Text = "=(Format(\"{0:C2}\",Sum(Fields.Field2)))"; this.graph2.Titles.Add(graphTitle2); // // cartesianCoordinateSystem4 // this.cartesianCoordinateSystem4.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem4.XAxis = this.graphAxis7; this.cartesianCoordinateSystem4.YAxis = this.graphAxis8; // // 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 = "GraphAxis1"; categoryScale2.SpacingSlotCount = 0D; this.graphAxis7.Scale = categoryScale2; // // graphAxis8 // this.graphAxis8.LabelFormat = "{0:C2}"; this.graphAxis8.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis8.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis8.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis8.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis8.MinorGridLineStyle.Visible = false; this.graphAxis8.Name = "GraphAxis2"; this.graphAxis8.Scale = numericalScale2; // // barSeries4 // this.barSeries4.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked; this.barSeries4.CategoryGroup = graphGroup4; this.barSeries4.CoordinateSystem = this.cartesianCoordinateSystem4; this.barSeries4.DataPointLabel = "=CDbl(Fields.Field2) / CDbl(Fields.Field5)"; this.barSeries4.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries4.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries4.DataPointLabelConnectorStyle.Visible = false; this.barSeries4.DataPointLabelFormat = "{0:0.00%}"; this.barSeries4.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.barSeries4.LegendItem.Value = "=Format(\"{0,-3}\",Field3) + \' \'+ Format(\"{0,-12}\",(Format(\"{0:C2}\",Field2)))"; graphGroup5.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field1")); graphGroup5.Name = "seriesGroup1"; graphGroup5.Sortings.Add(new Telerik.Reporting.Sorting("Fields.Field2", Telerik.Reporting.SortDirection.Asc)); this.barSeries4.SeriesGroup = graphGroup5; this.barSeries4.Y = "=Sum(Fields.Field2)"; // // lineSeries3 // this.lineSeries3.CategoryGroup = graphGroup4; this.lineSeries3.CoordinateSystem = this.cartesianCoordinateSystem4; this.lineSeries3.DataPointLabel = "=Sum(Fields.Field5)"; this.lineSeries3.DataPointLabelFormat = "{0:C2}"; this.lineSeries3.DataPointLabelStyle.Color = System.Drawing.Color.Green; this.lineSeries3.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries3.DataPointStyle.Visible = true; this.lineSeries3.LegendItem.Style.Visible = false; 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); graphGroup6.Name = "seriesGroup2"; this.lineSeries3.SeriesGroup = graphGroup6; this.lineSeries3.Size = null; this.lineSeries3.Y = "=Sum(Fields.Field5)"; // // metasgral // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "metasgral"; 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; 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.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Cm; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductLineSales)); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle2 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale2 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); 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.ReportParameter reportParameter4 = 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(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.textBoxCategories = new Telerik.Reporting.TextBox(); this.textBoxTitle = new Telerik.Reporting.TextBox(); this.textBoxTimeInterval = new Telerik.Reporting.TextBox(); this.shape3 = new Telerik.Reporting.Shape(); this.productCategoriesDataSource = new Telerik.Reporting.SqlDataSource(); this.productSubcategoriesDataSource = new Telerik.Reporting.SqlDataSource(); this.detail = new Telerik.Reporting.DetailSection(); this.textBoxTopEmployeesHeader = new Telerik.Reporting.TextBox(); this.textBoxTopStoresHeader = new Telerik.Reporting.TextBox(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem2 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.graphAxis4 = new Telerik.Reporting.GraphAxis(); this.employeesDataSource = new Telerik.Reporting.SqlDataSource(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.graph2 = new Telerik.Reporting.Graph(); this.polarCoordinateSystem3 = new Telerik.Reporting.PolarCoordinateSystem(); this.graphAxis7 = new Telerik.Reporting.GraphAxis(); this.graphAxis8 = new Telerik.Reporting.GraphAxis(); this.storesDataSource = new Telerik.Reporting.SqlDataSource(); this.barSeries2 = new Telerik.Reporting.BarSeries(); this.reportFooterSection1 = new Telerik.Reporting.ReportFooterSection(); this.textBoxReportFooter = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // groupFooterSection1 // this.groupFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.0520833320915699D); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.1999999284744263D); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxCategories, this.textBoxTitle, this.textBoxTimeInterval, this.shape3 }); this.groupHeaderSection1.Name = "groupHeaderSection1"; // // textBoxCategories // this.textBoxCategories.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.21311600506305695D)); this.textBoxCategories.Name = "textBoxCategories"; this.textBoxCategories.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999212265014648D), Telerik.Reporting.Drawing.Unit.Inch(0.60000002384185791D)); this.textBoxCategories.StyleName = "Header"; this.textBoxCategories.Value = "= Parameters.ProductCategory+\" » \"+Join(\", \", Parameters.ProductSubcategory.Value" + ")"; // // textBoxTitle // this.textBoxTitle.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.textBoxTitle.Name = "textBoxTitle"; this.textBoxTitle.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.3020832538604736D), Telerik.Reporting.Drawing.Unit.Inch(0.21299798786640167D)); this.textBoxTitle.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(47)))), ((int)(((byte)(11))))); this.textBoxTitle.Style.Font.Bold = true; this.textBoxTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBoxTitle.Value = "PRODUCT LINE SALES"; // // textBoxTimeInterval // this.textBoxTimeInterval.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.4558329582214355D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.textBoxTimeInterval.Name = "textBoxTimeInterval"; this.textBoxTimeInterval.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.64408802986145D), Telerik.Reporting.Drawing.Unit.Inch(0.21299798786640167D)); this.textBoxTimeInterval.Style.Font.Bold = true; this.textBoxTimeInterval.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxTimeInterval.Value = "{Parameters.FromDate.Value.ToString(\"MMM yyyy\")} - {Parameters.ToDate.Value.ToStr" + "ing(\"MMM yyyy\")}"; // // shape3 // this.shape3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Left | Telerik.Reporting.AnchoringStyles.Right))); this.shape3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9378803194267675E-05D), Telerik.Reporting.Drawing.Unit.Inch(0.83958339691162109D)); this.shape3.Name = "shape3"; this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1099214553833D), Telerik.Reporting.Drawing.Unit.Point(3.75D)); this.shape3.Stretch = true; this.shape3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderWidth.Top = Telerik.Reporting.Drawing.Unit.Point(3D); this.shape3.Style.Color = System.Drawing.Color.Transparent; // // productCategoriesDataSource // this.productCategoriesDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.productCategoriesDataSource.Name = "productCategoriesDataSource"; this.productCategoriesDataSource.SelectCommand = "SELECT Production.ProductCategory.Name AS ProductCategory\r\nFROM Production.Produc" + "tCategory"; // // productSubcategoriesDataSource // this.productSubcategoriesDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.productSubcategoriesDataSource.Name = "productSubcategoriesDataSource"; this.productSubcategoriesDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@productCategory", System.Data.DbType.String, "=Parameters.ProductCategory.Value") }); this.productSubcategoriesDataSource.SelectCommand = resources.GetString("productSubcategoriesDataSource.SelectCommand"); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(7.1000003814697266D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxTopEmployeesHeader, this.textBoxTopStoresHeader, this.graph1, this.graph2 }); this.detail.Name = "detail"; // // textBoxTopEmployeesHeader // this.textBoxTopEmployeesHeader.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9378803194267675E-05D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBoxTopEmployeesHeader.Name = "textBoxTopEmployeesHeader"; this.textBoxTopEmployeesHeader.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0998811721801758D), Telerik.Reporting.Drawing.Unit.Inch(0.30000004172325134D)); this.textBoxTopEmployeesHeader.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTopEmployeesHeader.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(105)))), ((int)(((byte)(104))))); this.textBoxTopEmployeesHeader.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; this.textBoxTopEmployeesHeader.StyleName = "Category"; this.textBoxTopEmployeesHeader.TocText = "Top 10 Employees"; this.textBoxTopEmployeesHeader.Value = "Top 10 Employees"; // // textBoxTopStoresHeader // this.textBoxTopStoresHeader.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.5999999046325684D)); this.textBoxTopStoresHeader.Name = "textBoxTopStoresHeader"; this.textBoxTopStoresHeader.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.3333333432674408D)); this.textBoxTopStoresHeader.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTopStoresHeader.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(105)))), ((int)(((byte)(104))))); this.textBoxTopStoresHeader.StyleName = "Category"; this.textBoxTopStoresHeader.TocText = "Top 10 Stores"; this.textBoxTopStoresHeader.Value = "Top 10 Stores"; // // graph1 // graphGroup1.Filters.Add(new Telerik.Reporting.Filter("=Sum(Fields.SubTotal)", Telerik.Reporting.FilterOperator.TopN, "=10")); graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Employee")); graphGroup1.Name = "employeeGroup1"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Sum(Fields.SubTotal)", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))))); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem2); this.graph1.DataSource = this.employeesDataSource; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Legend.Style.Visible = false; this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.0099999997764825821D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); 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.barSeries1); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(2.9300000667572021D)); 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); // // cartesianCoordinateSystem2 // this.cartesianCoordinateSystem2.Name = "cartesianCoordinateSystem2"; this.cartesianCoordinateSystem2.XAxis = this.graphAxis3; this.cartesianCoordinateSystem2.YAxis = this.graphAxis4; // // graphAxis3 // this.graphAxis3.LabelFormat = "{0:C0}K"; this.graphAxis3.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis3.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; 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 = "graphAxis3"; this.graphAxis3.Scale = numericalScale1; // // graphAxis4 // this.graphAxis4.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis4.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis4.MajorGridLineStyle.Visible = false; this.graphAxis4.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; 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 = "graphAxis4"; categoryScale1.SpacingSlotCount = 0.4D; this.graphAxis4.Scale = categoryScale1; // // employeesDataSource // this.employeesDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.employeesDataSource.Name = "employeesDataSource"; this.employeesDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@productCategory", System.Data.DbType.String, "=Parameters.ProductCategory.Value"), new Telerik.Reporting.SqlDataSourceParameter("@FromDate", System.Data.DbType.DateTime, "=Parameters.FromDate.Value"), new Telerik.Reporting.SqlDataSourceParameter("@ToDate", System.Data.DbType.DateTime, "=Parameters.ToDate.Value"), new Telerik.Reporting.SqlDataSourceParameter("@productSubCategory", System.Data.DbType.String, "=Parameters.ProductSubcategory.Value") }); this.employeesDataSource.SelectCommand = resources.GetString("employeesDataSource.SelectCommand"); // // barSeries1 // this.barSeries1.CategoryGroup = graphGroup1; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem2; this.barSeries1.DataPointLabel = "=Sum(Fields.SubTotal)"; this.barSeries1.DataPointLabelStyle.Visible = false; this.barSeries1.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.barSeries1.DataPointStyle.Visible = true; this.barSeries1.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0D); this.barSeries1.LegendItem.Value = "SubTotal"; graphGroup2.Name = "seriesGroup1"; this.barSeries1.SeriesGroup = graphGroup2; this.barSeries1.X = "=Sum(Fields.SubTotal) /1000.0"; // // graph2 // graphGroup3.Name = "categoryGroup1"; this.graph2.CategoryGroups.Add(graphGroup3); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(92)))), ((int)(((byte)(25)))), ((int)(((byte)(18)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(46)))), ((int)(((byte)(10)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(88)))), ((int)(((byte)(55)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(90)))), ((int)(((byte)(40)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(137)))), ((int)(((byte)(104)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(191)))), ((int)(((byte)(105)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(203)))), ((int)(((byte)(42)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(180)))), ((int)(((byte)(114)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(105)))), ((int)(((byte)(104)))))); this.graph2.ColorPalette = colorPalette2; this.graph2.CoordinateSystems.Add(this.polarCoordinateSystem3); this.graph2.DataSource = this.storesDataSource; this.graph2.Legend.Style.Font.Name = "Segoe UI"; this.graph2.Legend.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); 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.0099999997764825821D), Telerik.Reporting.Drawing.Unit.Inch(4.0999999046325684D)); 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.barSeries2); this.graph2.SeriesGroups.Add(graphGroup4); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.190000057220459D), Telerik.Reporting.Drawing.Unit.Inch(2.9300000667572021D)); this.graph2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(20D); this.graph2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(30D); this.graph2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(20D); graphTitle2.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle2.Style.LineColor = System.Drawing.Color.LightGray; graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph2.Titles.Add(graphTitle2); // // polarCoordinateSystem3 // this.polarCoordinateSystem3.AngularAxis = this.graphAxis7; this.polarCoordinateSystem3.Name = "polarCoordinateSystem3"; this.polarCoordinateSystem3.RadialAxis = this.graphAxis8; // // graphAxis7 // this.graphAxis7.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis7.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis7.MajorGridLineStyle.Visible = false; 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 = "graphAxis7"; this.graphAxis7.Scale = numericalScale2; this.graphAxis7.Style.Visible = false; // // graphAxis8 // this.graphAxis8.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis8.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis8.MajorGridLineStyle.Visible = false; this.graphAxis8.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis8.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis8.MinorGridLineStyle.Visible = false; this.graphAxis8.Name = "graphAxis8"; categoryScale2.PositionMode = Telerik.Reporting.AxisPositionMode.OnTicks; categoryScale2.SpacingSlotCount = 0D; this.graphAxis8.Scale = categoryScale2; this.graphAxis8.Style.Visible = false; // // storesDataSource // this.storesDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.storesDataSource.Name = "storesDataSource"; this.storesDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@productCategory", System.Data.DbType.String, "=Parameters.ProductCategory.Value"), new Telerik.Reporting.SqlDataSourceParameter("@FromDate", System.Data.DbType.DateTime, "=Parameters.FromDate.Value"), new Telerik.Reporting.SqlDataSourceParameter("@ToDate", System.Data.DbType.DateTime, "=Parameters.ToDate.Value") }); this.storesDataSource.SelectCommand = resources.GetString("storesDataSource.SelectCommand"); // // barSeries2 // this.barSeries2.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.barSeries2.CategoryGroup = graphGroup3; this.barSeries2.CoordinateSystem = this.polarCoordinateSystem3; this.barSeries2.DataPointLabel = "=Sum(Fields.SubTotal)/1000.0"; this.barSeries2.DataPointLabelFormat = "{0:C0}K"; this.barSeries2.DataPointLabelStyle.Visible = true; this.barSeries2.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.barSeries2.DataPointStyle.Visible = true; this.barSeries2.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0D); this.barSeries2.LegendItem.Value = "=Fields.StoreName"; graphGroup4.Filters.Add(new Telerik.Reporting.Filter("=Sum(Fields.SubTotal)", Telerik.Reporting.FilterOperator.TopN, "=10")); graphGroup4.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.StoreName")); graphGroup4.Name = "storeNameGroup1"; graphGroup4.Sortings.Add(new Telerik.Reporting.Sorting("=Sum(Fields.SubTotal)", Telerik.Reporting.SortDirection.Asc)); this.barSeries2.SeriesGroup = graphGroup4; this.barSeries2.X = "=Sum(Fields.SubTotal)"; // // reportFooterSection1 // this.reportFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D); this.reportFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxReportFooter }); this.reportFooterSection1.Name = "reportFooterSection1"; // // textBoxReportFooter // this.textBoxReportFooter.Name = "textBoxReportFooter"; this.textBoxReportFooter.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999212265014648D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D)); this.textBoxReportFooter.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxReportFooter.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxReportFooter.Value = "AdventureWorks {Today().Year}"; // // ProductLineSales // this.Culture = new System.Globalization.CultureInfo("en-US"); this.DocumentName = "= Parameters.ProductCategory.Value + \'Sales(\' + Join(\", \", Parameters.ProductSubc" + "ategory.Value) + \')[\' + NOW().ToString(\'MMMM yyyy\') + \']\'"; group1.GroupFooter = this.groupFooterSection1; group1.GroupHeader = this.groupHeaderSection1; group1.Name = "group1"; this.Groups.AddRange(new Telerik.Reporting.Group[] { group1 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.detail, this.reportFooterSection1 }); this.Name = "ProductLineSales"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.productCategoriesDataSource; reportParameter1.AvailableValues.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductCategory", Telerik.Reporting.SortDirection.Asc)); reportParameter1.AvailableValues.ValueMember = "ProductCategory"; reportParameter1.Name = "ProductCategory"; reportParameter1.Text = "Category"; reportParameter1.Value = "Bikes"; reportParameter1.Visible = true; reportParameter2.AutoRefresh = true; reportParameter2.AvailableValues.DataSource = this.productSubcategoriesDataSource; reportParameter2.AvailableValues.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubcategory", Telerik.Reporting.SortDirection.Asc)); reportParameter2.AvailableValues.ValueMember = "ProductSubcategory"; reportParameter2.MultiValue = true; reportParameter2.Name = "ProductSubcategory"; reportParameter2.Text = "Subcategory"; reportParameter2.Value = "=First(Fields.ProductSubcategory)"; reportParameter2.Visible = true; reportParameter3.Name = "FromDate"; reportParameter3.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter3.Value = "=#2001-01-01#"; reportParameter4.Name = "ToDate"; reportParameter4.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter4.Value = "=#2004-12-31#"; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.ReportParameters.Add(reportParameter4); 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("Header") }); styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Segoe UI Light"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox)) }); styleRule3.Style.Font.Name = "Segoe UI"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Category") }); styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); styleRule4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4 }); this.TocText = "Product Line Sales"; this.Width = Telerik.Reporting.Drawing.Unit.Inch(8.1100006103515625D); ((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.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.graph1 = new Telerik.Reporting.Graph(); this.polarCoordinateSystem1 = new Telerik.Reporting.PolarCoordinateSystem(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(6.0589995384216309D), Telerik.Reporting.Drawing.Unit.Cm(0.76199996471405029D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.4350013732910156D), Telerik.Reporting.Drawing.Unit.Cm(1.0160000324249268D)); this.textBox1.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox1.Style.Color = System.Drawing.Color.Gray; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Name = "Arial"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox1.Value = "REPORTE INVENTARIO - POR MARCAS"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(4.5999608039855957D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1 }); this.detail.Name = "detail"; // // graph1 // graphGroup1.Name = "categoryGroup1"; this.graph1.CategoryGroups.Add(graphGroup1); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))))); colorPalette1.Colors.Add(System.Drawing.Color.Turquoise); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.polarCoordinateSystem1); 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.Cm(1.5240001678466797D), Telerik.Reporting.Drawing.Unit.Cm(1.2699999809265137D)); 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.barSeries1); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(14.989999771118164D), Telerik.Reporting.Drawing.Unit.Cm(5.8400001525878906D)); // // polarCoordinateSystem1 // this.polarCoordinateSystem1.AngularAxis = this.graphAxis2; this.polarCoordinateSystem1.Name = "polarCoordinateSystem1"; this.polarCoordinateSystem1.RadialAxis = this.graphAxis1; // // graphAxis2 // 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"; this.graphAxis2.Scale = numericalScale1; this.graphAxis2.Style.Visible = false; // // graphAxis1 // this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; 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"; categoryScale1.SpacingSlotCount = 0D; this.graphAxis1.Scale = categoryScale1; this.graphAxis1.Style.Visible = false; // // barSeries1 // this.barSeries1.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.barSeries1.CategoryGroup = graphGroup1; this.barSeries1.CoordinateSystem = this.polarCoordinateSystem1; this.barSeries1.DataPointLabel = "=CDbl(Fields.Field2) / CDbl(Exec(\'graph1\', Sum(Fields.Field2)))"; this.barSeries1.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.barSeries1.DataPointLabelFormat = "{0:0.00%}"; this.barSeries1.LegendItem.Value = "=Fields.Field3"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Field3")); graphGroup2.Name = "seriesGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("=sum(Fields.Cantidad)", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.SeriesGroup = graphGroup2; this.barSeries1.X = "=Sum(Fields.Field2)"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageFooterSection1.Name = "pageFooterSection1"; // // objectDataSource1 // this.objectDataSource1.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(string), "Fields.Marca"), new Telerik.Reporting.CalculatedField("Field2", typeof(int), "Fields.Cantidad"), new Telerik.Reporting.CalculatedField("Field3", typeof(string), "Fields.Descripcion") }); this.objectDataSource1.Name = "objectDataSource1"; // // RptTrimarca // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "RptTrimarca"; 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; 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.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Cm; 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.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.detail = new Telerik.Reporting.DetailSection(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.lineSeries4 = new Telerik.Reporting.LineSeries(); this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource(); ((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.15D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1, this.textBox1, this.textBox4 }); this.detail.Name = "detail"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.55D); this.pageFooterSection1.Name = "pageFooterSection1"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(6.35D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.704D)); this.textBox4.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox4.Style.Color = System.Drawing.Color.Gray; this.textBox4.Style.Font.Bold = true; this.textBox4.Style.Font.Name = "Arial"; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox4.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox4.Value = ""; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(6.35D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(9.435D), Telerik.Reporting.Drawing.Unit.Cm(0.566D)); this.textBox1.Style.BorderColor.Default = System.Drawing.Color.Transparent; this.textBox1.Style.Color = System.Drawing.Color.Gray; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Name = "Arial"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox1.Value = "REPORTE VENTAS"; // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Date")); graphGroup1.Name = "itemGroup"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Date", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.DataSource = null; 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(0.7D)); 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.barSeries1); this.graph1.Series.Add(this.lineSeries4); graphGroup4.Name = "seriesGroup"; this.graph1.SeriesGroups.Add(graphGroup4); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.071D), Telerik.Reporting.Drawing.Unit.Inch(4.3D)); 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.TopLeft; graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle1.Text = ""; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis1; this.cartesianCoordinateSystem1.YAxis = this.graphAxis2; // // graphAxis1 // this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; 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 = categoryScale1; this.graphAxis1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); // // graphAxis2 // this.graphAxis2.LabelFormat = "{0:C2}"; 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"; this.graphAxis2.Scale = numericalScale1; this.graphAxis2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); // // barSeries1 // graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Date")); graphGroup2.Name = "itemGroup"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Date", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.CategoryGroup = graphGroup2; colorPalette1.Colors.Add(System.Drawing.Color.LimeGreen); this.barSeries1.ColorPalette = colorPalette1; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; this.barSeries1.DataPointLabel = "=Fields.Total"; this.barSeries1.DataPointLabelAngle = 270; 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.DataPointLabelFormat = "{0:C0}"; this.barSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(6D); this.barSeries1.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.barSeries1.LegendItem.Value = "Ventas"; graphGroup3.Name = "seriesGroup"; this.barSeries1.SeriesGroup = graphGroup3; this.barSeries1.Y = "= Fields.Total"; // // lineSeries4 // this.lineSeries4.CategoryGroup = graphGroup2; this.lineSeries4.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries4.DataPointLabelFormat = "{0:C2}"; this.lineSeries4.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(7D); this.lineSeries4.DataPointLabelStyle.Visible = true; this.lineSeries4.DataPointStyle.Visible = false; this.lineSeries4.LegendItem.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); this.lineSeries4.LegendItem.Value = "Meta"; this.lineSeries4.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries4.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeries4.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries4.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeries4.MissingValuesLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries4.MissingValuesLineStyle.Visible = false; this.lineSeries4.Name = "lineSeries2"; this.lineSeries4.SeriesGroup = graphGroup3; this.lineSeries4.Size = null; this.lineSeries4.Y = "=200000.00"; // // objectDataSource1 // this.objectDataSource1.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("Field1", typeof(int), "Fields.Date"), new Telerik.Reporting.CalculatedField("Field2", typeof(decimal), "Fields.Total") }); this.objectDataSource1.Name = "objectDataSource1"; // // Rptmeta // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "Rptmeta"; this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = true; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Cm(0.1D), Telerik.Reporting.Drawing.Unit.Cm(0.1D), Telerik.Reporting.Drawing.Unit.Cm(0.1D), Telerik.Reporting.Drawing.Unit.Cm(0.1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.LetterRotated; 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.UnitOfMeasure = Telerik.Reporting.Drawing.UnitType.Cm; this.Width = Telerik.Reporting.Drawing.Unit.Inch(8.071D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }