/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.DataAccess.Excel.FieldInfo fieldInfo4 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo5 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo6 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.CsvSourceOptions csvSourceOptions2 = new DevExpress.DataAccess.Excel.CsvSourceOptions(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChartsForm)); DevExpress.XtraCharts.ChartTitle chartTitle4 = new DevExpress.XtraCharts.ChartTitle(); DevExpress.XtraCharts.ChartTitle chartTitle5 = new DevExpress.XtraCharts.ChartTitle(); DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView(); DevExpress.XtraCharts.ChartTitle chartTitle6 = new DevExpress.XtraCharts.ChartTitle(); this.excelDataSource1 = new DevExpress.DataAccess.Excel.ExcelDataSource(); this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl(); this.PieChartCostReportCategory = new DevExpress.XtraCharts.ChartControl(); this.chartControlPie = new DevExpress.XtraCharts.ChartControl(); this.chartControlhistogram = new DevExpress.XtraCharts.ChartControl(); this.PieChartCostResourceType = new DevExpress.XtraCharts.ChartControl(); this.xtraScrollableControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PieChartCostReportCategory)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControlPie)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControlhistogram)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PieChartCostResourceType)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit(); this.SuspendLayout(); // // excelDataSource1 // this.excelDataSource1.FileName = "E:\\nasif\\ContractReqExtraction\\Tool\\trunk\\ContractExtraction\\ContractExtraction\\b" + "in\\Debug\\predefined_data_values\\resources.csv"; this.excelDataSource1.Name = "excelDataSource1"; this.excelDataSource1.ResultSchemaSerializable = "PFZpZXc+PEZpZWxkIE5hbWU9IlJlc291cmNlIFR5cGUiIFR5cGU9IlN0cmluZyIgLz48RmllbGQgTmFtZ" + "T0iQXZlcmFnZSBSYXRlICgkKSIgVHlwZT0iRG91YmxlIiAvPjwvVmlldz4="; fieldInfo4.Name = "Resource Type"; fieldInfo4.Type = typeof(string); fieldInfo5.Name = "Average Rate ($)"; fieldInfo5.Type = typeof(double); fieldInfo6.Name = "Note"; fieldInfo6.Selected = false; fieldInfo6.Type = typeof(string); this.excelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] { fieldInfo4, fieldInfo5, fieldInfo6 }); csvSourceOptions2.Culture = new System.Globalization.CultureInfo(""); csvSourceOptions2.DetectNewlineType = true; csvSourceOptions2.DetectValueSeparator = true; csvSourceOptions2.Encoding = ((System.Text.Encoding)(resources.GetObject("csvSourceOptions2.Encoding"))); this.excelDataSource1.SourceOptions = csvSourceOptions2; // // xtraScrollableControl1 // this.xtraScrollableControl1.Controls.Add(this.PieChartCostReportCategory); this.xtraScrollableControl1.Controls.Add(this.chartControlPie); this.xtraScrollableControl1.Controls.Add(this.chartControlhistogram); this.xtraScrollableControl1.Controls.Add(this.PieChartCostResourceType); this.xtraScrollableControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraScrollableControl1.Location = new System.Drawing.Point(0, 0); this.xtraScrollableControl1.Name = "xtraScrollableControl1"; this.xtraScrollableControl1.Size = new System.Drawing.Size(1430, 683); this.xtraScrollableControl1.TabIndex = 2; // // PieChartCostReportCategory // this.PieChartCostReportCategory.Legend.Name = "Default Legend"; this.PieChartCostReportCategory.Location = new System.Drawing.Point(783, 495); this.PieChartCostReportCategory.Name = "PieChartCostReportCategory"; this.PieChartCostReportCategory.SeriesSerializable = new DevExpress.XtraCharts.Series[0]; this.PieChartCostReportCategory.Size = new System.Drawing.Size(647, 390); this.PieChartCostReportCategory.TabIndex = 5; // // chartControlPie // this.chartControlPie.Legend.Name = "Default Legend"; this.chartControlPie.Location = new System.Drawing.Point(783, 12); this.chartControlPie.Name = "chartControlPie"; this.chartControlPie.SeriesSerializable = new DevExpress.XtraCharts.Series[0]; this.chartControlPie.Size = new System.Drawing.Size(596, 435); this.chartControlPie.TabIndex = 4; chartTitle4.Text = "Pie chart"; this.chartControlPie.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle4 }); // // chartControlhistogram // this.chartControlhistogram.Legend.Name = "Default Legend"; this.chartControlhistogram.Location = new System.Drawing.Point(24, 12); this.chartControlhistogram.Name = "chartControlhistogram"; this.chartControlhistogram.SeriesSerializable = new DevExpress.XtraCharts.Series[0]; this.chartControlhistogram.Size = new System.Drawing.Size(686, 435); this.chartControlhistogram.TabIndex = 3; chartTitle5.Text = "Sample Data"; this.chartControlhistogram.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle5 }); this.chartControlhistogram.DoubleClick += new System.EventHandler(this.chartControlhistogram_DoubleClick); // // PieChartCostResourceType // this.PieChartCostResourceType.DataSource = this.excelDataSource1; xyDiagram2.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram2.AxisY.VisibleInPanesSerializable = "-1"; this.PieChartCostResourceType.Diagram = xyDiagram2; this.PieChartCostResourceType.Legend.Name = "Default Legend"; this.PieChartCostResourceType.Location = new System.Drawing.Point(55, 495); this.PieChartCostResourceType.Name = "PieChartCostResourceType"; this.PieChartCostResourceType.SeriesDataMember = "Resource Type"; series2.DataSource = this.excelDataSource1; series2.Name = "Series 1"; series2.View = pieSeriesView2; this.PieChartCostResourceType.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series2 }; this.PieChartCostResourceType.SeriesTemplate.ArgumentDataMember = "Resource Type"; this.PieChartCostResourceType.SeriesTemplate.SeriesDataMember = "Resource Type"; this.PieChartCostResourceType.SeriesTemplate.ValueDataMembersSerializable = "Average Rate ($)"; this.PieChartCostResourceType.Size = new System.Drawing.Size(638, 408); this.PieChartCostResourceType.TabIndex = 2; chartTitle6.Text = "Resources"; this.PieChartCostResourceType.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle6 }); this.PieChartCostResourceType.DoubleClick += new System.EventHandler(this.chartControlhistogram_DoubleClick); // // ChartsForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1430, 683); this.Controls.Add(this.xtraScrollableControl1); this.Name = "ChartsForm"; this.Text = "ChartsForm"; this.Load += new System.EventHandler(this.ChartsForm_Load); this.xtraScrollableControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PieChartCostReportCategory)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControlPie)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControlhistogram)).EndInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PieChartCostResourceType)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XtraReport2)); DevExpress.DataAccess.Excel.FieldInfo fieldInfo1 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo2 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo3 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo4 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.CsvSourceOptions csvSourceOptions1 = new DevExpress.DataAccess.Excel.CsvSourceOptions(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo5 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo6 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo7 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo8 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo9 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo10 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo11 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo12 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo13 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo14 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo15 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo16 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo17 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo18 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo19 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.ExcelWorksheetSettings excelWorksheetSettings1 = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings(); DevExpress.DataAccess.Excel.ExcelSourceOptions excelSourceOptions1 = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1); DevExpress.DataAccess.Json.CustomJsonSource customJsonSource1 = new DevExpress.DataAccess.Json.CustomJsonSource(); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode1 = new DevExpress.DataAccess.Json.JsonSchemaNode(); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode2 = new DevExpress.DataAccess.Json.JsonSchemaNode(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel(); DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView(); DevExpress.XtraCharts.ChartTitle chartTitle1 = new DevExpress.XtraCharts.ChartTitle(); DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.ChartTitle chartTitle2 = new DevExpress.XtraCharts.ChartTitle(); DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel2 = new DevExpress.XtraCharts.PieSeriesLabel(); DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView(); DevExpress.XtraCharts.ChartTitle chartTitle3 = new DevExpress.XtraCharts.ChartTitle(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo20 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.FieldInfo fieldInfo21 = new DevExpress.DataAccess.Excel.FieldInfo(); DevExpress.DataAccess.Excel.CsvSourceOptions csvSourceOptions2 = new DevExpress.DataAccess.Excel.CsvSourceOptions(); this.excelDataSource3 = new DevExpress.DataAccess.Excel.ExcelDataSource(); this.excelDataSource1 = new DevExpress.DataAccess.Excel.ExcelDataSource(); this.jsonDataSource1 = new DevExpress.DataAccess.Json.JsonDataSource(this.components); this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailCaption1 = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailData1 = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailData3_Odd = new DevExpress.XtraReports.UI.XRControlStyle(); this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.pageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.pageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.label1 = new DevExpress.XtraReports.UI.XRLabel(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrChart2 = new DevExpress.XtraReports.UI.XRChart(); this.xrChart3 = new DevExpress.XtraReports.UI.XRChart(); this.xrChart1 = new DevExpress.XtraReports.UI.XRChart(); this.xrPivotGrid1 = new DevExpress.XtraReports.UI.XRPivotGrid(); this.excelDataSource2 = new DevExpress.DataAccess.Excel.ExcelDataSource(); this.xrPivotGridField2 = new DevExpress.XtraReports.UI.PivotGrid.XRPivotGridField(); this.xrPivotGridField4 = new DevExpress.XtraReports.UI.PivotGrid.XRPivotGridField(); this.FolderDate = new DevExpress.XtraReports.Parameters.Parameter(); this.ROI = new DevExpress.XtraReports.Parameters.Parameter(); this.xrPivotGridField1 = new DevExpress.XtraReports.UI.PivotGrid.XRPivotGridField(); ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // excelDataSource3 // this.excelDataSource3.FileName = "C:\\repos\\miles\\SFX Trade Panel\\Archive r3 - May 2018 (updated) -lite\\Strat Trade " + "Files-20180424-170500\\PieChartTotal.csv"; this.excelDataSource3.Name = "excelDataSource3"; this.excelDataSource3.ResultSchemaSerializable = resources.GetString("excelDataSource3.ResultSchemaSerializable"); fieldInfo1.Name = "Items"; fieldInfo1.Type = typeof(string); fieldInfo2.Name = "Transactions"; fieldInfo2.Type = typeof(double); fieldInfo3.Name = "NetPnl"; fieldInfo3.Type = typeof(double); fieldInfo4.Name = "NetPips"; fieldInfo4.Type = typeof(double); this.excelDataSource3.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] { fieldInfo1, fieldInfo2, fieldInfo3, fieldInfo4 }); csvSourceOptions1.Culture = new System.Globalization.CultureInfo(""); csvSourceOptions1.DetectNewlineType = true; csvSourceOptions1.DetectValueSeparator = true; csvSourceOptions1.Encoding = ((System.Text.Encoding)(resources.GetObject("csvSourceOptions1.Encoding"))); csvSourceOptions1.NewlineType = DevExpress.DataAccess.Excel.CsvNewlineType.LF; this.excelDataSource3.SourceOptions = csvSourceOptions1; // // excelDataSource1 // this.excelDataSource1.FileName = "C:\\repos\\miles\\SFX Trade Panel\\Archive r3 - May 2018 (updated) -lite\\Strat Trade " + "Files-20180424-170500\\DetailedReportStatement_stratmator_9010_20180424-170000_Tr" + "ade.xlsx"; this.excelDataSource1.Name = "excelDataSource1"; this.excelDataSource1.ResultSchemaSerializable = resources.GetString("excelDataSource1.ResultSchemaSerializable"); fieldInfo5.Name = "Ticket"; fieldInfo5.Type = typeof(double); fieldInfo6.Name = "Open Time"; fieldInfo6.Type = typeof(string); fieldInfo7.Name = "Type"; fieldInfo7.Type = typeof(string); fieldInfo8.Name = "Size"; fieldInfo8.Type = typeof(double); fieldInfo9.Name = "Item"; fieldInfo9.Type = typeof(string); fieldInfo10.Name = "Price"; fieldInfo10.Type = typeof(double); fieldInfo11.Name = "S / L"; fieldInfo11.Type = typeof(double); fieldInfo12.Name = "T / P"; fieldInfo12.Type = typeof(double); fieldInfo13.Name = "Close Time"; fieldInfo13.Type = typeof(string); fieldInfo14.Name = "Column10"; fieldInfo14.Type = typeof(double); fieldInfo15.Name = "Commission"; fieldInfo15.Type = typeof(double); fieldInfo16.Name = "Taxes"; fieldInfo16.Type = typeof(double); fieldInfo17.Name = "Swap"; fieldInfo17.Type = typeof(double); fieldInfo18.Name = "Profit"; fieldInfo18.Type = typeof(double); fieldInfo19.Name = "Comment"; fieldInfo19.Type = typeof(string); this.excelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] { fieldInfo5, fieldInfo6, fieldInfo7, fieldInfo8, fieldInfo9, fieldInfo10, fieldInfo11, fieldInfo12, fieldInfo13, fieldInfo14, fieldInfo15, fieldInfo16, fieldInfo17, fieldInfo18, fieldInfo19 }); excelWorksheetSettings1.CellRange = null; excelWorksheetSettings1.WorksheetName = "DetailedReportStatement_stratma"; excelSourceOptions1.ImportSettings = excelWorksheetSettings1; this.excelDataSource1.SourceOptions = excelSourceOptions1; // // jsonDataSource1 // customJsonSource1.Json = "{\'date\': \'dateValue\'}"; this.jsonDataSource1.JsonSource = customJsonSource1; this.jsonDataSource1.Name = "jsonDataSource1"; jsonSchemaNode2.Value = new DevExpress.DataAccess.Json.JsonNode("date", true, DevExpress.DataAccess.Json.JsonNodeType.Property, typeof(string)); jsonSchemaNode1.Nodes.AddRange(new DevExpress.DataAccess.Node <DevExpress.DataAccess.Json.JsonNode>[] { jsonSchemaNode2 }); jsonSchemaNode1.Value = new DevExpress.DataAccess.Json.JsonNode("root", true); this.jsonDataSource1.Schema = jsonSchemaNode1; // // Title // this.Title.BackColor = System.Drawing.Color.Transparent; this.Title.BorderColor = System.Drawing.Color.Black; this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None; this.Title.BorderWidth = 1F; this.Title.Font = new System.Drawing.Font("Arial", 14.25F); this.Title.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.Title.Name = "Title"; // // DetailCaption1 // this.DetailCaption1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.DetailCaption1.BorderColor = System.Drawing.Color.White; this.DetailCaption1.Borders = DevExpress.XtraPrinting.BorderSide.Left; this.DetailCaption1.BorderWidth = 2F; this.DetailCaption1.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold); this.DetailCaption1.ForeColor = System.Drawing.Color.White; this.DetailCaption1.Name = "DetailCaption1"; this.DetailCaption1.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F); this.DetailCaption1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // DetailData1 // this.DetailData1.BorderColor = System.Drawing.Color.Transparent; this.DetailData1.Borders = DevExpress.XtraPrinting.BorderSide.Left; this.DetailData1.BorderWidth = 2F; this.DetailData1.Font = new System.Drawing.Font("Arial", 8.25F); this.DetailData1.ForeColor = System.Drawing.Color.Black; this.DetailData1.Name = "DetailData1"; this.DetailData1.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F); this.DetailData1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // DetailData3_Odd // this.DetailData3_Odd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231))))); this.DetailData3_Odd.BorderColor = System.Drawing.Color.Transparent; this.DetailData3_Odd.Borders = DevExpress.XtraPrinting.BorderSide.None; this.DetailData3_Odd.BorderWidth = 1F; this.DetailData3_Odd.Font = new System.Drawing.Font("Arial", 8.25F); this.DetailData3_Odd.ForeColor = System.Drawing.Color.Black; this.DetailData3_Odd.Name = "DetailData3_Odd"; this.DetailData3_Odd.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F); this.DetailData3_Odd.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // PageInfo // this.PageInfo.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold); this.PageInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.PageInfo.Name = "PageInfo"; this.PageInfo.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); // // TopMargin // this.TopMargin.HeightF = 31F; this.TopMargin.Name = "TopMargin"; // // BottomMargin // this.BottomMargin.Name = "BottomMargin"; // // pageInfo1 // this.pageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 552.9166F); this.pageInfo1.Name = "pageInfo1"; this.pageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; this.pageInfo1.SizeF = new System.Drawing.SizeF(313F, 23F); this.pageInfo1.StyleName = "PageInfo"; // // pageInfo2 // this.pageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(454F, 552.9166F); this.pageInfo2.Name = "pageInfo2"; this.pageInfo2.SizeF = new System.Drawing.SizeF(313F, 23F); this.pageInfo2.StyleName = "PageInfo"; this.pageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.pageInfo2.TextFormatString = "Page {0} of {1}"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2, this.xrLabel1, this.label1 }); this.ReportHeader.HeightF = 26.29164F; this.ReportHeader.Name = "ReportHeader"; // // xrLabel2 // this.xrLabel2.BackColor = System.Drawing.Color.White; this.xrLabel2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "?ROI") }); this.xrLabel2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); this.xrLabel2.ForeColor = System.Drawing.Color.Red; this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.SizeF = new System.Drawing.SizeF(70.58334F, 24.19432F); this.xrLabel2.StylePriority.UseBackColor = false; this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.StylePriority.UseForeColor = false; this.xrLabel2.StylePriority.UseTextAlignment = false; this.xrLabel2.Text = "xrLabel2"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel1 // this.xrLabel1.BackColor = System.Drawing.Color.White; this.xrLabel1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "?FolderDate") }); this.xrLabel1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Italic); this.xrLabel1.ForeColor = System.Drawing.Color.Gray; this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(596.0833F, 0F); this.xrLabel1.Multiline = true; this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.SizeF = new System.Drawing.SizeF(179.9167F, 24.19432F); this.xrLabel1.StylePriority.UseBackColor = false; this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UseForeColor = false; this.xrLabel1.StylePriority.UseTextAlignment = false; this.xrLabel1.Text = "xrLabel1"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // label1 // this.label1.BackColor = System.Drawing.Color.White; this.label1.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold); this.label1.ForeColor = System.Drawing.Color.OrangeRed; this.label1.LocationFloat = new DevExpress.Utils.PointFloat(70.58334F, 0F); this.label1.Name = "label1"; this.label1.SizeF = new System.Drawing.SizeF(490.0833F, 24.19433F); this.label1.StyleName = "Title"; this.label1.StylePriority.UseBackColor = false; this.label1.StylePriority.UseFont = false; this.label1.StylePriority.UseForeColor = false; this.label1.Text = "STRATAGEM FX-DAILY PANEL"; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrChart2, this.xrChart3, this.xrChart1, this.pageInfo2, this.pageInfo1, this.xrPivotGrid1 }); this.Detail.HeightF = 846.9166F; this.Detail.Name = "Detail"; // // xrChart2 // this.xrChart2.BackColor = System.Drawing.Color.White; this.xrChart2.BorderColor = System.Drawing.Color.Black; this.xrChart2.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrChart2.DataSource = this.excelDataSource3; this.xrChart2.Legend.Name = "Default Legend"; this.xrChart2.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True; this.xrChart2.LocationFloat = new DevExpress.Utils.PointFloat(313F, 12.66675F); this.xrChart2.Name = "xrChart2"; this.xrChart2.PaletteName = "Aspect"; series1.ArgumentDataMember = "Items"; pieSeriesLabel1.TextPattern = "{V:$0.00}"; series1.Label = pieSeriesLabel1; series1.Name = "Series 1"; series1.ValueDataMembersSerializable = "NetPips"; series1.View = pieSeriesView1; this.xrChart2.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 }; this.xrChart2.SizeF = new System.Drawing.SizeF(464F, 294F); this.xrChart2.StylePriority.UseBackColor = false; this.xrChart2.StylePriority.UseBorders = false; chartTitle1.Text = "Realized NetPips"; this.xrChart2.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle1 }); // // xrChart3 // this.xrChart3.BorderColor = System.Drawing.Color.Black; this.xrChart3.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrChart3.DataSource = this.excelDataSource3; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; xyDiagram1.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.DefaultPane.EnableAxisXZooming = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.DefaultPane.EnableAxisYZooming = DevExpress.Utils.DefaultBoolean.False; this.xrChart3.Diagram = xyDiagram1; this.xrChart3.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center; this.xrChart3.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside; this.xrChart3.Legend.ItemVisibilityMode = DevExpress.XtraCharts.LegendItemVisibilityMode.AutoGeneratedAndCustom; this.xrChart3.Legend.MarkerMode = DevExpress.XtraCharts.LegendMarkerMode.CheckBox; this.xrChart3.Legend.Name = "Default Legend"; this.xrChart3.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False; this.xrChart3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 319.1667F); this.xrChart3.Name = "xrChart3"; series2.ArgumentDataMember = "Items"; series2.DataSource = this.excelDataSource3; series2.Name = "Series 1"; series2.ShowInLegend = false; series2.ValueDataMembersSerializable = "Transactions"; this.xrChart3.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series2 }; this.xrChart3.SizeF = new System.Drawing.SizeF(294F, 233.75F); chartTitle2.Text = "Transactions"; this.xrChart3.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle2 }); // // xrChart1 // this.xrChart1.BackColor = System.Drawing.Color.White; this.xrChart1.BorderColor = System.Drawing.Color.Black; this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrChart1.DataSource = this.excelDataSource3; this.xrChart1.Legend.Name = "Default Legend"; this.xrChart1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True; this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(313F, 319.1667F); this.xrChart1.Name = "xrChart1"; this.xrChart1.PaletteName = "Aspect"; series3.ArgumentDataMember = "Items"; pieSeriesLabel2.TextPattern = "{V:$0.00}"; series3.Label = pieSeriesLabel2; series3.Name = "Series 1"; series3.ValueDataMembersSerializable = "NetPnl"; series3.View = pieSeriesView2; this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series3 }; this.xrChart1.SizeF = new System.Drawing.SizeF(454F, 294F); this.xrChart1.StylePriority.UseBackColor = false; this.xrChart1.StylePriority.UseBorders = false; chartTitle3.Text = "Realized NetPnL"; this.xrChart1.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle3 }); // // xrPivotGrid1 // this.xrPivotGrid1.Appearance.Cell.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.CustomTotalCell.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.FieldHeader.BackColor = System.Drawing.Color.White; this.xrPivotGrid1.Appearance.FieldHeader.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.FieldHeader.ForeColor = System.Drawing.Color.OrangeRed; this.xrPivotGrid1.Appearance.FieldValue.BackColor = System.Drawing.Color.White; this.xrPivotGrid1.Appearance.FieldValue.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.FieldValueGrandTotal.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.FieldValueTotal.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.GrandTotalCell.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.Lines.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.Appearance.TotalCell.Font = new System.Drawing.Font("Tahoma", 8.25F); this.xrPivotGrid1.DataSource = this.excelDataSource2; this.xrPivotGrid1.Fields.AddRange(new DevExpress.XtraReports.UI.PivotGrid.XRPivotGridField[] { this.xrPivotGridField2, this.xrPivotGridField4 }); this.xrPivotGrid1.LocationFloat = new DevExpress.Utils.PointFloat(9.999998F, 10.00001F); this.xrPivotGrid1.Name = "xrPivotGrid1"; this.xrPivotGrid1.OptionsChartDataSource.ProvideDataFieldsOnSeries = true; this.xrPivotGrid1.OptionsPrint.FilterSeparatorBarPadding = 3; this.xrPivotGrid1.OptionsPrint.PrintFilterHeaders = DevExpress.Utils.DefaultBoolean.False; this.xrPivotGrid1.OptionsView.ColumnTotalsLocation = DevExpress.XtraPivotGrid.PivotTotalsLocation.Near; this.xrPivotGrid1.OptionsView.GroupFieldsInCustomizationWindow = false; this.xrPivotGrid1.OptionsView.ShowColumnGrandTotalHeader = false; this.xrPivotGrid1.OptionsView.ShowColumnGrandTotals = false; this.xrPivotGrid1.OptionsView.ShowColumnHeaders = false; this.xrPivotGrid1.OptionsView.ShowColumnTotals = false; this.xrPivotGrid1.OptionsView.ShowFilterHeaders = false; this.xrPivotGrid1.OptionsView.ShowRowGrandTotalHeader = false; this.xrPivotGrid1.OptionsView.ShowRowGrandTotals = false; this.xrPivotGrid1.OptionsView.ShowRowTotals = false; this.xrPivotGrid1.SizeF = new System.Drawing.SizeF(288.4167F, 296.6667F); this.xrPivotGrid1.CustomFieldValueCells += new System.EventHandler <DevExpress.XtraReports.UI.PivotGrid.PivotCustomFieldValueCellsEventArgs>(this.xrPivotGrid1_CustomFieldValueCells); // // excelDataSource2 // this.excelDataSource2.FileName = "C:\\repos\\miles\\SFX Trade Panel\\Archive r3 - May 2018 (updated) -lite\\Strat Trade " + "Files-20180424-170500\\ExecSumReport_stratmator_9010_20180424-170000.csv"; this.excelDataSource2.Name = "excelDataSource2"; this.excelDataSource2.ResultSchemaSerializable = "PFZpZXc+PEZpZWxkIE5hbWU9Ik5hbWUiIFR5cGU9IlN0cmluZyIgLz48RmllbGQgTmFtZT0iVmFsdWUiI" + "FR5cGU9IlN0cmluZyIgLz48L1ZpZXc+"; fieldInfo20.Name = "Name"; fieldInfo20.Type = typeof(string); fieldInfo21.Name = "Value"; fieldInfo21.Type = typeof(string); this.excelDataSource2.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] { fieldInfo20, fieldInfo21 }); csvSourceOptions2.Culture = new System.Globalization.CultureInfo(""); csvSourceOptions2.DetectNewlineType = true; csvSourceOptions2.DetectValueSeparator = true; csvSourceOptions2.Encoding = ((System.Text.Encoding)(resources.GetObject("csvSourceOptions2.Encoding"))); csvSourceOptions2.UseFirstRowAsHeader = false; this.excelDataSource2.SourceOptions = csvSourceOptions2; // // xrPivotGridField2 // this.xrPivotGridField2.Appearance.FieldHeader.BackColor = System.Drawing.Color.White; this.xrPivotGridField2.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea; this.xrPivotGridField2.AreaIndex = 0; this.xrPivotGridField2.FieldName = "Name"; this.xrPivotGridField2.Name = "xrPivotGridField2"; this.xrPivotGridField2.Options.ShowCustomTotals = false; this.xrPivotGridField2.Options.ShowGrandTotal = false; this.xrPivotGridField2.Options.ShowTotals = false; this.xrPivotGridField2.SummaryDisplayType = DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentVariation; this.xrPivotGridField2.Width = 122; // // xrPivotGridField4 // this.xrPivotGridField4.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea; this.xrPivotGridField4.AreaIndex = 1; this.xrPivotGridField4.FieldName = "Value"; this.xrPivotGridField4.Name = "xrPivotGridField4"; this.xrPivotGridField4.Options.ShowCustomTotals = false; this.xrPivotGridField4.Options.ShowGrandTotal = false; this.xrPivotGridField4.Options.ShowTotals = false; this.xrPivotGridField4.Width = 168; // // FolderDate // this.FolderDate.Description = "Date parsed from the folder name"; this.FolderDate.Name = "FolderDate"; this.FolderDate.Type = typeof(int); this.FolderDate.ValueInfo = "0"; // // ROI // this.ROI.Description = "ROI percentage value"; this.ROI.Name = "ROI"; this.ROI.Type = typeof(int); this.ROI.ValueInfo = "0"; // // xrPivotGridField1 // this.xrPivotGridField1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea; this.xrPivotGridField1.AreaIndex = 0; this.xrPivotGridField1.Name = "xrPivotGridField1"; // // XtraReport2 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.TopMargin, this.BottomMargin, this.ReportHeader, this.Detail }); this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.jsonDataSource1, this.excelDataSource1, this.excelDataSource2, this.excelDataSource3 }); this.DataSource = this.jsonDataSource1; this.Font = new System.Drawing.Font("Arial", 9.75F); this.Margins = new System.Drawing.Printing.Margins(40, 33, 31, 100); this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { this.FolderDate, this.ROI }); this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.Title, this.DetailCaption1, this.DetailData1, this.DetailData3_Odd, this.PageInfo }); this.Version = "18.2"; ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }