/// <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.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn2 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn3 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn4 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn5 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn6 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn7 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn8 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn9 = new Telerik.Reporting.DataColumn(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PopulationDensity)); Telerik.Reporting.ShapeMapGroup shapeMapGroup1 = new Telerik.Reporting.ShapeMapGroup(); Telerik.Reporting.MapLegend mapLegend1 = new Telerik.Reporting.MapLegend(); Telerik.Reporting.MercatorProjection mercatorProjection1 = new Telerik.Reporting.MercatorProjection(); Telerik.Reporting.MapTitle mapTitle1 = new Telerik.Reporting.MapTitle(); Telerik.Reporting.Drawing.GradientPalette gradientPalette1 = new Telerik.Reporting.Drawing.GradientPalette(); Telerik.Reporting.MapGroup mapGroup1 = new Telerik.Reporting.MapGroup(); Telerik.Reporting.EsriShapeFileSourceType esriShapeFileSourceType1 = new Telerik.Reporting.EsriShapeFileSourceType(); Telerik.Reporting.MapRelationPair mapRelationPair1 = new Telerik.Reporting.MapRelationPair(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); this.populationData = new Telerik.Reporting.CsvDataSource(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.map2 = new Telerik.Reporting.Map(); this.shapeMapSeries1 = new Telerik.Reporting.ShapeMapSeries(); this.reportHeaderSection1 = new Telerik.Reporting.ReportHeaderSection(); this.textBoxTitle = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.reportFooterSection1 = new Telerik.Reporting.ReportFooterSection(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // populationData // dataColumn1.Name = "Pos."; dataColumn1.Type = Telerik.Reporting.SimpleType.Integer; dataColumn2.Name = "Country"; dataColumn3.Name = "Area (km2)"; dataColumn3.Type = Telerik.Reporting.SimpleType.Float; dataColumn4.Name = "Area (mi2)"; dataColumn4.Type = Telerik.Reporting.SimpleType.Float; dataColumn5.Name = "Population"; dataColumn5.Type = Telerik.Reporting.SimpleType.Integer; dataColumn6.Name = "Density (pop./km2)"; dataColumn6.Type = Telerik.Reporting.SimpleType.Float; dataColumn7.Name = "Density (pop./mi2)"; dataColumn7.Type = Telerik.Reporting.SimpleType.Float; dataColumn8.Name = "Date"; dataColumn8.Type = Telerik.Reporting.SimpleType.DateTime; dataColumn9.Name = "Population source"; this.populationData.Columns.Add(dataColumn1); this.populationData.Columns.Add(dataColumn2); this.populationData.Columns.Add(dataColumn3); this.populationData.Columns.Add(dataColumn4); this.populationData.Columns.Add(dataColumn5); this.populationData.Columns.Add(dataColumn6); this.populationData.Columns.Add(dataColumn7); this.populationData.Columns.Add(dataColumn8); this.populationData.Columns.Add(dataColumn9); this.populationData.DateTimeFormat = "MMMM dd, yyyy"; this.populationData.FieldSeparators = new char[] { ';' }; this.populationData.HasHeaders = true; this.populationData.Name = "populationData"; this.populationData.RecordSeparators = new char[] { '\r', '\n' }; this.populationData.Source = resources.GetString("populationData.Source"); this.populationData.ThousandSeparator = ","; // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Cm(14.199999809265137D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.map2 }); this.detailSection1.Name = "detailSection1"; // // map2 // this.map2.ColorPalette = null; this.map2.DataSource = this.populationData; shapeMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.CNTRY_NAME")); shapeMapGroup1.Name = "categoryGroup1"; this.map2.GeoLocationGroups.Add(shapeMapGroup1); mapLegend1.Style.LineColor = System.Drawing.Color.LightGray; mapLegend1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapLegend1.Title = "people/km²"; mapLegend1.TitleStyle.Font.Bold = true; mapLegend1.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(6D); mapLegend1.TitleStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.Legends.Add(mapLegend1); this.map2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(0.30000004172325134D)); this.map2.Meridians.Style.LineColor = System.Drawing.Color.LightGray; this.map2.Name = "map2"; this.map2.Parallels.Style.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.map2.Projection = mercatorProjection1; this.map2.ScaleLegend.ItemStyle.BorderColor.Default = System.Drawing.Color.White; this.map2.ScaleLegend.ItemStyle.LineColor = System.Drawing.Color.DodgerBlue; this.map2.ScaleLegend.ItemStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(2D); this.map2.ScaleLegend.ItemStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.ScaleLegend.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.map2.Series.Add(this.shapeMapSeries1); this.map2.SeriesGroups.Add(mapGroup1); this.map2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(16.700000762939453D), Telerik.Reporting.Drawing.Unit.Cm(13.59999942779541D)); this.map2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); mapTitle1.Style.LineColor = System.Drawing.Color.LightGray; mapTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapTitle1.Text = ""; this.map2.Titles.Add(mapTitle1); // // shapeMapSeries1 // this.shapeMapSeries1.ColorData = "= Sum(Fields.[Density (pop./km2)])"; gradientPalette1.BeginColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(226)))), ((int)(((byte)(213))))); gradientPalette1.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(106)))), ((int)(((byte)(0))))); this.shapeMapSeries1.ColorPalette = gradientPalette1; this.shapeMapSeries1.ColorsCount = 8; this.shapeMapSeries1.DataPointLabel = "{Fields.CNTRY_NAME}\r\n({Sum(Fields.[Density (pop./km2)])})"; this.shapeMapSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.shapeMapSeries1.DataPointLabelStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.shapeMapSeries1.DataPointLabelStyle.Visible = false; this.shapeMapSeries1.DataPointStyle.LineColor = System.Drawing.Color.Gray; this.shapeMapSeries1.DataPointStyle.Visible = true; this.shapeMapSeries1.LegendItem.Value = "=Format(\'{0:N0} - {1:N0}\', RangeMin, RangeMax)"; this.shapeMapSeries1.Name = "shapeMapSeries1"; this.shapeMapSeries1.RangeGrouping = Telerik.Reporting.ShapeMapSeries.RangeGroupings.EqualDistribution; mapGroup1.Name = "seriesGroup1"; this.shapeMapSeries1.SeriesGroup = mapGroup1; this.shapeMapSeries1.ShapeMapGroup = shapeMapGroup1; esriShapeFileSourceType1.FileName = "Resources/world.shp"; mapRelationPair1.AnalyticalField = "= Fields.Country"; mapRelationPair1.ShapeFileField = "= Fields.CNTRY_NAME"; esriShapeFileSourceType1.RelationPairs.Add(mapRelationPair1); this.shapeMapSeries1.SourceType = esriShapeFileSourceType1; this.shapeMapSeries1.ToolTip.Text = "=Format(\'Area: {0} km²;\r\nPopulation: {1};\r\nDensity: {2:0.00} ppl/km²\', Fields.SQK" + "M, Fields.POP_CNTRY, Fields.POP_CNTRY/Fields.SQKM)"; this.shapeMapSeries1.ToolTip.Title = "=Fields.CNTRY_NAME"; // // reportHeaderSection1 // this.reportHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Cm(2.1999995708465576D); this.reportHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxTitle, this.textBox2 }); this.reportHeaderSection1.Name = "reportHeaderSection1"; // // textBoxTitle // this.textBoxTitle.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(0.30000004172325134D)); this.textBoxTitle.Name = "textBoxTitle"; this.textBoxTitle.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(5.8000001907348633D), Telerik.Reporting.Drawing.Unit.Cm(0.800000011920929D)); this.textBoxTitle.Style.Font.Bold = false; this.textBoxTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBoxTitle.Value = "World population density"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(1.6000001430511475D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(13.799998283386231D), Telerik.Reporting.Drawing.Unit.Cm(0.50019979476928711D)); this.textBox2.Value = "The choropleth below shows the 100 most populated countries"; // // reportFooterSection1 // this.reportFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Cm(1.1999986171722412D); this.reportFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.htmlTextBox1 }); this.reportFooterSection1.Name = "reportFooterSection1"; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.19999989867210388D), Telerik.Reporting.Drawing.Unit.Cm(0.59999889135360718D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(13.799997329711914D), Telerik.Reporting.Drawing.Unit.Cm(0.49980011582374573D)); this.htmlTextBox1.Value = "The analytical data is obtained from <a href=\"http://en.wikipedia.org/wiki/List_o" + "f_sovereign_states_and_dependent_territories_by_population_density\" target=\"_bla" + "nk\">Wikipedia</a>."; // // PopulationDensity // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detailSection1, this.reportHeaderSection1, this.reportFooterSection1 }); this.Name = "PopulationDensity"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.Font.Name = "Segoe UI"; this.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.7322831153869629D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.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(); }