/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.DashboardCommon.Dimension dimension1 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure1 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Measure measure2 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod1 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit1 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit2 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod2 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit3 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit4 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod3 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit5 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit6 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod4 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit7 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit8 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod5 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit9 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit10 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod6 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit11 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit12 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod7 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit13 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit14 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.SimpleSeries simpleSeries1 = new DevExpress.DashboardCommon.SimpleSeries(); DevExpress.DashboardCommon.SimpleSeries simpleSeries2 = new DevExpress.DashboardCommon.SimpleSeries(); DevExpress.DashboardCommon.CalculatedField calculatedField1 = new DevExpress.DashboardCommon.CalculatedField(); DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters(); DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column2 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression2 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table2 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column3 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression3 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column4 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression4 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column5 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression5 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column6 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression6 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column7 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression7 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column8 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression8 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.AllColumns allColumns1 = new DevExpress.DataAccess.Sql.AllColumns(); DevExpress.DataAccess.Sql.AllColumns allColumns2 = new DevExpress.DataAccess.Sql.AllColumns(); DevExpress.DataAccess.Sql.Join join1 = new DevExpress.DataAccess.Sql.Join(); DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Report_DTBanHang)); DevExpress.DashboardCommon.Dimension dimension2 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn1 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.GridColumnTotal gridColumnTotal1 = new DevExpress.DashboardCommon.GridColumnTotal(); DevExpress.DashboardCommon.Dimension dimension3 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn2 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Measure measure3 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.GridMeasureColumn gridMeasureColumn1 = new DevExpress.DashboardCommon.GridMeasureColumn(); DevExpress.DashboardCommon.GridColumnTotal gridColumnTotal2 = new DevExpress.DashboardCommon.GridColumnTotal(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule1 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet1 = new DevExpress.DashboardCommon.FormatConditionRangeSet(); DevExpress.DashboardCommon.RangeInfo rangeInfo1 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings1 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo2 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings2 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo3 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings3 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo4 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings4 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.Dimension dimension4 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn3 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.GridColumnTotal gridColumnTotal3 = new DevExpress.DashboardCommon.GridColumnTotal(); DevExpress.DashboardCommon.Measure measure4 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.GridMeasureColumn gridMeasureColumn2 = new DevExpress.DashboardCommon.GridMeasureColumn(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule2 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet2 = new DevExpress.DashboardCommon.FormatConditionRangeSet(); DevExpress.DashboardCommon.RangeInfo rangeInfo5 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings5 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo6 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings6 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo7 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings7 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo8 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings8 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.Dimension dimension5 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn4 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Measure measure5 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.GridMeasureColumn gridMeasureColumn3 = new DevExpress.DashboardCommon.GridMeasureColumn(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule3 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet3 = new DevExpress.DashboardCommon.FormatConditionRangeSet(); DevExpress.DashboardCommon.RangeInfo rangeInfo9 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings9 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo10 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings10 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo11 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings11 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo12 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings12 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem1 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem2 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem3 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem4 = new DevExpress.DashboardCommon.DashboardLayoutItem(); this.rangeFilterDashboardItem1 = new DevExpress.DashboardCommon.RangeFilterDashboardItem(); this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource(); this.gridDashboardItem1 = new DevExpress.DashboardCommon.GridDashboardItem(); this.gridDashboardItem2 = new DevExpress.DashboardCommon.GridDashboardItem(); this.gridDashboardItem3 = new DevExpress.DashboardCommon.GridDashboardItem(); ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // rangeFilterDashboardItem1 // dimension1.DataMember = "DoanhThu_ngaytaodt"; dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear; this.rangeFilterDashboardItem1.Argument = dimension1; this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1"; measure1.DataMember = "tong dt"; measure2.DataMember = "DoanhThuTheoCa_tenCa"; measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Count; this.rangeFilterDashboardItem1.DataItemRepository.Clear(); this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2"); this.rangeFilterDashboardItem1.DataItemRepository.Add(measure1, "DataItem1"); this.rangeFilterDashboardItem1.DataItemRepository.Add(measure2, "DataItem0"); this.rangeFilterDashboardItem1.DataMember = "DoanhThu"; this.rangeFilterDashboardItem1.DataSource = this.dashboardSqlDataSource1; flowDateTimePeriodLimit1.Offset = 1; dateTimePeriod1.End = flowDateTimePeriodLimit1; dateTimePeriod1.Name = "Năm Hiện Tại"; dateTimePeriod1.Start = flowDateTimePeriodLimit2; flowDateTimePeriodLimit3.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit3.Offset = 1; dateTimePeriod2.End = flowDateTimePeriodLimit3; dateTimePeriod2.Name = "Tháng Hiện Tại"; flowDateTimePeriodLimit4.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod2.Start = flowDateTimePeriodLimit4; dateTimePeriod3.End = flowDateTimePeriodLimit5; dateTimePeriod3.Name = "Năm Trước"; flowDateTimePeriodLimit6.Offset = -1; dateTimePeriod3.Start = flowDateTimePeriodLimit6; flowDateTimePeriodLimit7.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod4.End = flowDateTimePeriodLimit7; dateTimePeriod4.Name = "Tháng trước"; flowDateTimePeriodLimit8.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit8.Offset = -1; dateTimePeriod4.Start = flowDateTimePeriodLimit8; flowDateTimePeriodLimit9.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod5.End = flowDateTimePeriodLimit9; dateTimePeriod5.Name = "3 tháng trước"; flowDateTimePeriodLimit10.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit10.Offset = -3; dateTimePeriod5.Start = flowDateTimePeriodLimit10; flowDateTimePeriodLimit11.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod6.End = flowDateTimePeriodLimit11; dateTimePeriod6.Name = "6 tháng trước"; flowDateTimePeriodLimit12.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit12.Offset = -6; dateTimePeriod6.Start = flowDateTimePeriodLimit12; flowDateTimePeriodLimit13.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod7.End = flowDateTimePeriodLimit13; dateTimePeriod7.Name = "12 tháng trước"; flowDateTimePeriodLimit14.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit14.Offset = -12; dateTimePeriod7.Start = flowDateTimePeriodLimit14; this.rangeFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] { dateTimePeriod1, dateTimePeriod2, dateTimePeriod3, dateTimePeriod4, dateTimePeriod5, dateTimePeriod6, dateTimePeriod7 }); this.rangeFilterDashboardItem1.DefaultDateTimePeriodName = "Năm Hiện Tại"; this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true; this.rangeFilterDashboardItem1.Name = "Bộ Lọc Doanh Thu theo năm tháng"; simpleSeries1.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar; simpleSeries1.AddDataItem("Value", measure2); simpleSeries2.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar; simpleSeries2.AddDataItem("Value", measure1); this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] { simpleSeries1, simpleSeries2 }); this.rangeFilterDashboardItem1.ShowCaption = true; // // dashboardSqlDataSource1 // calculatedField1.DataMember = "DoanhThu"; calculatedField1.Expression = "[DoanhThuTheoCa_tiendelai] + [DoanhThuTheoCa_doanhthutheoca] + [DoanhThuTheoCa_do" + "anhthukhac]"; calculatedField1.Name = "tong dt"; this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] { calculatedField1 }); this.dashboardSqlDataSource1.ComponentName = "dashboardSqlDataSource1"; this.dashboardSqlDataSource1.ConnectionName = "localhost_BaoCaoThuChi_Connection"; msSqlConnectionParameters1.AuthorizationType = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows; msSqlConnectionParameters1.DatabaseName = "BaoCaoThuChi"; msSqlConnectionParameters1.ServerName = "localhost"; this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1; this.dashboardSqlDataSource1.Name = "SQL Data Source 1"; columnExpression1.ColumnName = "ngaytaodt"; table1.MetaSerializable = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"110\" />"; table1.Name = "DoanhThu"; columnExpression1.Table = table1; column1.Expression = columnExpression1; columnExpression2.ColumnName = "tenCa"; table2.MetaSerializable = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"194\" />"; table2.Name = "DoanhThuTheoCa"; columnExpression2.Table = table2; column2.Expression = columnExpression2; column3.Alias = "DoanhThuTheoCa_doanhthuID"; columnExpression3.ColumnName = "doanhthuID"; columnExpression3.Table = table2; column3.Expression = columnExpression3; columnExpression4.ColumnName = "tiendelai"; columnExpression4.Table = table2; column4.Expression = columnExpression4; columnExpression5.ColumnName = "doanhthutheoca"; columnExpression5.Table = table2; column5.Expression = columnExpression5; columnExpression6.ColumnName = "doanhthukhac"; columnExpression6.Table = table2; column6.Expression = columnExpression6; columnExpression7.ColumnName = "doanhthuID"; columnExpression7.Table = table1; column7.Expression = columnExpression7; columnExpression8.ColumnName = "caID"; columnExpression8.Table = table2; column8.Expression = columnExpression8; allColumns1.Table = table2; allColumns2.Table = table1; selectQuery1.Columns.Add(column1); selectQuery1.Columns.Add(column2); selectQuery1.Columns.Add(column3); selectQuery1.Columns.Add(column4); selectQuery1.Columns.Add(column5); selectQuery1.Columns.Add(column6); selectQuery1.Columns.Add(column7); selectQuery1.Columns.Add(column8); selectQuery1.Columns.Add(allColumns1); selectQuery1.Columns.Add(allColumns2); selectQuery1.Name = "DoanhThu"; relationColumnInfo1.NestedKeyColumn = "doanhthuID"; relationColumnInfo1.ParentKeyColumn = "doanhthuID"; join1.KeyColumns.Add(relationColumnInfo1); join1.Nested = table2; join1.Parent = table1; selectQuery1.Relations.Add(join1); selectQuery1.Tables.Add(table1); selectQuery1.Tables.Add(table2); this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1 }); this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable"); // // gridDashboardItem1 // dimension2.DataMember = "DoanhThu_ngaytaodt"; dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear; dimension2.Name = "Ngày tạo Doanh Thu"; dimension2.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; gridDimensionColumn1.FixedWidth = 57.491674693821388D; gridDimensionColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] { gridColumnTotal1 }); gridDimensionColumn1.Weight = 97.358900144717822D; gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn1.AddDataItem("Dimension", dimension2); dimension3.DataMember = "tenCa"; dimension3.Name = "Tên Ca"; gridDimensionColumn2.Weight = 26.049204052098414D; gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.FitToContent; gridDimensionColumn2.AddDataItem("Dimension", dimension3); measure3.DataMember = "tong dt"; measure3.NumericFormat.CurrencyCultureName = "vi-VN"; measure3.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency; gridMeasureColumn1.Name = "Tổng"; gridColumnTotal2.TotalType = DevExpress.DashboardCommon.GridColumnTotalType.Sum; gridMeasureColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] { gridColumnTotal2 }); gridMeasureColumn1.Weight = 101.59189580318382D; gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridMeasureColumn1.AddDataItem("Measure", measure3); this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn1, gridDimensionColumn2, gridMeasureColumn1 }); this.gridDashboardItem1.ComponentName = "gridDashboardItem1"; this.gridDashboardItem1.DataItemRepository.Clear(); this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0"); this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1"); this.gridDashboardItem1.DataItemRepository.Add(measure3, "DataItem2"); this.gridDashboardItem1.DataMember = "DoanhThu"; this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1; iconSettings1.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow; rangeInfo1.StyleSettings = iconSettings1; rangeInfo1.Value = 0D; iconSettings2.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow; rangeInfo2.StyleSettings = iconSettings2; rangeInfo2.Value = 25D; iconSettings3.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow; rangeInfo3.StyleSettings = iconSettings3; rangeInfo3.Value = 50D; iconSettings4.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp; rangeInfo4.StyleSettings = iconSettings4; rangeInfo4.Value = 75D; formatConditionRangeSet1.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] { rangeInfo1, rangeInfo2, rangeInfo3, rangeInfo4 }); formatConditionRangeSet1.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent; gridItemFormatRule1.Condition = formatConditionRangeSet1; gridItemFormatRule1.DataItem = measure3; gridItemFormatRule1.Name = "FormatRule 1"; this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule1 }); this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual; this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem1.Name = "Chi tiết theo ngày"; this.gridDashboardItem1.ShowCaption = true; // // gridDashboardItem2 // dimension4.DataMember = "DoanhThu_ngaytaodt"; dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear; dimension4.Name = "Ngày tạo Doanh Thu (Month-Year)"; dimension4.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; gridDimensionColumn3.Name = "Tháng Năm"; gridDimensionColumn3.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] { gridColumnTotal3 }); gridDimensionColumn3.Weight = 78.468208092485554D; gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn3.AddDataItem("Dimension", dimension4); measure4.DataMember = "tong dt"; measure4.Name = "Tổng"; measure4.NumericFormat.CurrencyCultureName = "vi-VN"; measure4.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency; gridMeasureColumn2.Weight = 71.531791907514446D; gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridMeasureColumn2.AddDataItem("Measure", measure4); this.gridDashboardItem2.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn3, gridMeasureColumn2 }); this.gridDashboardItem2.ComponentName = "gridDashboardItem2"; this.gridDashboardItem2.DataItemRepository.Clear(); this.gridDashboardItem2.DataItemRepository.Add(dimension4, "DataItem0"); this.gridDashboardItem2.DataItemRepository.Add(measure4, "DataItem1"); this.gridDashboardItem2.DataMember = "DoanhThu"; this.gridDashboardItem2.DataSource = this.dashboardSqlDataSource1; iconSettings5.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow; rangeInfo5.StyleSettings = iconSettings5; rangeInfo5.Value = 0D; iconSettings6.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow; rangeInfo6.StyleSettings = iconSettings6; rangeInfo6.Value = 25D; iconSettings7.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow; rangeInfo7.StyleSettings = iconSettings7; rangeInfo7.Value = 50D; iconSettings8.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp; rangeInfo8.StyleSettings = iconSettings8; rangeInfo8.Value = 75D; formatConditionRangeSet2.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] { rangeInfo5, rangeInfo6, rangeInfo7, rangeInfo8 }); formatConditionRangeSet2.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent; gridItemFormatRule2.Condition = formatConditionRangeSet2; gridItemFormatRule2.DataItem = measure4; gridItemFormatRule2.Name = "FormatRule 1"; this.gridDashboardItem2.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule2 }); this.gridDashboardItem2.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual; this.gridDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem2.Name = "Tổng theo Tháng"; this.gridDashboardItem2.ShowCaption = true; // // gridDashboardItem3 // dimension5.DataMember = "DoanhThu_ngaytaodt"; gridDimensionColumn4.Name = "Năm"; gridDimensionColumn4.Weight = 95.717344753747327D; gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn4.AddDataItem("Dimension", dimension5); measure5.DataMember = "tong dt"; measure5.NumericFormat.CurrencyCultureName = "vi-VN"; measure5.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency; gridMeasureColumn3.Name = "Tổng"; gridMeasureColumn3.Weight = 54.282655246252673D; gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridMeasureColumn3.AddDataItem("Measure", measure5); this.gridDashboardItem3.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn4, gridMeasureColumn3 }); this.gridDashboardItem3.ComponentName = "gridDashboardItem3"; this.gridDashboardItem3.DataItemRepository.Clear(); this.gridDashboardItem3.DataItemRepository.Add(dimension5, "DataItem0"); this.gridDashboardItem3.DataItemRepository.Add(measure5, "DataItem1"); this.gridDashboardItem3.DataMember = "DoanhThu"; this.gridDashboardItem3.DataSource = this.dashboardSqlDataSource1; iconSettings9.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow; rangeInfo9.StyleSettings = iconSettings9; rangeInfo9.Value = 0D; iconSettings10.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow; rangeInfo10.StyleSettings = iconSettings10; rangeInfo10.Value = 25D; iconSettings11.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow; rangeInfo11.StyleSettings = iconSettings11; rangeInfo11.Value = 50D; iconSettings12.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp; rangeInfo12.StyleSettings = iconSettings12; rangeInfo12.Value = 75D; formatConditionRangeSet3.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] { rangeInfo9, rangeInfo10, rangeInfo11, rangeInfo12 }); formatConditionRangeSet3.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent; gridItemFormatRule3.Condition = formatConditionRangeSet3; gridItemFormatRule3.DataItem = measure5; gridItemFormatRule3.Name = "FormatRule 1"; this.gridDashboardItem3.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule3 }); this.gridDashboardItem3.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual; this.gridDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem3.Name = "Tổng theo Năm"; this.gridDashboardItem3.ShowCaption = true; // // Report_DTBanHang // this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] { this.dashboardSqlDataSource1 }); this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] { this.gridDashboardItem1, this.rangeFilterDashboardItem1, this.gridDashboardItem2, this.gridDashboardItem3 }); dashboardLayoutItem1.DashboardItem = this.rangeFilterDashboardItem1; dashboardLayoutItem1.Weight = 40.465116279069768D; dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1; dashboardLayoutItem2.Weight = 65.9963436928702D; dashboardLayoutItem3.DashboardItem = this.gridDashboardItem2; dashboardLayoutItem3.Weight = 50.520833333333336D; dashboardLayoutItem4.DashboardItem = this.gridDashboardItem3; dashboardLayoutItem4.Weight = 49.479166666666664D; dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem3, dashboardLayoutItem4 }); dashboardLayoutGroup3.DashboardItem = null; dashboardLayoutGroup3.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; dashboardLayoutGroup3.Weight = 34.0036563071298D; dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem2, dashboardLayoutGroup3 }); dashboardLayoutGroup2.DashboardItem = null; dashboardLayoutGroup2.Weight = 59.534883720930232D; dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem1, dashboardLayoutGroup2 }); dashboardLayoutGroup1.DashboardItem = null; dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; dashboardLayoutGroup1.Weight = 100D; this.LayoutRoot = dashboardLayoutGroup1; this.Title.Text = "Dashboard"; ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.DashboardCommon.CalculatedField calculatedField1 = new DevExpress.DashboardCommon.CalculatedField(); DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column2 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression2 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column3 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression3 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column4 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression4 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column5 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression5 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column6 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression6 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column7 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression7 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column8 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression8 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column9 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression9 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column10 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column11 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression11 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column12 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression12 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column13 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression13 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table2 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Join join1 = new DevExpress.DataAccess.Sql.Join(); DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_roadmap)); DevExpress.DashboardCommon.Dimension dimension1 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn1 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension2 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn2 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension3 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn3 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension4 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn4 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension5 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn5 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension6 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn6 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension7 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn7 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Dimension dimension8 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn8 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule1 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionExpression formatConditionExpression1 = new DevExpress.DashboardCommon.FormatConditionExpression(); DevExpress.DashboardCommon.IconSettings iconSettings1 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule2 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionExpression formatConditionExpression2 = new DevExpress.DashboardCommon.FormatConditionExpression(); DevExpress.DashboardCommon.IconSettings iconSettings2 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule3 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionExpression formatConditionExpression3 = new DevExpress.DashboardCommon.FormatConditionExpression(); DevExpress.DashboardCommon.IconSettings iconSettings3 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule4 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionBar formatConditionBar1 = new DevExpress.DashboardCommon.FormatConditionBar(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem1 = new DevExpress.DashboardCommon.DashboardLayoutItem(); this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource(); this.gridDashboardItem1 = new DevExpress.DashboardCommon.GridDashboardItem(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // dashboardSqlDataSource1 // calculatedField1.DataMember = "rc_projects"; calculatedField1.Expression = "DateDiffMonth([Start Date], [Estimated End Date])"; calculatedField1.Name = "Length"; this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] { calculatedField1 }); this.dashboardSqlDataSource1.ComponentName = "dashboardSqlDataSource1"; this.dashboardSqlDataSource1.ConnectionName = "DevDB"; this.dashboardSqlDataSource1.Name = "RoadMap"; column1.Alias = "Project"; columnExpression1.ColumnName = "pro_name"; table1.MetaSerializable = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"362\" />"; table1.Name = "rc_projects"; columnExpression1.Table = table1; column1.Expression = columnExpression1; column2.Alias = "Color"; columnExpression2.ColumnName = "pro_color"; columnExpression2.Table = table1; column2.Expression = columnExpression2; column3.Alias = "Start Date"; columnExpression3.ColumnName = "pro_startDate"; columnExpression3.Table = table1; column3.Expression = columnExpression3; column4.Alias = "Target 1"; columnExpression4.ColumnName = "pro_targetDate1"; columnExpression4.Table = table1; column4.Expression = columnExpression4; column5.Alias = "Target 2"; columnExpression5.ColumnName = "pro_targetDate2"; columnExpression5.Table = table1; column5.Expression = columnExpression5; column6.Alias = "Target 3"; columnExpression6.ColumnName = "pro_targetDate3"; columnExpression6.Table = table1; column6.Expression = columnExpression6; column7.Alias = "Estimated End Date"; columnExpression7.ColumnName = "pro_endDate"; columnExpression7.Table = table1; column7.Expression = columnExpression7; column8.Alias = "Certification Date"; columnExpression8.ColumnName = "pro_certificationDate"; columnExpression8.Table = table1; column8.Expression = columnExpression8; column9.Alias = "Actual End Date"; columnExpression9.ColumnName = "pro_actualEndDate"; columnExpression9.Table = table1; column9.Expression = columnExpression9; column10.Alias = "Manager"; columnExpression10.ColumnName = "pro_projectManager"; columnExpression10.Table = table1; column10.Expression = columnExpression10; column11.Alias = "Status"; columnExpression11.ColumnName = "pro_status"; columnExpression11.Table = table1; column11.Expression = columnExpression11; columnExpression12.ColumnName = "pro_IsDeleted"; columnExpression12.Table = table1; column12.Expression = columnExpression12; column13.Alias = "Milestone"; columnExpression13.ColumnName = "mil_name"; table2.MetaSerializable = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"153\" />"; table2.Name = "rc_milestones"; columnExpression13.Table = table2; column13.Expression = columnExpression13; selectQuery1.Columns.Add(column1); selectQuery1.Columns.Add(column2); selectQuery1.Columns.Add(column3); selectQuery1.Columns.Add(column4); selectQuery1.Columns.Add(column5); selectQuery1.Columns.Add(column6); selectQuery1.Columns.Add(column7); selectQuery1.Columns.Add(column8); selectQuery1.Columns.Add(column9); selectQuery1.Columns.Add(column10); selectQuery1.Columns.Add(column11); selectQuery1.Columns.Add(column12); selectQuery1.Columns.Add(column13); selectQuery1.FilterString = "[rc_projects.pro_IsDeleted] = False"; selectQuery1.GroupFilterString = ""; selectQuery1.Name = "rc_projects"; relationColumnInfo1.NestedKeyColumn = "mil_id"; relationColumnInfo1.ParentKeyColumn = "pro_milestoneId"; join1.KeyColumns.Add(relationColumnInfo1); join1.Nested = table2; join1.Parent = table1; selectQuery1.Relations.Add(join1); selectQuery1.Tables.Add(table1); selectQuery1.Tables.Add(table2); this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1 }); this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable"); // // gridDashboardItem1 // dimension1.DataMember = "Status"; gridDimensionColumn1.FixedWidth = 0.01D; gridDimensionColumn1.Weight = 16.249315307677087D; gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.FixedWidth; gridDimensionColumn1.AddDataItem("Dimension", dimension1); dimension2.DataMember = "Project"; dimension2.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; gridDimensionColumn2.Weight = 20.417356672550337D; gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn2.AddDataItem("Dimension", dimension2); dimension3.DataMember = "Milestone"; gridDimensionColumn3.Weight = 8.894690035566482D; gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn3.AddDataItem("Dimension", dimension3); dimension4.DataMember = "Manager"; dimension4.ShowGrandTotals = false; dimension4.ShowTotals = false; dimension4.ShowValues = false; gridDimensionColumn4.Weight = 11.017286521326668D; gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn4.AddDataItem("Dimension", dimension4); dimension5.DataMember = "Start Date"; dimension5.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear; gridDimensionColumn5.Weight = 16.778619839818592D; gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn5.AddDataItem("Dimension", dimension5); dimension6.DataMember = "Estimated End Date"; dimension6.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear; gridDimensionColumn6.Weight = 19.406596441235966D; gridDimensionColumn6.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn6.AddDataItem("Dimension", dimension6); dimension7.DataMember = "Actual End Date"; dimension7.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear; dimension7.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; gridDimensionColumn7.Weight = 17.68830404800153D; gridDimensionColumn7.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn7.AddDataItem("Dimension", dimension7); dimension8.DataMember = "Certification Date"; dimension8.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear; dimension8.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; gridDimensionColumn8.Weight = 25.471157829122202D; gridDimensionColumn8.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn8.AddDataItem("Dimension", dimension8); this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn1, gridDimensionColumn2, gridDimensionColumn3, gridDimensionColumn4, gridDimensionColumn5, gridDimensionColumn6, gridDimensionColumn7, gridDimensionColumn8 }); this.gridDashboardItem1.ComponentName = "gridDashboardItem1"; this.gridDashboardItem1.DataItemRepository.Clear(); this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0"); this.gridDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1"); this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem4"); this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem5"); this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem2"); this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem3"); this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem6"); this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem7"); this.gridDashboardItem1.DataMember = "rc_projects"; this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1; formatConditionExpression1.Expression = "[DataItem3] = \'#22EA21\'"; iconSettings1.IconType = DevExpress.DashboardCommon.FormatConditionIconType.ShapeGreenCircle; formatConditionExpression1.StyleSettings = iconSettings1; gridItemFormatRule1.Condition = formatConditionExpression1; gridItemFormatRule1.DataItem = dimension2; gridItemFormatRule1.Name = "FormatRule 1"; formatConditionExpression2.Expression = "[DataItem3] = \'#F2F91D\'"; iconSettings2.IconType = DevExpress.DashboardCommon.FormatConditionIconType.ShapeYellowCircle; formatConditionExpression2.StyleSettings = iconSettings2; gridItemFormatRule2.Condition = formatConditionExpression2; gridItemFormatRule2.DataItem = dimension2; gridItemFormatRule2.Name = "FormatRule 2"; formatConditionExpression3.Expression = "[DataItem3] = \'#FA3815\'"; iconSettings3.IconType = DevExpress.DashboardCommon.FormatConditionIconType.ShapeRedCircle; formatConditionExpression3.StyleSettings = iconSettings3; gridItemFormatRule3.Condition = formatConditionExpression3; gridItemFormatRule3.DataItem = dimension2; gridItemFormatRule3.Name = "FormatRule 3"; formatConditionBar1.BarOptions.DrawAxis = true; formatConditionBar1.BarOptions.ShowBarOnly = true; formatConditionBar1.NegativeStyleSettings.PredefinedColor = DevExpress.DashboardCommon.FormatConditionAppearanceType.PaleRed; formatConditionBar1.StyleSettings.PredefinedColor = DevExpress.DashboardCommon.FormatConditionAppearanceType.PaleRed; gridItemFormatRule4.Condition = formatConditionBar1; gridItemFormatRule4.Enabled = false; gridItemFormatRule4.Name = "FormatRule 4"; this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule1, gridItemFormatRule2, gridItemFormatRule3, gridItemFormatRule4 }); this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual; this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem1.Name = "Grid 1"; this.gridDashboardItem1.ShowCaption = false; // // dash_ent_roadmap // this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] { this.dashboardSqlDataSource1 }); this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] { this.gridDashboardItem1 }); dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1; dashboardLayoutItem1.Weight = 50.07727975270479D; dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem1 }); dashboardLayoutGroup1.DashboardItem = null; dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; this.LayoutRoot = dashboardLayoutGroup1; this.Title.Text = "Dashboard"; this.Title.Visible = false; ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.DashboardCommon.Dimension dimension1 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension2 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension3 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension4 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure1 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Measure measure2 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.ChartPane chartPane1 = new DevExpress.DashboardCommon.ChartPane(); DevExpress.DashboardCommon.SimpleSeries simpleSeries1 = new DevExpress.DashboardCommon.SimpleSeries(); DevExpress.DashboardCommon.SimpleSeries simpleSeries2 = new DevExpress.DashboardCommon.SimpleSeries(); DevExpress.DashboardCommon.CalculatedField calculatedField1 = new DevExpress.DashboardCommon.CalculatedField(); DevExpress.DataAccess.Sql.CustomSqlQuery customSqlQuery1 = new DevExpress.DataAccess.Sql.CustomSqlQuery(); DevExpress.DataAccess.Sql.QueryParameter queryParameter1 = new DevExpress.DataAccess.Sql.QueryParameter(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dash_pro_profile)); DevExpress.DashboardCommon.Dimension dimension5 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension6 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure3 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Measure measure4 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension7 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension8 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension9 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension10 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension11 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension12 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension13 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure5 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension14 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension15 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure6 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension16 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension17 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension18 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure7 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Measure measure8 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension19 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension20 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension21 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure9 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.PivotWindowDefinition pivotWindowDefinition1 = new DevExpress.DashboardCommon.PivotWindowDefinition(); DevExpress.DashboardCommon.PivotItemFormatRule pivotItemFormatRule1 = new DevExpress.DashboardCommon.PivotItemFormatRule(); DevExpress.DashboardCommon.FormatConditionValue formatConditionValue1 = new DevExpress.DashboardCommon.FormatConditionValue(); DevExpress.DashboardCommon.AppearanceSettings appearanceSettings1 = new DevExpress.DashboardCommon.AppearanceSettings(); DevExpress.DashboardCommon.PivotItemFormatRule pivotItemFormatRule2 = new DevExpress.DashboardCommon.PivotItemFormatRule(); DevExpress.DashboardCommon.FormatConditionValue formatConditionValue2 = new DevExpress.DashboardCommon.FormatConditionValue(); DevExpress.DashboardCommon.AppearanceSettings appearanceSettings2 = new DevExpress.DashboardCommon.AppearanceSettings(); DevExpress.DashboardCommon.PivotItemFormatRule pivotItemFormatRule3 = new DevExpress.DashboardCommon.PivotItemFormatRule(); DevExpress.DashboardCommon.FormatConditionValue formatConditionValue3 = new DevExpress.DashboardCommon.FormatConditionValue(); DevExpress.DashboardCommon.AppearanceSettings appearanceSettings3 = new DevExpress.DashboardCommon.AppearanceSettings(); DevExpress.DashboardCommon.PivotItemFormatRule pivotItemFormatRule4 = new DevExpress.DashboardCommon.PivotItemFormatRule(); DevExpress.DashboardCommon.FormatConditionValue formatConditionValue4 = new DevExpress.DashboardCommon.FormatConditionValue(); DevExpress.DashboardCommon.IconSettings iconSettings1 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem1 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem2 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup4 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem3 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem4 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem5 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardParameter dashboardParameter1 = new DevExpress.DashboardCommon.DashboardParameter(); this.chartDashboardItem1 = new DevExpress.DashboardCommon.ChartDashboardItem(); this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource(); this.treeViewDashboardItem1 = new DevExpress.DashboardCommon.TreeViewDashboardItem(); this.pieDashboardItem1 = new DevExpress.DashboardCommon.PieDashboardItem(); this.pieDashboardItem2 = new DevExpress.DashboardCommon.PieDashboardItem(); this.pivotDashboardItem1 = new DevExpress.DashboardCommon.PivotDashboardItem(); ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // chartDashboardItem1 // dimension1.DataMember = "area_identifier"; dimension2.DataMember = "bp_name"; dimension3.DataMember = "stan_standard"; dimension3.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension1, dimension2, dimension3 }); this.chartDashboardItem1.AxisX.EnableZooming = true; this.chartDashboardItem1.AxisX.TitleVisible = false; this.chartDashboardItem1.ComponentName = "chartDashboardItem1"; dimension4.DataMember = "area_name"; measure1.DataMember = "score_col1"; measure1.Name = "As-Is"; measure1.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; measure2.DataMember = "score_col2"; measure2.Name = "To-Be"; measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; this.chartDashboardItem1.DataItemRepository.Clear(); this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem0"); this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1"); this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2"); this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem3"); this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem5"); this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem4"); this.chartDashboardItem1.DataMember = "modified_felipe"; this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1; this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.chartDashboardItem1.InteractivityOptions.IsDrillDownEnabled = true; this.chartDashboardItem1.Name = "Capability Scores"; chartPane1.Name = "Pane 1"; chartPane1.PrimaryAxisY.AlwaysShowZeroLevel = true; chartPane1.PrimaryAxisY.ShowGridLines = true; chartPane1.PrimaryAxisY.TitleVisible = true; chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true; chartPane1.SecondaryAxisY.ShowGridLines = false; chartPane1.SecondaryAxisY.TitleVisible = true; simpleSeries1.PointLabelOptions.ContentType = DevExpress.DashboardCommon.PointLabelContentTypeEx.Value; simpleSeries1.PointLabelOptions.Position = DevExpress.DashboardCommon.PointLabelPosition.Inside; simpleSeries1.PointLabelOptions.ShowForZeroValues = true; simpleSeries1.AddDataItem("Value", measure1); simpleSeries2.PointLabelOptions.ContentType = DevExpress.DashboardCommon.PointLabelContentTypeEx.Value; simpleSeries2.PointLabelOptions.Position = DevExpress.DashboardCommon.PointLabelPosition.Inside; simpleSeries2.PointLabelOptions.ShowForZeroValues = true; simpleSeries2.AddDataItem("Value", measure2); chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] { simpleSeries1, simpleSeries2 }); this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] { chartPane1 }); this.chartDashboardItem1.Rotated = true; this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension4 }); this.chartDashboardItem1.ShowCaption = true; // // dashboardSqlDataSource1 // calculatedField1.DataMember = "modified_felipe"; calculatedField1.Expression = "[score_col2] - [score_col1]"; calculatedField1.Name = "Calculated Field 1"; this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] { calculatedField1 }); this.dashboardSqlDataSource1.ComponentName = "dashboardSqlDataSource1"; this.dashboardSqlDataSource1.ConnectionName = "OhioDB"; this.dashboardSqlDataSource1.Name = "SQL Data Source 1"; customSqlQuery1.Name = "modified_felipe"; queryParameter1.Name = "projectID"; queryParameter1.Type = typeof(DevExpress.DataAccess.Expression); queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.projectID]", typeof(System.Guid)); customSqlQuery1.Parameters.Add(queryParameter1); customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql"); this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { customSqlQuery1 }); this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable"); // // treeViewDashboardItem1 // this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1"; dimension5.DataMember = "value_scoretext"; dimension6.DataMember = "stan_standard"; measure3.DataMember = "score_col1"; measure3.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; measure4.DataMember = "score_col2"; measure4.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; dimension7.DataMember = "card_name"; dimension8.DataMember = "area_name"; dimension9.DataMember = "bp_name"; dimension10.DataMember = "value_score"; this.treeViewDashboardItem1.DataItemRepository.Clear(); this.treeViewDashboardItem1.DataItemRepository.Add(dimension5, "DataItem0"); this.treeViewDashboardItem1.DataItemRepository.Add(dimension6, "DataItem1"); this.treeViewDashboardItem1.DataItemRepository.Add(measure3, "DataItem2"); this.treeViewDashboardItem1.DataItemRepository.Add(measure4, "DataItem3"); this.treeViewDashboardItem1.DataItemRepository.Add(dimension7, "DataItem5"); this.treeViewDashboardItem1.DataItemRepository.Add(dimension8, "DataItem6"); this.treeViewDashboardItem1.DataItemRepository.Add(dimension9, "DataItem4"); this.treeViewDashboardItem1.DataItemRepository.Add(dimension10, "DataItem7"); this.treeViewDashboardItem1.DataMember = "modified_felipe"; this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1; this.treeViewDashboardItem1.EnableSearch = true; this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension8, dimension9, dimension7, dimension6, dimension10, dimension5 }); this.treeViewDashboardItem1.HiddenMeasures.AddRange(new DevExpress.DashboardCommon.Measure[] { measure3, measure4 }); this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true; this.treeViewDashboardItem1.Name = "Select Data to Visualize"; this.treeViewDashboardItem1.ShowCaption = true; // // pieDashboardItem1 // dimension11.DataMember = "bp_name"; dimension12.DataMember = "stan_standard"; this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension11, dimension12 }); this.pieDashboardItem1.ComponentName = "pieDashboardItem1"; dimension13.DataMember = "area_name"; dimension13.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; measure5.DataMember = "score_col1"; measure5.Name = "As-Is"; measure5.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.General; measure5.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; this.pieDashboardItem1.DataItemRepository.Clear(); this.pieDashboardItem1.DataItemRepository.Add(dimension13, "DataItem2"); this.pieDashboardItem1.DataItemRepository.Add(measure5, "DataItem0"); this.pieDashboardItem1.DataItemRepository.Add(dimension11, "DataItem3"); this.pieDashboardItem1.DataItemRepository.Add(dimension12, "DataItem1"); this.pieDashboardItem1.DataMember = "modified_felipe"; this.pieDashboardItem1.DataSource = this.dashboardSqlDataSource1; this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.pieDashboardItem1.InteractivityOptions.IsDrillDownEnabled = true; this.pieDashboardItem1.LabelContentType = ((DevExpress.DashboardCommon.PieValueType)((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Value))); this.pieDashboardItem1.Name = "As-Is"; this.pieDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension13 }); this.pieDashboardItem1.ShowCaption = true; this.pieDashboardItem1.TooltipContentType = ((DevExpress.DashboardCommon.PieValueType)((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Value))); this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] { measure5 }); // // pieDashboardItem2 // dimension14.DataMember = "bp_name"; dimension15.DataMember = "stan_standard"; this.pieDashboardItem2.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension14, dimension15 }); this.pieDashboardItem2.ComponentName = "pieDashboardItem2"; measure6.DataMember = "score_col2"; measure6.Name = "To-Be"; measure6.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; dimension16.DataMember = "area_name"; this.pieDashboardItem2.DataItemRepository.Clear(); this.pieDashboardItem2.DataItemRepository.Add(measure6, "DataItem0"); this.pieDashboardItem2.DataItemRepository.Add(dimension16, "DataItem1"); this.pieDashboardItem2.DataItemRepository.Add(dimension14, "DataItem2"); this.pieDashboardItem2.DataItemRepository.Add(dimension15, "DataItem3"); this.pieDashboardItem2.DataMember = "modified_felipe"; this.pieDashboardItem2.DataSource = this.dashboardSqlDataSource1; this.pieDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false; this.pieDashboardItem2.InteractivityOptions.IsDrillDownEnabled = true; this.pieDashboardItem2.LabelContentType = ((DevExpress.DashboardCommon.PieValueType)((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Value))); this.pieDashboardItem2.Name = "To-Be"; this.pieDashboardItem2.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension16 }); this.pieDashboardItem2.ShowCaption = true; this.pieDashboardItem2.Values.AddRange(new DevExpress.DashboardCommon.Measure[] { measure6 }); // // pivotDashboardItem1 // dimension17.DataMember = "card_col1"; dimension18.DataMember = "card_col2"; this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension17, dimension18 }); this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1"; measure7.DataMember = "score_col1"; measure7.Name = "As-Is"; measure7.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; measure8.DataMember = "score_col2"; measure8.Name = "To-Be"; measure8.SummaryType = DevExpress.DashboardCommon.SummaryType.Min; dimension19.DataMember = "card_name"; dimension20.DataMember = "stan_standard"; dimension21.DataMember = "area_name"; measure9.DataMember = "Calculated Field 1"; measure9.Expression = "Max([score_col2]) - Max([score_col1])"; measure9.Name = "Advancement Opportunity"; measure9.SummaryType = DevExpress.DashboardCommon.SummaryType.Max; pivotWindowDefinition1.DefinitionMode = DevExpress.DashboardCommon.PivotWindowDefinitionMode.Rows; measure9.WindowDefinition = pivotWindowDefinition1; this.pivotDashboardItem1.DataItemRepository.Clear(); this.pivotDashboardItem1.DataItemRepository.Add(measure7, "DataItem0"); this.pivotDashboardItem1.DataItemRepository.Add(measure8, "DataItem1"); this.pivotDashboardItem1.DataItemRepository.Add(dimension19, "DataItem6"); this.pivotDashboardItem1.DataItemRepository.Add(dimension17, "DataItem2"); this.pivotDashboardItem1.DataItemRepository.Add(dimension18, "DataItem4"); this.pivotDashboardItem1.DataItemRepository.Add(dimension20, "DataItem7"); this.pivotDashboardItem1.DataItemRepository.Add(dimension21, "DataItem3"); this.pivotDashboardItem1.DataItemRepository.Add(measure9, "DataItem8"); this.pivotDashboardItem1.DataMember = "modified_felipe"; this.pivotDashboardItem1.DataSource = this.dashboardSqlDataSource1; pivotItemFormatRule1.ApplyToRow = true; appearanceSettings1.AppearanceType = DevExpress.DashboardCommon.FormatConditionAppearanceType.Red; formatConditionValue1.StyleSettings = appearanceSettings1; formatConditionValue1.Value1 = 1; pivotItemFormatRule1.Condition = formatConditionValue1; pivotItemFormatRule1.DataItem = measure8; pivotItemFormatRule1.Name = "FormatRule 1"; pivotItemFormatRule2.ApplyToColumn = true; pivotItemFormatRule2.ApplyToRow = true; appearanceSettings2.AppearanceType = DevExpress.DashboardCommon.FormatConditionAppearanceType.Green; formatConditionValue2.StyleSettings = appearanceSettings2; formatConditionValue2.Value1 = 5; pivotItemFormatRule2.Condition = formatConditionValue2; pivotItemFormatRule2.DataItem = measure7; pivotItemFormatRule2.Name = "FormatRule 2"; pivotItemFormatRule3.ApplyToColumn = true; pivotItemFormatRule3.ApplyToRow = true; appearanceSettings3.AppearanceType = DevExpress.DashboardCommon.FormatConditionAppearanceType.Green; formatConditionValue3.StyleSettings = appearanceSettings3; formatConditionValue3.Value1 = 5; pivotItemFormatRule3.Condition = formatConditionValue3; pivotItemFormatRule3.DataItem = measure8; pivotItemFormatRule3.Name = "FormatRule 3"; formatConditionValue4.Condition = DevExpress.DashboardCommon.DashboardFormatCondition.Greater; iconSettings1.IconType = DevExpress.DashboardCommon.FormatConditionIconType.IndicatorGreenFlag; formatConditionValue4.StyleSettings = iconSettings1; formatConditionValue4.Value1 = 0; pivotItemFormatRule4.Condition = formatConditionValue4; pivotItemFormatRule4.DataItem = measure9; pivotItemFormatRule4.IntersectionLevelMode = DevExpress.DashboardCommon.FormatConditionIntersectionLevelMode.AllLevels; pivotItemFormatRule4.Name = "FormatRule 4"; this.pivotDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.PivotItemFormatRule[] { pivotItemFormatRule1, pivotItemFormatRule2, pivotItemFormatRule3, pivotItemFormatRule4 }); this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact; this.pivotDashboardItem1.Name = "Pivot 1"; this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension21, dimension19, dimension20 }); this.pivotDashboardItem1.ShowCaption = false; this.pivotDashboardItem1.ShowColumnGrandTotals = false; this.pivotDashboardItem1.ShowColumnTotals = false; this.pivotDashboardItem1.ShowRowGrandTotals = false; this.pivotDashboardItem1.ShowRowTotals = false; this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] { measure7, measure8, measure9 }); // // dash_pro_profile // this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] { this.dashboardSqlDataSource1 }); this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] { this.treeViewDashboardItem1, this.pivotDashboardItem1, this.pieDashboardItem1, this.pieDashboardItem2, this.chartDashboardItem1 }); dashboardLayoutItem1.DashboardItem = this.treeViewDashboardItem1; dashboardLayoutItem1.Weight = 22.46153846153846D; dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1; dashboardLayoutItem2.Weight = 77.538461538461533D; dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem1, dashboardLayoutItem2 }); dashboardLayoutGroup3.DashboardItem = null; dashboardLayoutGroup3.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; dashboardLayoutGroup3.Weight = 42.476697736351532D; dashboardLayoutItem3.DashboardItem = this.pieDashboardItem1; dashboardLayoutItem3.Weight = 52.769230769230766D; dashboardLayoutItem4.DashboardItem = this.pieDashboardItem2; dashboardLayoutItem4.Weight = 47.230769230769234D; dashboardLayoutGroup4.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem3, dashboardLayoutItem4 }); dashboardLayoutGroup4.DashboardItem = null; dashboardLayoutGroup4.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; dashboardLayoutGroup4.Weight = 57.523302263648468D; dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutGroup3, dashboardLayoutGroup4 }); dashboardLayoutGroup2.DashboardItem = null; dashboardLayoutGroup2.Weight = 63.4765625D; dashboardLayoutItem5.DashboardItem = this.pivotDashboardItem1; dashboardLayoutItem5.Weight = 36.5234375D; dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutGroup2, dashboardLayoutItem5 }); dashboardLayoutGroup1.DashboardItem = null; dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; this.LayoutRoot = dashboardLayoutGroup1; dashboardParameter1.Description = "Project"; dashboardParameter1.Name = "projectID"; dashboardParameter1.Type = typeof(System.Guid); dashboardParameter1.Value = new System.Guid("00000000-0000-0000-0000-000000000000"); dashboardParameter1.Visible = false; this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] { dashboardParameter1 }); this.Title.ImageUrl = "https://rcxbox.readycert.net/Content/Images/logo.png"; this.Title.Text = "Business Process Profile"; ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.DashboardCommon.Dimension dimension1 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure1 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod1 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit1 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit2 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod2 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit3 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit4 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod3 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit5 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit6 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod4 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit7 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit8 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod5 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit9 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit10 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod6 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit11 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit12 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.DateTimePeriod dateTimePeriod7 = new DevExpress.DashboardCommon.DateTimePeriod(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit13 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit14 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit(); DevExpress.DashboardCommon.SimpleSeries simpleSeries1 = new DevExpress.DashboardCommon.SimpleSeries(); DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters(); DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column2 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression2 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table2 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column3 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression3 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column4 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression4 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column5 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression5 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column6 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression6 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column7 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression7 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column8 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression8 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table3 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column9 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression9 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column10 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Join join1 = new DevExpress.DataAccess.Sql.Join(); DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo(); DevExpress.DataAccess.Sql.Join join2 = new DevExpress.DataAccess.Sql.Join(); DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo2 = new DevExpress.DataAccess.Sql.RelationColumnInfo(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Report_TienConLaiCC)); DevExpress.DashboardCommon.Dimension dimension2 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn1 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.GridColumnTotal gridColumnTotal1 = new DevExpress.DashboardCommon.GridColumnTotal(); DevExpress.DashboardCommon.Dimension dimension3 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn2 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Measure measure2 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.GridMeasureColumn gridMeasureColumn1 = new DevExpress.DashboardCommon.GridMeasureColumn(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule1 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet1 = new DevExpress.DashboardCommon.FormatConditionRangeSet(); DevExpress.DashboardCommon.RangeInfo rangeInfo1 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings1 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo2 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings2 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo3 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings3 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo4 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings4 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.Dimension dimension4 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn3 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.GridColumnTotal gridColumnTotal2 = new DevExpress.DashboardCommon.GridColumnTotal(); DevExpress.DashboardCommon.Dimension dimension5 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn4 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Measure measure3 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.GridMeasureColumn gridMeasureColumn2 = new DevExpress.DashboardCommon.GridMeasureColumn(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule2 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet2 = new DevExpress.DashboardCommon.FormatConditionRangeSet(); DevExpress.DashboardCommon.RangeInfo rangeInfo5 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings5 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo6 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings6 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo7 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings7 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.Dimension dimension6 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn5 = new DevExpress.DashboardCommon.GridDimensionColumn(); DevExpress.DashboardCommon.Measure measure4 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.GridMeasureColumn gridMeasureColumn3 = new DevExpress.DashboardCommon.GridMeasureColumn(); DevExpress.DashboardCommon.GridItemFormatRule gridItemFormatRule3 = new DevExpress.DashboardCommon.GridItemFormatRule(); DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet3 = new DevExpress.DashboardCommon.FormatConditionRangeSet(); DevExpress.DashboardCommon.RangeInfo rangeInfo8 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings8 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo9 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings9 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo10 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings10 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.RangeInfo rangeInfo11 = new DevExpress.DashboardCommon.RangeInfo(); DevExpress.DashboardCommon.IconSettings iconSettings11 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem1 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem2 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem3 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem4 = new DevExpress.DashboardCommon.DashboardLayoutItem(); this.rangeFilterDashboardItem1 = new DevExpress.DashboardCommon.RangeFilterDashboardItem(); this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource(); this.gridDashboardItem1 = new DevExpress.DashboardCommon.GridDashboardItem(); this.gridDashboardItem2 = new DevExpress.DashboardCommon.GridDashboardItem(); this.gridDashboardItem3 = new DevExpress.DashboardCommon.GridDashboardItem(); ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // rangeFilterDashboardItem1 // dimension1.DataMember = "ngaytaodt"; dimension1.DateTimeFormat.ExactDateFormat = DevExpress.DashboardCommon.ExactDateFormat.Month; dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear; measure1.DataMember = "tienconlaitheoca"; dimension1.TopNOptions.Measure = measure1; this.rangeFilterDashboardItem1.Argument = dimension1; this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1"; this.rangeFilterDashboardItem1.DataItemRepository.Clear(); this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2"); this.rangeFilterDashboardItem1.DataItemRepository.Add(measure1, "DataItem0"); this.rangeFilterDashboardItem1.DataMember = "DoanhThu"; this.rangeFilterDashboardItem1.DataSource = this.dashboardSqlDataSource1; flowDateTimePeriodLimit1.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit1.Offset = 1; dateTimePeriod1.End = flowDateTimePeriodLimit1; dateTimePeriod1.Name = "This Month"; flowDateTimePeriodLimit2.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod1.Start = flowDateTimePeriodLimit2; flowDateTimePeriodLimit3.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod2.End = flowDateTimePeriodLimit3; dateTimePeriod2.Name = "Last Month"; flowDateTimePeriodLimit4.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit4.Offset = -1; dateTimePeriod2.Start = flowDateTimePeriodLimit4; flowDateTimePeriodLimit5.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod3.End = flowDateTimePeriodLimit5; dateTimePeriod3.Name = "Last 3 Months"; flowDateTimePeriodLimit6.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit6.Offset = -3; dateTimePeriod3.Start = flowDateTimePeriodLimit6; flowDateTimePeriodLimit7.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod4.End = flowDateTimePeriodLimit7; dateTimePeriod4.Name = "Last 6 Months"; flowDateTimePeriodLimit8.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit8.Offset = -6; dateTimePeriod4.Start = flowDateTimePeriodLimit8; flowDateTimePeriodLimit9.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; dateTimePeriod5.End = flowDateTimePeriodLimit9; dateTimePeriod5.Name = "Last 12 Months"; flowDateTimePeriodLimit10.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month; flowDateTimePeriodLimit10.Offset = -12; dateTimePeriod5.Start = flowDateTimePeriodLimit10; dateTimePeriod6.End = flowDateTimePeriodLimit11; dateTimePeriod6.Name = "Last Year"; flowDateTimePeriodLimit12.Offset = -1; dateTimePeriod6.Start = flowDateTimePeriodLimit12; dateTimePeriod7.End = flowDateTimePeriodLimit13; dateTimePeriod7.Name = "Last 2 Years"; flowDateTimePeriodLimit14.Offset = -2; dateTimePeriod7.Start = flowDateTimePeriodLimit14; this.rangeFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] { dateTimePeriod1, dateTimePeriod2, dateTimePeriod3, dateTimePeriod4, dateTimePeriod5, dateTimePeriod6, dateTimePeriod7 }); this.rangeFilterDashboardItem1.DefaultDateTimePeriodName = "This Month"; this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true; this.rangeFilterDashboardItem1.Name = "Filter theo tháng năm"; simpleSeries1.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar; simpleSeries1.AddDataItem("Value", measure1); this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] { simpleSeries1 }); this.rangeFilterDashboardItem1.ShowCaption = true; // // dashboardSqlDataSource1 // this.dashboardSqlDataSource1.ComponentName = "dashboardSqlDataSource1"; this.dashboardSqlDataSource1.ConnectionName = "localhost_BaoCaoThuChi_Connection"; msSqlConnectionParameters1.AuthorizationType = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows; msSqlConnectionParameters1.DatabaseName = "BaoCaoThuChi"; msSqlConnectionParameters1.ServerName = "."; this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1; this.dashboardSqlDataSource1.Name = "SQL Data Source 1"; columnExpression1.ColumnName = "ngaytaodt"; table1.MetaSerializable = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"110\" />"; table1.Name = "DoanhThu"; columnExpression1.Table = table1; column1.Expression = columnExpression1; columnExpression2.ColumnName = "caID"; table2.MetaSerializable = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"194\" />"; table2.Name = "DoanhThuTheoCa"; columnExpression2.Table = table2; column2.Expression = columnExpression2; columnExpression3.ColumnName = "tenCa"; columnExpression3.Table = table2; column3.Expression = columnExpression3; columnExpression4.ColumnName = "tiendelai"; columnExpression4.Table = table2; column4.Expression = columnExpression4; columnExpression5.ColumnName = "doanhthutheoca"; columnExpression5.Table = table2; column5.Expression = columnExpression5; columnExpression6.ColumnName = "doanhthukhac"; columnExpression6.Table = table2; column6.Expression = columnExpression6; columnExpression7.ColumnName = "doanhthuID"; columnExpression7.Table = table1; column7.Expression = columnExpression7; columnExpression8.ColumnName = "tienconlaitheoca"; table3.MetaSerializable = "<Meta X=\"340\" Y=\"30\" Width=\"125\" Height=\"131\" />"; table3.Name = "TienConLaiTheoCa"; columnExpression8.Table = table3; column8.Expression = columnExpression8; column9.Alias = "TienConLaiTheoCa_caID"; columnExpression9.ColumnName = "caID"; columnExpression9.Table = table3; column9.Expression = columnExpression9; columnExpression10.ColumnName = "tlID"; columnExpression10.Table = table3; column10.Expression = columnExpression10; selectQuery1.Columns.Add(column1); selectQuery1.Columns.Add(column2); selectQuery1.Columns.Add(column3); selectQuery1.Columns.Add(column4); selectQuery1.Columns.Add(column5); selectQuery1.Columns.Add(column6); selectQuery1.Columns.Add(column7); selectQuery1.Columns.Add(column8); selectQuery1.Columns.Add(column9); selectQuery1.Columns.Add(column10); selectQuery1.Name = "DoanhThu"; relationColumnInfo1.NestedKeyColumn = "doanhthuID"; relationColumnInfo1.ParentKeyColumn = "doanhthuID"; join1.KeyColumns.Add(relationColumnInfo1); join1.Nested = table2; join1.Parent = table1; relationColumnInfo2.NestedKeyColumn = "caID"; relationColumnInfo2.ParentKeyColumn = "caID"; join2.KeyColumns.Add(relationColumnInfo2); join2.Nested = table3; join2.Parent = table2; selectQuery1.Relations.Add(join1); selectQuery1.Relations.Add(join2); selectQuery1.Tables.Add(table1); selectQuery1.Tables.Add(table2); selectQuery1.Tables.Add(table3); this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1 }); this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable"); // // gridDashboardItem1 // dimension2.DataMember = "ngaytaodt"; dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear; dimension2.SortOrder = DevExpress.DashboardCommon.DimensionSortOrder.Descending; gridDimensionColumn1.Name = "Ngày"; gridDimensionColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] { gridColumnTotal1 }); gridDimensionColumn1.Weight = 51.772793053545584D; gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn1.AddDataItem("Dimension", dimension2); dimension3.DataMember = "tenCa"; gridDimensionColumn2.Name = "Tên Ca"; gridDimensionColumn2.Weight = 59.261939218523878D; gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn2.AddDataItem("Dimension", dimension3); measure2.DataMember = "tienconlaitheoca"; measure2.NumericFormat.CurrencyCultureName = "vi-VN"; measure2.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency; gridMeasureColumn1.Name = "Số Tiền Cuối Ca"; gridMeasureColumn1.Weight = 113.96526772793054D; gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridMeasureColumn1.AddDataItem("Measure", measure2); this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn1, gridDimensionColumn2, gridMeasureColumn1 }); this.gridDashboardItem1.ComponentName = "gridDashboardItem1"; this.gridDashboardItem1.DataItemRepository.Clear(); this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1"); this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2"); this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0"); this.gridDashboardItem1.DataMember = "DoanhThu"; this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1; iconSettings1.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow; rangeInfo1.StyleSettings = iconSettings1; rangeInfo1.Value = 0D; iconSettings2.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow; rangeInfo2.StyleSettings = iconSettings2; rangeInfo2.Value = 25D; iconSettings3.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow; rangeInfo3.StyleSettings = iconSettings3; rangeInfo3.Value = 50D; iconSettings4.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp; rangeInfo4.StyleSettings = iconSettings4; rangeInfo4.Value = 75D; formatConditionRangeSet1.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] { rangeInfo1, rangeInfo2, rangeInfo3, rangeInfo4 }); formatConditionRangeSet1.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent; gridItemFormatRule1.Condition = formatConditionRangeSet1; gridItemFormatRule1.DataItem = measure2; gridItemFormatRule1.Name = "FormatRule 1"; this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule1 }); this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual; this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem1.Name = "Chi tiết theo ngày"; this.gridDashboardItem1.ShowCaption = true; // // gridDashboardItem2 // dimension4.DataMember = "ngaytaodt"; dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear; gridDimensionColumn3.Name = "Tháng Năm"; gridDimensionColumn3.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] { gridColumnTotal2 }); gridDimensionColumn3.Weight = 60.910404624277454D; gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn3.AddDataItem("Dimension", dimension4); dimension5.DataMember = "tenCa"; gridDimensionColumn4.Name = "Tên Ca"; gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn4.AddDataItem("Dimension", dimension5); measure3.DataMember = "tienconlaitheoca"; measure3.NumericFormat.CurrencyCultureName = "vi-VN"; measure3.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency; gridMeasureColumn2.Name = "Tổng"; gridMeasureColumn2.Weight = 89.089595375722539D; gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridMeasureColumn2.AddDataItem("Measure", measure3); this.gridDashboardItem2.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn3, gridDimensionColumn4, gridMeasureColumn2 }); this.gridDashboardItem2.ComponentName = "gridDashboardItem2"; this.gridDashboardItem2.DataItemRepository.Clear(); this.gridDashboardItem2.DataItemRepository.Add(dimension4, "DataItem0"); this.gridDashboardItem2.DataItemRepository.Add(measure3, "DataItem1"); this.gridDashboardItem2.DataItemRepository.Add(dimension5, "DataItem2"); this.gridDashboardItem2.DataMember = "DoanhThu"; this.gridDashboardItem2.DataSource = this.dashboardSqlDataSource1; iconSettings5.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow; rangeInfo5.StyleSettings = iconSettings5; rangeInfo5.Value = 0D; iconSettings6.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowSideArrow; rangeInfo6.StyleSettings = iconSettings6; rangeInfo6.Value = 33D; iconSettings7.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp; rangeInfo7.StyleSettings = iconSettings7; rangeInfo7.Value = 67D; formatConditionRangeSet2.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] { rangeInfo5, rangeInfo6, rangeInfo7 }); formatConditionRangeSet2.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent; gridItemFormatRule2.Condition = formatConditionRangeSet2; gridItemFormatRule2.DataItem = measure3; gridItemFormatRule2.Name = "FormatRule 1"; this.gridDashboardItem2.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule2 }); this.gridDashboardItem2.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual; this.gridDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem2.Name = "Tổng theo tháng"; this.gridDashboardItem2.ShowCaption = true; // // gridDashboardItem3 // dimension6.DataMember = "ngaytaodt"; gridDimensionColumn5.Name = "Năm"; gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridDimensionColumn5.AddDataItem("Dimension", dimension6); measure4.DataMember = "tienconlaitheoca"; measure4.NumericFormat.CurrencyCultureName = "vi-VN"; measure4.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency; gridMeasureColumn3.Name = "Tổng"; gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight; gridMeasureColumn3.AddDataItem("Measure", measure4); this.gridDashboardItem3.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] { gridDimensionColumn5, gridMeasureColumn3 }); this.gridDashboardItem3.ComponentName = "gridDashboardItem3"; this.gridDashboardItem3.DataItemRepository.Clear(); this.gridDashboardItem3.DataItemRepository.Add(dimension6, "DataItem0"); this.gridDashboardItem3.DataItemRepository.Add(measure4, "DataItem1"); this.gridDashboardItem3.DataMember = "DoanhThu"; this.gridDashboardItem3.DataSource = this.dashboardSqlDataSource1; iconSettings8.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow; rangeInfo8.StyleSettings = iconSettings8; rangeInfo8.Value = 0D; iconSettings9.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow; rangeInfo9.StyleSettings = iconSettings9; rangeInfo9.Value = 25D; iconSettings10.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow; rangeInfo10.StyleSettings = iconSettings10; rangeInfo10.Value = 50D; iconSettings11.IconType = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp; rangeInfo11.StyleSettings = iconSettings11; rangeInfo11.Value = 75D; formatConditionRangeSet3.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] { rangeInfo8, rangeInfo9, rangeInfo10, rangeInfo11 }); formatConditionRangeSet3.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent; gridItemFormatRule3.Condition = formatConditionRangeSet3; gridItemFormatRule3.DataItem = measure4; gridItemFormatRule3.Name = "FormatRule 1"; this.gridDashboardItem3.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] { gridItemFormatRule3 }); this.gridDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false; this.gridDashboardItem3.Name = "Tổng theo Năm"; this.gridDashboardItem3.ShowCaption = true; // // Report_TienConLaiCC // this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] { this.dashboardSqlDataSource1 }); this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] { this.gridDashboardItem1, this.rangeFilterDashboardItem1, this.gridDashboardItem2, this.gridDashboardItem3 }); dashboardLayoutItem1.DashboardItem = this.rangeFilterDashboardItem1; dashboardLayoutItem1.Weight = 29.154929577464788D; dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1; dashboardLayoutItem2.Weight = 59.3727726300784D; dashboardLayoutItem3.DashboardItem = this.gridDashboardItem2; dashboardLayoutItem3.Weight = 50.099403578528829D; dashboardLayoutItem4.DashboardItem = this.gridDashboardItem3; dashboardLayoutItem4.Weight = 49.900596421471171D; dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem3, dashboardLayoutItem4 }); dashboardLayoutGroup3.DashboardItem = null; dashboardLayoutGroup3.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; dashboardLayoutGroup3.Weight = 40.6272273699216D; dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem2, dashboardLayoutGroup3 }); dashboardLayoutGroup2.DashboardItem = null; dashboardLayoutGroup2.Weight = 70.845070422535215D; dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem1, dashboardLayoutGroup2 }); dashboardLayoutGroup1.DashboardItem = null; dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; dashboardLayoutGroup1.Weight = 100D; this.LayoutRoot = dashboardLayoutGroup1; this.Title.Text = "Báo Cáo Tiền Còn Lại Cuối Ca"; ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.DashboardCommon.Dimension dimension1 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure1 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension2 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column2 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression2 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column3 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression3 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column4 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression4 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column5 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression5 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column6 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression6 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column7 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression7 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column8 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression8 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column9 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression9 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column10 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column11 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression11 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column12 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression12 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column13 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression13 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.QueryParameter queryParameter1 = new DevExpress.DataAccess.Sql.QueryParameter(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dash_workflow)); DevExpress.DashboardCommon.Measure measure2 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension3 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Gauge gauge1 = new DevExpress.DashboardCommon.Gauge(); DevExpress.DashboardCommon.Dimension dimension4 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension5 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension6 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Measure measure3 = new DevExpress.DashboardCommon.Measure(); DevExpress.DashboardCommon.Dimension dimension7 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.Dimension dimension8 = new DevExpress.DashboardCommon.Dimension(); DevExpress.DashboardCommon.PivotItemFormatRule pivotItemFormatRule1 = new DevExpress.DashboardCommon.PivotItemFormatRule(); DevExpress.DashboardCommon.FormatConditionDateOccuring formatConditionDateOccuring1 = new DevExpress.DashboardCommon.FormatConditionDateOccuring(); DevExpress.DashboardCommon.IconSettings iconSettings1 = new DevExpress.DashboardCommon.IconSettings(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem1 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem2 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardLayoutItem dashboardLayoutItem3 = new DevExpress.DashboardCommon.DashboardLayoutItem(); DevExpress.DashboardCommon.DashboardParameter dashboardParameter1 = new DevExpress.DashboardCommon.DashboardParameter(); this.pieDashboardItem1 = new DevExpress.DashboardCommon.PieDashboardItem(); this.data_workflow = new DevExpress.DashboardCommon.DashboardSqlDataSource(); this.gaugeDashboardItem1 = new DevExpress.DashboardCommon.GaugeDashboardItem(); this.pivotDashboardItem1 = new DevExpress.DashboardCommon.PivotDashboardItem(); ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.data_workflow)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pieDashboardItem1 // dimension1.DataMember = "Status"; this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension1 }); this.pieDashboardItem1.ComponentName = "pieDashboardItem1"; measure1.DataMember = "AssignedTo"; measure1.SummaryType = DevExpress.DashboardCommon.SummaryType.CountDistinct; dimension2.DataMember = "AssignedTo"; this.pieDashboardItem1.DataItemRepository.Clear(); this.pieDashboardItem1.DataItemRepository.Add(measure1, "DataItem0"); this.pieDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2"); this.pieDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1"); this.pieDashboardItem1.DataMember = "view_workflow_laststatus"; this.pieDashboardItem1.DataSource = this.data_workflow; this.pieDashboardItem1.FilterString = "[DataItem1] <> \'Unassugned\'"; this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.pieDashboardItem1.LabelContentType = ((DevExpress.DashboardCommon.PieValueType)(((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Percent) | DevExpress.DashboardCommon.PieValueType.Value))); this.pieDashboardItem1.Name = "Workflow Activities by Worker"; this.pieDashboardItem1.PieType = DevExpress.DashboardCommon.PieType.Donut; this.pieDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension2 }); this.pieDashboardItem1.ShowCaption = true; this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] { measure1 }); // // data_workflow // this.data_workflow.ComponentName = "data_workflow"; this.data_workflow.ConnectionName = "DevDB"; this.data_workflow.Name = "CurrentWorkflow"; columnExpression1.ColumnName = "AssignedTo"; table1.MetaSerializable = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"305\" />"; table1.Name = "view_workflow"; columnExpression1.Table = table1; column1.Expression = columnExpression1; columnExpression2.ColumnName = "AssignedBy"; columnExpression2.Table = table1; column2.Expression = columnExpression2; columnExpression3.ColumnName = "Project"; columnExpression3.Table = table1; column3.Expression = columnExpression3; columnExpression4.ColumnName = "ProjectColor"; columnExpression4.Table = table1; column4.Expression = columnExpression4; columnExpression5.ColumnName = "Status"; columnExpression5.Table = table1; column5.Expression = columnExpression5; columnExpression6.ColumnName = "StatusOrder"; columnExpression6.Table = table1; column6.Expression = columnExpression6; columnExpression7.ColumnName = "Comments"; columnExpression7.Table = table1; column7.Expression = columnExpression7; columnExpression8.ColumnName = "Manager"; columnExpression8.Table = table1; column8.Expression = columnExpression8; columnExpression9.ColumnName = "Worker"; columnExpression9.Table = table1; column9.Expression = columnExpression9; columnExpression10.ColumnName = "Date"; columnExpression10.Table = table1; column10.Expression = columnExpression10; columnExpression11.ColumnName = "DueDate"; columnExpression11.Table = table1; column11.Expression = columnExpression11; columnExpression12.ColumnName = "RC_ID"; columnExpression12.Table = table1; column12.Expression = columnExpression12; columnExpression13.ColumnName = "RC_NAME"; columnExpression13.Table = table1; column13.Expression = columnExpression13; selectQuery1.Columns.Add(column1); selectQuery1.Columns.Add(column2); selectQuery1.Columns.Add(column3); selectQuery1.Columns.Add(column4); selectQuery1.Columns.Add(column5); selectQuery1.Columns.Add(column6); selectQuery1.Columns.Add(column7); selectQuery1.Columns.Add(column8); selectQuery1.Columns.Add(column9); selectQuery1.Columns.Add(column10); selectQuery1.Columns.Add(column11); selectQuery1.Columns.Add(column12); selectQuery1.Columns.Add(column13); selectQuery1.FilterString = "Contains([view_workflow.AssignedTo], ?UserEmail)"; selectQuery1.GroupFilterString = ""; selectQuery1.Name = "view_workflow_laststatus"; queryParameter1.Name = "UserEmail"; queryParameter1.Type = typeof(DevExpress.DataAccess.Expression); queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.UserEmail]", typeof(string)); selectQuery1.Parameters.Add(queryParameter1); selectQuery1.Tables.Add(table1); this.data_workflow.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1 }); this.data_workflow.ResultSchemaSerializable = resources.GetString("data_workflow.ResultSchemaSerializable"); // // gaugeDashboardItem1 // this.gaugeDashboardItem1.ComponentName = "gaugeDashboardItem1"; measure2.DataMember = "Status"; measure2.Name = "Count of Workflow Items"; measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Count; dimension3.DataMember = "DueDate"; dimension3.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.QuarterYear; this.gaugeDashboardItem1.DataItemRepository.Clear(); this.gaugeDashboardItem1.DataItemRepository.Add(measure2, "DataItem0"); this.gaugeDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1"); this.gaugeDashboardItem1.DataMember = "view_workflow_laststatus"; this.gaugeDashboardItem1.DataSource = this.data_workflow; gauge1.AddDataItem("ActualValue", measure2); this.gaugeDashboardItem1.Gauges.AddRange(new DevExpress.DashboardCommon.Gauge[] { gauge1 }); this.gaugeDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.gaugeDashboardItem1.Name = "Count of Workflow Items per Quarter"; this.gaugeDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension3 }); this.gaugeDashboardItem1.ShowCaption = true; // // pivotDashboardItem1 // dimension4.DataMember = "Project"; dimension5.DataMember = "Status"; this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension4, dimension5 }); this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1"; dimension6.DataMember = "AssignedTo"; measure3.DataMember = "AssignedTo"; measure3.SummaryType = DevExpress.DashboardCommon.SummaryType.Count; dimension7.DataMember = "RC_ID"; dimension8.DataMember = "RC_NAME"; this.pivotDashboardItem1.DataItemRepository.Clear(); this.pivotDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0"); this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem2"); this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1"); this.pivotDashboardItem1.DataItemRepository.Add(dimension7, "DataItem4"); this.pivotDashboardItem1.DataItemRepository.Add(dimension8, "DataItem3"); this.pivotDashboardItem1.DataItemRepository.Add(dimension5, "DataItem5"); this.pivotDashboardItem1.DataMember = "view_workflow_laststatus"; this.pivotDashboardItem1.DataSource = this.data_workflow; this.pivotDashboardItem1.FilterString = "Not [DataItem5] In (\'Unassugned\')"; formatConditionDateOccuring1.DateType = ((DevExpress.XtraEditors.FilterDateType)(((((((DevExpress.XtraEditors.FilterDateType.Yesterday | DevExpress.XtraEditors.FilterDateType.EarlierThisWeek) | DevExpress.XtraEditors.FilterDateType.LastWeek) | DevExpress.XtraEditors.FilterDateType.EarlierThisMonth) | DevExpress.XtraEditors.FilterDateType.EarlierThisYear) | DevExpress.XtraEditors.FilterDateType.PriorThisYear) | DevExpress.XtraEditors.FilterDateType.Beyond))); iconSettings1.IconType = DevExpress.DashboardCommon.FormatConditionIconType.IndicatorRedFlag; formatConditionDateOccuring1.StyleSettings = iconSettings1; pivotItemFormatRule1.Condition = formatConditionDateOccuring1; pivotItemFormatRule1.Enabled = false; pivotItemFormatRule1.Name = "FormatRule 1"; this.pivotDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.PivotItemFormatRule[] { pivotItemFormatRule1 }); this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false; this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact; this.pivotDashboardItem1.Name = "Items assigned to you"; this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] { dimension6, dimension7, dimension8 }); this.pivotDashboardItem1.ShowCaption = true; this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] { measure3 }); // // dash_workflow // this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] { this.data_workflow }); this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] { this.pieDashboardItem1, this.pivotDashboardItem1, this.gaugeDashboardItem1 }); dashboardLayoutItem1.DashboardItem = this.pieDashboardItem1; dashboardLayoutItem1.Weight = 49.957155098543275D; dashboardLayoutItem2.DashboardItem = this.gaugeDashboardItem1; dashboardLayoutItem2.Weight = 50.042844901456725D; dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutItem1, dashboardLayoutItem2 }); dashboardLayoutGroup2.DashboardItem = null; dashboardLayoutGroup2.Weight = 49.92272024729521D; dashboardLayoutItem3.DashboardItem = this.pivotDashboardItem1; dashboardLayoutItem3.Weight = 50.07727975270479D; dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] { dashboardLayoutGroup2, dashboardLayoutItem3 }); dashboardLayoutGroup1.DashboardItem = null; dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical; this.LayoutRoot = dashboardLayoutGroup1; dashboardParameter1.Name = "UserEmail"; dashboardParameter1.Type = typeof(string); dashboardParameter1.Value = ""; this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] { dashboardParameter1 }); this.Title.Text = "Dashboard"; this.Title.Visible = false; ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.data_workflow)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }