/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter   dashboardParameter1   = new DevExpress.DashboardCommon.DashboardParameter();
     DevExpress.DashboardCommon.DashboardParameter   dashboardParameter2   = new DevExpress.DashboardCommon.DashboardParameter();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.bindingSource1             = new System.Windows.Forms.BindingSource(this.components);
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     measure1.DataMember          = "ID";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     dimension1.DataMember          = "Name";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridDimensionColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.gridDashboardItem1.DataSource   = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.FilterString = "";
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // bindingSource1
     //
     this.bindingSource1.DataSource = typeof(WinProject.MyClass);
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataSource    = typeof(WinProject.MyClass);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 44.110275689223059D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot           = dashboardLayoutGroup1;
     dashboardParameter1.Name  = "Parameter1";
     dashboardParameter1.Type  = typeof(int);
     dashboardParameter1.Value = 0;
     dashboardParameter2.Name  = "Parameter2";
     dashboardParameter2.Type  = typeof(string);
     dashboardParameter2.Value = "Name1";
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1,
         dashboardParameter2
     });
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).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.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_scorecard_change));
     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.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn2  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn3  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn4  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn5  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn6  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "OhioDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     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";
     dimension1.DataMember = "Project Name";
     dimension2.DataMember = "Business Area";
     dimension3.DataMember = "Business Processes";
     dimension4.DataMember = "card_name";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2,
         dimension3,
         dimension4
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Select Project";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem1
     //
     dimension5.DataMember          = "BA";
     gridDimensionColumn1.Weight    = 20.638820638820643D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension5);
     dimension6.DataMember          = "Business Processes";
     gridDimensionColumn2.Weight    = 115.72481572481574D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension6);
     dimension7.DataMember          = "card_name";
     gridDimensionColumn3.Weight    = 109.09090909090911D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension7);
     dimension8.DataMember          = "Standards and Conditions";
     gridDimensionColumn4.Weight    = 100.982800982801D;
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension8);
     dimension9.DataMember          = "Type Of Architecture";
     gridDimensionColumn5.Weight    = 129.72972972972974D;
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension9);
     measure1.DataMember = "As-Is";
     measure1.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure1.SummaryType         = DevExpress.DashboardCommon.SummaryType.Max;
     gridMeasureColumn1.Weight    = 39.803439803439815D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "To-Be";
     measure2.SummaryType         = DevExpress.DashboardCommon.SummaryType.Max;
     gridMeasureColumn2.Weight    = 41.277641277641287D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     dimension10.DataMember         = "Project Name";
     gridDimensionColumn6.Weight    = 79.606879606879616D;
     gridDimensionColumn6.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn6.AddDataItem("Dimension", dimension10);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDimensionColumn3,
         gridDimensionColumn4,
         gridDimensionColumn5,
         gridMeasureColumn1,
         gridMeasureColumn2,
         gridDimensionColumn6
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem6");
     this.gridDashboardItem1.DataItemRepository.Add(dimension10, "DataItem7");
     this.gridDashboardItem1.DataMember = "Query";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.GridOptions.AllowCellMerge               = true;
     this.gridDashboardItem1.GridOptions.EnableBandedRows             = true;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // dash_ent_scorecard_change
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.treeViewDashboardItem1,
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 86.6412213740458D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 13.358778625954198D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.ShowMasterFilterState = false;
     this.Title.Text = "ScoreCard Dashboard";
     ((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)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1 = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dataSource1        = new DevExpress.DashboardCommon.DataSource();
     this.bindingSource1     = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     measure1.DataMember = "ID";
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     dimension1.DataMember = "Name";
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridDimensionColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource          = this.dataSource1;
     this.gridDashboardItem1.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dataSource1
     //
     this.dataSource1.ComponentName      = "dataSource1";
     this.dataSource1.Data               = this.bindingSource1;
     this.dataSource1.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource1.Name               = "Data Source 1";
     //
     // bindingSource1
     //
     this.bindingSource1.DataSource = typeof(NewProject.MyClass);
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.DataSource[] {
         this.dataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).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.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.Dimension               dimension1              = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure1                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure2                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure3                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ValueMap                valueMap1               = new DevExpress.DashboardCommon.ValueMap();
     DevExpress.DashboardCommon.UniformScale            uniformScale1           = new DevExpress.DashboardCommon.UniformScale();
     DevExpress.DashboardCommon.DeltaMap                deltaMap1               = new DevExpress.DashboardCommon.DeltaMap();
     System.ComponentModel.ComponentResourceManager     resources               = new System.ComponentModel.ComponentResourceManager(typeof(SampleDashboard));
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo1              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo2              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo3              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo4              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo5              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo6              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo7              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo8              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo9              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.ExcelWorksheetSettings excelWorksheetSettings1 = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings();
     DevExpress.DataAccess.Excel.ExcelSourceOptions     excelSourceOptions1     = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1);
     DevExpress.DashboardCommon.Dimension               dimension2              = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1    = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure4                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure5                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridDeltaColumn         gridDeltaColumn1        = new DevExpress.DashboardCommon.GridDeltaColumn();
     DevExpress.DashboardCommon.Dimension               dimension3              = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure6                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane               chartPane1              = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries1           = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Measure                 measure7                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure8                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card card1 = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate1 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Measure measure9  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure measure10 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card    card2     = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate2 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Measure measure11 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure measure12 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card    card3     = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate3 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     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.DashboardLayoutGroup        dashboardLayoutGroup3        = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem         dashboardLayoutItem3         = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem         dashboardLayoutItem4         = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.choroplethMapDashboardItem1 = new DevExpress.DashboardCommon.ChoroplethMapDashboardItem();
     this.dashboardExcelDataSource1   = new DevExpress.DashboardCommon.DashboardExcelDataSource();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.chartDashboardItem1         = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.cardDashboardItem1          = new DevExpress.DashboardCommon.CardDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.choroplethMapDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // choroplethMapDashboardItem1
     //
     this.choroplethMapDashboardItem1.Area = DevExpress.DashboardCommon.ShapefileArea.USA;
     dimension1.DataMember = "State";
     this.choroplethMapDashboardItem1.AttributeDimension = dimension1;
     this.choroplethMapDashboardItem1.AttributeName      = "NAME";
     this.choroplethMapDashboardItem1.ComponentName      = "choroplethMapDashboardItem1";
     measure1.DataMember = "RevenueYTD (Sum)";
     measure2.DataMember = "RevenueYTD (Sum)";
     measure3.DataMember = "RevenueYTDTarget (Sum)";
     this.choroplethMapDashboardItem1.DataItemRepository.Clear();
     this.choroplethMapDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure3, "DataItem3");
     this.choroplethMapDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.choroplethMapDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.choroplethMapDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     valueMap1.Name      = "Revenue YTD";
     valueMap1.Scale     = uniformScale1;
     valueMap1.ValueName = "Revenue";
     valueMap1.AddDataItem("Value", measure1);
     deltaMap1.ActualValueName = "Revenue";
     deltaMap1.DeltaName       = "vs Target";
     deltaMap1.Name            = "Revenue YTD vs Target";
     deltaMap1.AddDataItem("ActualValue", measure2);
     deltaMap1.AddDataItem("TargetValue", measure3);
     this.choroplethMapDashboardItem1.Maps.AddRange(new DevExpress.DashboardCommon.ChoroplethMap[] {
         valueMap1,
         deltaMap1
     });
     this.choroplethMapDashboardItem1.Name = "Sales by State";
     this.choroplethMapDashboardItem1.ShapeTitleAttributeName       = "ABBREV";
     this.choroplethMapDashboardItem1.ShowCaption                   = true;
     this.choroplethMapDashboardItem1.Viewport.BottomLatitude       = 22.722765208057595D;
     this.choroplethMapDashboardItem1.Viewport.CenterPointLatitude  = 37.208247632673633D;
     this.choroplethMapDashboardItem1.Viewport.CenterPointLongitude = -95.848499902568008D;
     this.choroplethMapDashboardItem1.Viewport.LeftLongitude        = -124.70997774915153D;
     this.choroplethMapDashboardItem1.Viewport.RightLongitude       = -66.987022055984482D;
     this.choroplethMapDashboardItem1.Viewport.TopLatitude          = 49.369672064487254D;
     //
     // dashboardExcelDataSource1
     //
     this.dashboardExcelDataSource1.ComponentName            = "dashboardExcelDataSource1";
     this.dashboardExcelDataSource1.FileName                 = "|DataDirectory|\\Data\\Sales.xlsx";
     this.dashboardExcelDataSource1.Name                     = "Excel Data Source 1";
     this.dashboardExcelDataSource1.ResultSchemaSerializable = resources.GetString("dashboardExcelDataSource1.ResultSchemaSerializable");
     fieldInfo1.Name = "Category";
     fieldInfo1.Type = typeof(string);
     fieldInfo2.Name = "Product";
     fieldInfo2.Type = typeof(string);
     fieldInfo3.Name = "State";
     fieldInfo3.Type = typeof(string);
     fieldInfo4.Name = "UnitsSoldYTD (Sum)";
     fieldInfo4.Type = typeof(double);
     fieldInfo5.Name = "UnitsSoldYTDTarget (Sum)";
     fieldInfo5.Type = typeof(double);
     fieldInfo6.Name = "RevenueQTD (Sum)";
     fieldInfo6.Type = typeof(double);
     fieldInfo7.Name = "RevenueQTDTarget (Sum)";
     fieldInfo7.Type = typeof(double);
     fieldInfo8.Name = "RevenueYTD (Sum)";
     fieldInfo8.Type = typeof(double);
     fieldInfo9.Name = "RevenueYTDTarget (Sum)";
     fieldInfo9.Type = typeof(double);
     this.dashboardExcelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] {
         fieldInfo1,
         fieldInfo2,
         fieldInfo3,
         fieldInfo4,
         fieldInfo5,
         fieldInfo6,
         fieldInfo7,
         fieldInfo8,
         fieldInfo9
     });
     excelWorksheetSettings1.CellRange            = null;
     excelWorksheetSettings1.WorksheetName        = "Sheet1";
     excelSourceOptions1.ImportSettings           = excelWorksheetSettings1;
     this.dashboardExcelDataSource1.SourceOptions = excelSourceOptions1;
     //
     // gridDashboardItem1
     //
     dimension2.DataMember          = "Product";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     measure4.DataMember        = "UnitsSoldYTD (Sum)";
     measure5.DataMember        = "UnitsSoldYTDTarget (Sum)";
     gridDeltaColumn1.Name      = "UnitsSold YTD vs Target";
     gridDeltaColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDeltaColumn1.AddDataItem("ActualValue", measure4);
     gridDeltaColumn1.AddDataItem("TargetValue", measure5);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDeltaColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure5, "DataItem2");
     this.gridDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Product Units Sold";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension3.DataMember = "Category";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure6.DataMember = "UnitsSoldYTD (Sum)";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure6, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     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.AddDataItem("Value", measure6);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.Rotated     = true;
     this.chartDashboardItem1.ShowCaption = true;
     //
     // cardDashboardItem1
     //
     measure7.DataMember = "RevenueQTD (Sum)";
     measure8.DataMember = "RevenueQTDTarget (Sum)";
     cardStretchedLayoutTemplate1.BottomValue1.DimensionIndex = 0;
     cardStretchedLayoutTemplate1.BottomValue1.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.PercentVariation;
     cardStretchedLayoutTemplate1.BottomValue1.Visible        = true;
     cardStretchedLayoutTemplate1.BottomValue2.DimensionIndex = 0;
     cardStretchedLayoutTemplate1.BottomValue2.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.AbsoluteVariation;
     cardStretchedLayoutTemplate1.BottomValue2.Visible        = true;
     cardStretchedLayoutTemplate1.DeltaIndicator.Visible      = true;
     cardStretchedLayoutTemplate1.MainValue.DimensionIndex    = 0;
     cardStretchedLayoutTemplate1.MainValue.ValueType         = DevExpress.DashboardCommon.CardRowDataElementType.Title;
     cardStretchedLayoutTemplate1.MainValue.Visible           = true;
     cardStretchedLayoutTemplate1.Sparkline.Visible           = true;
     cardStretchedLayoutTemplate1.SubValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate1.SubValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.Subtitle;
     cardStretchedLayoutTemplate1.SubValue.Visible            = true;
     cardStretchedLayoutTemplate1.TopValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate1.TopValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.ActualValue;
     cardStretchedLayoutTemplate1.TopValue.Visible            = true;
     card1.LayoutTemplate = cardStretchedLayoutTemplate1;
     card1.AddDataItem("ActualValue", measure7);
     card1.AddDataItem("TargetValue", measure8);
     measure9.DataMember  = "RevenueYTD (Sum)";
     measure10.DataMember = "RevenueYTDTarget (Sum)";
     cardStretchedLayoutTemplate2.BottomValue1.DimensionIndex = 0;
     cardStretchedLayoutTemplate2.BottomValue1.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.PercentVariation;
     cardStretchedLayoutTemplate2.BottomValue1.Visible        = true;
     cardStretchedLayoutTemplate2.BottomValue2.DimensionIndex = 0;
     cardStretchedLayoutTemplate2.BottomValue2.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.AbsoluteVariation;
     cardStretchedLayoutTemplate2.BottomValue2.Visible        = true;
     cardStretchedLayoutTemplate2.DeltaIndicator.Visible      = true;
     cardStretchedLayoutTemplate2.MainValue.DimensionIndex    = 0;
     cardStretchedLayoutTemplate2.MainValue.ValueType         = DevExpress.DashboardCommon.CardRowDataElementType.Title;
     cardStretchedLayoutTemplate2.MainValue.Visible           = true;
     cardStretchedLayoutTemplate2.Sparkline.Visible           = true;
     cardStretchedLayoutTemplate2.SubValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate2.SubValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.Subtitle;
     cardStretchedLayoutTemplate2.SubValue.Visible            = true;
     cardStretchedLayoutTemplate2.TopValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate2.TopValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.ActualValue;
     cardStretchedLayoutTemplate2.TopValue.Visible            = true;
     card2.LayoutTemplate = cardStretchedLayoutTemplate2;
     card2.AddDataItem("ActualValue", measure9);
     card2.AddDataItem("TargetValue", measure10);
     measure11.DataMember = "UnitsSoldYTD (Sum)";
     measure12.DataMember = "UnitsSoldYTDTarget (Sum)";
     cardStretchedLayoutTemplate3.BottomValue1.DimensionIndex = 0;
     cardStretchedLayoutTemplate3.BottomValue1.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.PercentVariation;
     cardStretchedLayoutTemplate3.BottomValue1.Visible        = true;
     cardStretchedLayoutTemplate3.BottomValue2.DimensionIndex = 0;
     cardStretchedLayoutTemplate3.BottomValue2.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.AbsoluteVariation;
     cardStretchedLayoutTemplate3.BottomValue2.Visible        = true;
     cardStretchedLayoutTemplate3.DeltaIndicator.Visible      = true;
     cardStretchedLayoutTemplate3.MainValue.DimensionIndex    = 0;
     cardStretchedLayoutTemplate3.MainValue.ValueType         = DevExpress.DashboardCommon.CardRowDataElementType.Title;
     cardStretchedLayoutTemplate3.MainValue.Visible           = true;
     cardStretchedLayoutTemplate3.Sparkline.Visible           = true;
     cardStretchedLayoutTemplate3.SubValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate3.SubValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.Subtitle;
     cardStretchedLayoutTemplate3.SubValue.Visible            = true;
     cardStretchedLayoutTemplate3.TopValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate3.TopValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.ActualValue;
     cardStretchedLayoutTemplate3.TopValue.Visible            = true;
     card3.LayoutTemplate = cardStretchedLayoutTemplate3;
     card3.AddDataItem("ActualValue", measure11);
     card3.AddDataItem("TargetValue", measure12);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1,
         card2,
         card3
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(measure7, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(measure8, "DataItem1");
     this.cardDashboardItem1.DataItemRepository.Add(measure9, "DataItem2");
     this.cardDashboardItem1.DataItemRepository.Add(measure10, "DataItem3");
     this.cardDashboardItem1.DataItemRepository.Add(measure11, "DataItem4");
     this.cardDashboardItem1.DataItemRepository.Add(measure12, "DataItem5");
     this.cardDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name        = "Cards 1";
     this.cardDashboardItem1.ShowCaption = false;
     //
     // SampleDashboard
     //
     this.CurrencyCultureName = null;
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.choroplethMapDashboardItem1,
         this.gridDashboardItem1,
         this.chartDashboardItem1,
         this.cardDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.choroplethMapDashboardItem1;
     dashboardLayoutItem1.Weight        = 73.395721925133685D;
     dashboardLayoutItem2.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem2.Weight        = 26.604278074866311D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 62.684365781710916D;
     dashboardLayoutItem3.DashboardItem  = this.gridDashboardItem1;
     dashboardLayoutItem3.Weight         = 48.1283422459893D;
     dashboardLayoutItem4.DashboardItem  = this.chartDashboardItem1;
     dashboardLayoutItem4.Weight         = 51.8716577540107D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 37.315634218289084D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Sample Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.choroplethMapDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 6
0
 /// <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.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     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.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardObjectDataSource2 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "SalesPerson";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Quantity";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "SalesPerson";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "Quantity";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     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.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardObjectDataSource2
     //
     this.dashboardObjectDataSource2.ComponentName = "dashboardObjectDataSource2";
     this.dashboardObjectDataSource2.DataSource    = typeof(NewProject.Data);
     this.dashboardObjectDataSource2.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 39.098532494758906D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 60.901467505241094D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).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.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataSource    = typeof(NewProject.MyClass);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // gridDashboardItem1
     //
     measure1.DataMember          = "Sales";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     dimension1.DataMember            = "Date";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     gridDimensionColumn1.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridDimensionColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).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.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.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.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_enterprise_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.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = 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.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     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();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardItemGroup1     = new DevExpress.DashboardCommon.DashboardItemGroup();
     ((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)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardItemGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "DevDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     columnExpression1.ColumnName = "rm_projectID";
     table1.MetaSerializable      = "<Meta X=\"30\" Y=\"30\" Width=\"150\" Height=\"324\" />";
     table1.Name                   = "rc_roadmap";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "pro_ID";
     table2.MetaSerializable       = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"362\" />";
     table2.Name                   = "rc_projects";
     columnExpression2.Table       = table2;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "rm_targetdate1";
     columnExpression3.Table       = table1;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "rm_targetdate2";
     columnExpression4.Table       = table1;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "rm_targetdate3";
     columnExpression5.Table       = table1;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "rm_cmsreviewtext";
     columnExpression6.Table       = table1;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "rm_cmsreviewdate";
     columnExpression7.Table       = table1;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "rm_actualend";
     columnExpression8.Table       = table1;
     column8.Expression            = columnExpression8;
     columnExpression9.ColumnName  = "rm_estimatedend";
     columnExpression9.Table       = table1;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "rm_startdate";
     columnExpression10.Table      = table1;
     column10.Expression           = columnExpression10;
     columnExpression11.ColumnName = "rm_desc";
     columnExpression11.Table      = table1;
     column11.Expression           = columnExpression11;
     columnExpression12.ColumnName = "rm_status";
     columnExpression12.Table      = table1;
     column12.Expression           = columnExpression12;
     columnExpression13.ColumnName = "rm_title";
     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.Name = "rc_roadmap";
     relationColumnInfo1.NestedKeyColumn = "pro_ID";
     relationColumnInfo1.ParentKeyColumn = "rm_projectID";
     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          = "rm_title";
     dimension1.Name                = "Roadmap Title";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     dimension2.DataMember            = "rm_targetdate1";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     gridDimensionColumn2.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension2);
     dimension3.DataMember            = "rm_targetdate2";
     dimension3.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     gridDimensionColumn3.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension3);
     dimension4.DataMember            = "rm_targetdate3";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     gridDimensionColumn4.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension4);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDimensionColumn3,
         gridDimensionColumn4
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     dimension5.DataMember            = "rm_estimatedend";
     dimension5.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem4");
     this.gridDashboardItem1.DataMember = "rc_roadmap";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name              = "Grid 1";
     this.gridDashboardItem1.ShowCaption       = true;
     this.gridDashboardItem1.SparklineArgument = dimension5;
     //
     // chartDashboardItem1
     //
     dimension6.DataMember = "rm_title";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension6
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember              = "rm_status";
     measure1.SummaryType             = DevExpress.DashboardCommon.SummaryType.CountDistinct;
     dimension7.DataMember            = "rm_targetdate1";
     dimension7.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension7.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     dimension8.DataMember            = "rm_targetdate2";
     dimension8.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension8.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     dimension9.DataMember            = "rm_targetdate3";
     dimension9.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension9.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem4");
     this.chartDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension7, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(dimension8, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension9, "DataItem2");
     this.chartDashboardItem1.DataMember = "rc_roadmap";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.Group      = this.dashboardItemGroup1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     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.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.FullStackedArea;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension7,
         dimension8,
         dimension9
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardItemGroup1
     //
     this.dashboardItemGroup1.ComponentName = "dashboardItemGroup1";
     this.dashboardItemGroup1.InteractivityOptions.IgnoreMasterFilters = true;
     this.dashboardItemGroup1.Name        = "Group 1";
     this.dashboardItemGroup1.ShowCaption = true;
     //
     // dash_ent_enterprise_roadmap
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Groups.AddRange(new DevExpress.DashboardCommon.DashboardItemGroup[] {
         this.dashboardItemGroup1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 33.305921052631582D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 100D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = this.dashboardItemGroup1;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 66.694078947368425D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((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)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardItemGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 9
0
 /// <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.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     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.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     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.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     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.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.treeViewDashboardItem1      = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.chartDashboardItem1         = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.rangeFilterDashboardItem1   = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardExtractDataSource1 = new DevExpress.DashboardCommon.DashboardExtractDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Sales Person";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Extended Price";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataMember = "";
     this.gridDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.gridDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Single;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension2.DataMember = "CategoryName";
     dimension2.Name       = "Category";
     dimension3.DataMember = "ProductName";
     dimension3.Name       = "Product";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.treeViewDashboardItem1.DataMember = "";
     this.treeViewDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension3
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Category";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension4.DataMember = "CategoryName";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     dimension5.DataMember = "OrderDate";
     measure2.DataMember   = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.chartDashboardItem1.DataMember = "";
     this.chartDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Sales by Catgory";
     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.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension5
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // rangeFilterDashboardItem1
     //
     dimension6.DataMember                        = "OrderDate";
     dimension6.DateTimeGroupInterval             = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.rangeFilterDashboardItem1.Argument      = dimension6;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     measure3.DataMember = "Extended Price";
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.rangeFilterDashboardItem1.DataMember = "";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Range Filter 1";
     simpleSeries2.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.Area;
     simpleSeries2.AddDataItem("Value", measure3);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries2
     });
     this.rangeFilterDashboardItem1.ShowCaption = false;
     //
     // dashboardExtractDataSource1
     //
     this.dashboardExtractDataSource1.ComponentName = "dashboardExtractDataSource1";
     this.dashboardExtractDataSource1.FileName      = "C:\\Data\\SalesPerson.dat";
     this.dashboardExtractDataSource1.Name          = "Extract Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExtractDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.treeViewDashboardItem1,
         this.chartDashboardItem1,
         this.rangeFilterDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 50D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 28.895184135977338D;
     dashboardLayoutItem3.DashboardItem  = this.chartDashboardItem1;
     dashboardLayoutItem3.Weight         = 71.104815864022669D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup3,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 79.935275080906152D;
     dashboardLayoutItem4.DashboardItem  = this.rangeFilterDashboardItem1;
     dashboardLayoutItem4.Weight         = 20.064724919093852D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     this.ConfigureDataConnection += new DevExpress.DashboardCommon.DashboardConfigureDataConnectionEventHandler(this.Dashboard1_ConfigureDataConnection);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).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.Measure             measure1               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension           dimension2             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DataAccess.Sql.CustomSqlQuery       customSqlQuery1        = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager resources              = new System.ComponentModel.ComponentResourceManager(typeof(dash_pro_workflow_allUsers));
     DevExpress.DashboardCommon.Dimension           dimension3             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure             measure2               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Gauge                gauge1                = new DevExpress.DashboardCommon.Gauge();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn2  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn3  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn4  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn5  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn6  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn7  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension11           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn8  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension12           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension13           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension14           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension15           = new DevExpress.DashboardCommon.Dimension();
     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.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.pieDashboardItem1       = new DevExpress.DashboardCommon.PieDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gaugeDashboardItem1     = new DevExpress.DashboardCommon.GaugeDashboardItem();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     ((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.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).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)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension15)).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   = "Status";
     measure1.SummaryType  = DevExpress.DashboardCommon.SummaryType.CountDistinct;
     dimension2.DataMember = "UserName";
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.pieDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.pieDashboardItem1.DataMember = "Query";
     this.pieDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem1.InteractivityOptions.IsDrillDownEnabled  = true;
     this.pieDashboardItem1.Name = "Workflow Status activities of users";
     this.pieDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.pieDashboardItem1.ShowCaption = true;
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure1
     });
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "DevDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gaugeDashboardItem1
     //
     this.gaugeDashboardItem1.ComponentName = "gaugeDashboardItem1";
     dimension3.DataMember = "UserName";
     measure2.DataMember   = "RC_ID";
     measure2.SummaryType  = DevExpress.DashboardCommon.SummaryType.Count;
     this.gaugeDashboardItem1.DataItemRepository.Clear();
     this.gaugeDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.gaugeDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.gaugeDashboardItem1.DataMember = "Query";
     this.gaugeDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     gauge1.AddDataItem("ActualValue", measure2);
     this.gaugeDashboardItem1.Gauges.AddRange(new DevExpress.DashboardCommon.Gauge[] {
         gauge1
     });
     this.gaugeDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gaugeDashboardItem1.InteractivityOptions.IsDrillDownEnabled  = true;
     this.gaugeDashboardItem1.Name = "Count of workflow items per user";
     this.gaugeDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.gaugeDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem1
     //
     dimension4.DataMember          = "pro_name";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension4);
     dimension5.DataMember          = "RC_ID";
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension5);
     dimension6.DataMember          = "RC_NAME";
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension6);
     dimension7.DataMember          = "RC_TYPE";
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension7);
     dimension8.DataMember          = "Status";
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension8);
     dimension9.DataMember          = "Date";
     gridDimensionColumn6.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn6.AddDataItem("Dimension", dimension9);
     dimension10.DataMember         = "DueDate";
     gridDimensionColumn7.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn7.AddDataItem("Dimension", dimension10);
     dimension11.DataMember         = "UserName";
     gridDimensionColumn8.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn8.AddDataItem("Dimension", dimension11);
     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(dimension4, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(dimension10, "DataItem6");
     this.gridDashboardItem1.DataItemRepository.Add(dimension11, "DataItem7");
     this.gridDashboardItem1.DataMember = "Query";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Items assigned to users";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension12.DataMember       = "pro_name";
     dimension12.GroupChildValues = true;
     dimension13.DataMember       = "Status";
     dimension14.DataMember       = "UserName";
     dimension15.DataMember       = "RC_ID";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension12, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension13, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension14, "DataItem3");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension15, "DataItem4");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension12,
         dimension13,
         dimension14,
         dimension15
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Data Selector";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // dash_pro_workflow_allUsers
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.pieDashboardItem1,
         this.gaugeDashboardItem1,
         this.gridDashboardItem1,
         this.treeViewDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.pieDashboardItem1;
     dashboardLayoutItem1.Weight        = 27.477477477477478D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 10.51051051051051D;
     dashboardLayoutItem3.DashboardItem = this.gaugeDashboardItem1;
     dashboardLayoutItem3.Weight        = 62.012012012012015D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 50.060901339829478D;
     dashboardLayoutItem4.DashboardItem  = this.gridDashboardItem1;
     dashboardLayoutItem4.Weight         = 49.939098660170522D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot     = dashboardLayoutGroup1;
     this.Title.ImageUrl = "https://readycert.net/images/logo.png";
     this.Title.ShowMasterFilterState = false;
     this.Title.Text        = "Project Workflow Dashboard";
     this.CustomParameters += new DevExpress.DashboardCommon.CustomParametersEventHandler(this.dash_pro_workflow_allUsers_CustomParameters);
     ((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.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).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)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).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.Measure                 measure2                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure3                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ValueMap                valueMap1               = new DevExpress.DashboardCommon.ValueMap();
     DevExpress.DashboardCommon.UniformScale            uniformScale1           = new DevExpress.DashboardCommon.UniformScale();
     DevExpress.DashboardCommon.DeltaMap                deltaMap1               = new DevExpress.DashboardCommon.DeltaMap();
     System.ComponentModel.ComponentResourceManager     resources               = new System.ComponentModel.ComponentResourceManager(typeof(SampleDashboard));
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo1              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo2              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo3              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo4              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo5              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo6              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo7              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo8              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo9              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.ExcelWorksheetSettings excelWorksheetSettings1 = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings();
     DevExpress.DataAccess.Excel.ExcelSourceOptions     excelSourceOptions1     = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1);
     DevExpress.DashboardCommon.Dimension               dimension2              = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1    = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension               dimension3              = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn2    = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure4                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure5                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridDeltaColumn         gridDeltaColumn1        = new DevExpress.DashboardCommon.GridDeltaColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup1   = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1    = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2    = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.choroplethMapDashboardItem1 = new DevExpress.DashboardCommon.ChoroplethMapDashboardItem();
     this.dashboardExcelDataSource1   = new DevExpress.DashboardCommon.DashboardExcelDataSource();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.choroplethMapDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // choroplethMapDashboardItem1
     //
     this.choroplethMapDashboardItem1.Area = DevExpress.DashboardCommon.ShapefileArea.USA;
     dimension1.DataMember = "State";
     this.choroplethMapDashboardItem1.AttributeDimension = dimension1;
     this.choroplethMapDashboardItem1.AttributeName      = "NAME";
     this.choroplethMapDashboardItem1.ComponentName      = "choroplethMapDashboardItem1";
     measure1.DataMember = "RevenueYTD (Sum)";
     measure2.DataMember = "RevenueYTD (Sum)";
     measure3.DataMember = "RevenueYTDTarget (Sum)";
     this.choroplethMapDashboardItem1.DataItemRepository.Clear();
     this.choroplethMapDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure3, "DataItem3");
     this.choroplethMapDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.choroplethMapDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.choroplethMapDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     valueMap1.Name      = "Revenue YTD";
     valueMap1.Scale     = uniformScale1;
     valueMap1.ValueName = "Revenue";
     valueMap1.AddDataItem("Value", measure1);
     deltaMap1.ActualValueName = "Revenue";
     deltaMap1.DeltaName       = "vs Target";
     deltaMap1.Name            = "Revenue YTD vs Target";
     deltaMap1.AddDataItem("ActualValue", measure2);
     deltaMap1.AddDataItem("TargetValue", measure3);
     this.choroplethMapDashboardItem1.Maps.AddRange(new DevExpress.DashboardCommon.ChoroplethMap[] {
         valueMap1,
         deltaMap1
     });
     this.choroplethMapDashboardItem1.Name = "Sales by State";
     this.choroplethMapDashboardItem1.ShapeTitleAttributeName       = "ABBREV";
     this.choroplethMapDashboardItem1.ShowCaption                   = true;
     this.choroplethMapDashboardItem1.Viewport.BottomLatitude       = 25.31399686804809D;
     this.choroplethMapDashboardItem1.Viewport.CenterPointLatitude  = 37.298652216525717D;
     this.choroplethMapDashboardItem1.Viewport.CenterPointLongitude = -99.1736207753099D;
     this.choroplethMapDashboardItem1.Viewport.CreateViewerPaddings = false;
     this.choroplethMapDashboardItem1.Viewport.LeftLongitude        = -114.64010379808356D;
     this.choroplethMapDashboardItem1.Viewport.RightLongitude       = -83.707137752536212D;
     this.choroplethMapDashboardItem1.Viewport.TopLatitude          = 47.640614567674412D;
     //
     // dashboardExcelDataSource1
     //
     this.dashboardExcelDataSource1.ComponentName            = "dashboardExcelDataSource1";
     this.dashboardExcelDataSource1.FileName                 = "|DataDirectory|\\Data\\Sales.xlsx";
     this.dashboardExcelDataSource1.Name                     = "Excel Data Source 1";
     this.dashboardExcelDataSource1.ResultSchemaSerializable = resources.GetString("dashboardExcelDataSource1.ResultSchemaSerializable");
     fieldInfo1.Name = "Category";
     fieldInfo1.Type = typeof(string);
     fieldInfo2.Name = "Product";
     fieldInfo2.Type = typeof(string);
     fieldInfo3.Name = "State";
     fieldInfo3.Type = typeof(string);
     fieldInfo4.Name = "UnitsSoldYTD (Sum)";
     fieldInfo4.Type = typeof(double);
     fieldInfo5.Name = "UnitsSoldYTDTarget (Sum)";
     fieldInfo5.Type = typeof(double);
     fieldInfo6.Name = "RevenueQTD (Sum)";
     fieldInfo6.Type = typeof(double);
     fieldInfo7.Name = "RevenueQTDTarget (Sum)";
     fieldInfo7.Type = typeof(double);
     fieldInfo8.Name = "RevenueYTD (Sum)";
     fieldInfo8.Type = typeof(double);
     fieldInfo9.Name = "RevenueYTDTarget (Sum)";
     fieldInfo9.Type = typeof(double);
     this.dashboardExcelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] {
         fieldInfo1,
         fieldInfo2,
         fieldInfo3,
         fieldInfo4,
         fieldInfo5,
         fieldInfo6,
         fieldInfo7,
         fieldInfo8,
         fieldInfo9
     });
     excelWorksheetSettings1.CellRange            = null;
     excelWorksheetSettings1.WorksheetName        = "Sheet1";
     excelSourceOptions1.ImportSettings           = excelWorksheetSettings1;
     this.dashboardExcelDataSource1.SourceOptions = excelSourceOptions1;
     //
     // gridDashboardItem1
     //
     dimension2.DataMember          = "Category";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     dimension3.DataMember          = "Product";
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension3);
     measure4.DataMember        = "UnitsSoldYTD (Sum)";
     measure5.DataMember        = "UnitsSoldYTDTarget (Sum)";
     gridDeltaColumn1.Name      = "UnitsSold YTD vs Target";
     gridDeltaColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDeltaColumn1.AddDataItem("ActualValue", measure4);
     gridDeltaColumn1.AddDataItem("TargetValue", measure5);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDeltaColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure5, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.gridDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Product Units Sold";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // SampleDashboard
     //
     this.CurrencyCultureName = null;
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.choroplethMapDashboardItem1,
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.choroplethMapDashboardItem1;
     dashboardLayoutItem1.Weight        = 53.152039555006183D;
     dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem2.Weight        = 46.847960444993817D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Sample Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.choroplethMapDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).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.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     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.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     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();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.nwindDataSet1              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.pivotDashboardItem1        = new DevExpress.DashboardCommon.PivotDashboardItem();
     this.nwindDataSet2              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.nwindDataSet3              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.salesPersonTableAdapter1   = new Dashboard_UnderlyingDataWin.nwindDataSetTableAdapters.SalesPersonTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Sales Person";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Extended Price";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // nwindDataSet1
     //
     this.nwindDataSet1.DataSetName             = "nwindDataSet";
     this.nwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "OrderDate";
     dimension2.Name       = "Order Date";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "Extended Price";
     measure2.Name       = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     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.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // pivotDashboardItem1
     //
     this.pivotDashboardItem1.AutoExpandRowGroups = true;
     dimension3.DataMember = "OrderDate";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember   = "Extended Price";
     dimension4.DataMember = "CategoryName";
     dimension5.DataMember = "ProductName";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.pivotDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     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[] {
         dimension4,
         dimension5
     });
     this.pivotDashboardItem1.ShowCaption = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3
     });
     //
     // nwindDataSet2
     //
     this.nwindDataSet2.DataSetName             = "nwindDataSet";
     this.nwindDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataMember    = "SalesPerson";
     this.dashboardObjectDataSource1.DataSource    = this.nwindDataSet3;
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // nwindDataSet3
     //
     this.nwindDataSet3.DataSetName             = "nwindDataSet";
     this.nwindDataSet3.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // salesPersonTableAdapter1
     //
     this.salesPersonTableAdapter1.ClearBeforeFill = true;
     //
     // SalesDashboard
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.pivotDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 45.811965811965813D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 54.188034188034187D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 31.432973805855163D;
     dashboardLayoutItem3.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem3.Weight         = 68.567026194144844D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot        = dashboardLayoutGroup1;
     this.Title.Text        = "Dashboard";
     this.Title.Visible     = false;
     this.DashboardLoading += new System.EventHandler(this.SalesDashboard_DashboardLoading);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 15
0
 /// <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.GridDimensionColumn            gridDimensionColumn1   = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension                      dimension2             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn            gridDimensionColumn2   = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                        measure1               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn              gridMeasureColumn1     = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure                        measure2               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn              gridMeasureColumn2     = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo objectConstructorInfo1 = new DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo();
     DevExpress.DashboardCommon.Dimension                      dimension3             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup           dashboardLayoutGroup1  = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem            dashboardLayoutItem1   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem            dashboardLayoutItem2   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.listBoxDashboardItem1      = new DevExpress.DashboardCommon.ListBoxDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "GlobalTask";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     dimension2.DataMember          = "SubTask";
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension2);
     measure1.DataMember          = "StartDate";
     measure1.SummaryType         = DevExpress.DashboardCommon.SummaryType.Min;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "EndDate";
     measure2.SummaryType         = DevExpress.DashboardCommon.SummaryType.Max;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridMeasureColumn1,
         gridMeasureColumn2
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.Constructor   = objectConstructorInfo1;
     this.dashboardObjectDataSource1.DataMember    = "Data";
     this.dashboardObjectDataSource1.DataSource    = typeof(DashboardData);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // listBoxDashboardItem1
     //
     this.listBoxDashboardItem1.ComponentName = "listBoxDashboardItem1";
     dimension3.DataMember = "GlobalTask";
     this.listBoxDashboardItem1.DataItemRepository.Clear();
     this.listBoxDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.listBoxDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.listBoxDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.listBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.listBoxDashboardItem1.Name        = "List Box 1";
     this.listBoxDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.listBoxDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 82.793867120954D;
     dashboardLayoutItem2.DashboardItem = this.listBoxDashboardItem1;
     dashboardLayoutItem2.Weight        = 17.206132879045995D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).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.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_cross_score));
     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.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn2  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn3  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn4  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn5  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     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.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.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     this.textBoxDashboardItem1   = new DevExpress.DashboardCommon.TextBoxDashboardItem();
     this.pivotDashboardItem1     = new DevExpress.DashboardCommon.PivotDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "OhioDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     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";
     dimension1.DataMember = "Project Name";
     dimension2.DataMember = "Card Name";
     dimension3.DataMember = "area name for BA";
     dimension4.DataMember = "Business Process Name";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension1,
         dimension3,
         dimension4
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Select 1 Scorecard to Compare across Projects";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem1
     //
     dimension5.DataMember          = "Project Name";
     gridDimensionColumn1.Weight    = 37.499999999999993D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension5);
     dimension6.DataMember          = "Card Name";
     gridDimensionColumn2.Weight    = 93.749999999999972D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension6);
     dimension7.DataMember          = "area name for BA";
     dimension7.Name                = "BA";
     gridDimensionColumn3.Weight    = 83.653846153846146D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension7);
     dimension8.DataMember          = "area name for BP";
     dimension8.Name                = "BA (BCM)";
     gridDimensionColumn4.Weight    = 74.999999999999986D;
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension8);
     dimension9.DataMember          = "Business Process Name";
     gridDimensionColumn5.Weight    = 183.17307692307691D;
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension9);
     measure1.DataMember          = "Score Column 1";
     measure1.Name                = "As-Is";
     measure1.SummaryType         = DevExpress.DashboardCommon.SummaryType.Min;
     gridMeasureColumn1.Weight    = 25.961538461538456D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "Score Column 2";
     measure2.Name                = "To-Be";
     measure2.SummaryType         = DevExpress.DashboardCommon.SummaryType.Min;
     gridMeasureColumn2.Weight    = 25.961538461538456D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDimensionColumn3,
         gridDimensionColumn4,
         gridDimensionColumn5,
         gridMeasureColumn1,
         gridMeasureColumn2
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem6");
     this.gridDashboardItem1.DataMember = "Query";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Selected Data";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // textBoxDashboardItem1
     //
     this.textBoxDashboardItem1.ComponentName = "textBoxDashboardItem1";
     this.textBoxDashboardItem1.DataItemRepository.Clear();
     this.textBoxDashboardItem1.InnerRtf = resources.GetString("textBoxDashboardItem1.InnerRtf");
     this.textBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.textBoxDashboardItem1.Name        = "Text Box 1";
     this.textBoxDashboardItem1.ShowCaption = false;
     //
     // pivotDashboardItem1
     //
     dimension10.DataMember = "Project Name";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension10
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember    = "Score Column 1";
     measure3.Name          = "As-Is";
     measure3.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     measure4.DataMember    = "Score Column 2";
     measure4.Name          = "To-Be";
     measure4.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     dimension11.DataMember = "area name for BA";
     dimension12.DataMember = "Standard";
     dimension13.DataMember = "Business Process Name";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(measure4, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension11, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension12, "DataItem3");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension10, "DataItem4");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension13, "DataItem5");
     this.pivotDashboardItem1.DataMember = "Query";
     this.pivotDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Standards Pivot";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension11,
         dimension13,
         dimension12
     });
     this.pivotDashboardItem1.ShowCaption           = true;
     this.pivotDashboardItem1.ShowColumnGrandTotals = false;
     this.pivotDashboardItem1.ShowColumnTotals      = false;
     this.pivotDashboardItem1.ShowRowGrandTotals    = false;
     this.pivotDashboardItem1.ShowRowTotals         = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3,
         measure4
     });
     //
     // dash_ent_cross_score
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.treeViewDashboardItem1,
         this.gridDashboardItem1,
         this.textBoxDashboardItem1,
         this.pivotDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem1.Weight        = 72.605192479856754D;
     dashboardLayoutItem2.DashboardItem = this.textBoxDashboardItem1;
     dashboardLayoutItem2.Weight        = 27.394807520143242D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 25D;
     dashboardLayoutItem3.DashboardItem  = this.gridDashboardItem1;
     dashboardLayoutItem3.Weight         = 19.426751592356688D;
     dashboardLayoutItem4.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem4.Weight         = 80.5732484076433D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 75D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup3
     });
     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)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 17
0
 /// <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.Measure                 measure3                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ValueMap                valueMap1               = new DevExpress.DashboardCommon.ValueMap();
     DevExpress.DashboardCommon.UniformScale            uniformScale1           = new DevExpress.DashboardCommon.UniformScale();
     DevExpress.DashboardCommon.DeltaMap                deltaMap1               = new DevExpress.DashboardCommon.DeltaMap();
     DevExpress.DashboardCommon.Dimension               dimension2              = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1    = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure4                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure5                = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridDeltaColumn         gridDeltaColumn1        = new DevExpress.DashboardCommon.GridDeltaColumn();
     System.ComponentModel.ComponentResourceManager     resources               = new System.ComponentModel.ComponentResourceManager(typeof(SampleDashboard));
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo1              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo2              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo3              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo4              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo5              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo6              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo7              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo8              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo9              = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.ExcelWorksheetSettings excelWorksheetSettings1 = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings();
     DevExpress.DataAccess.Excel.ExcelSourceOptions     excelSourceOptions1     = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1);
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup1   = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1    = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2    = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.choroplethMapDashboardItem1 = new DevExpress.DashboardCommon.ChoroplethMapDashboardItem();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dashboardExcelDataSource1   = new DevExpress.DashboardCommon.DashboardExcelDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.choroplethMapDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // choroplethMapDashboardItem1
     //
     this.choroplethMapDashboardItem1.Area = DevExpress.DashboardCommon.ShapefileArea.USA;
     dimension1.DataMember = "State";
     this.choroplethMapDashboardItem1.AttributeDimension = dimension1;
     this.choroplethMapDashboardItem1.AttributeName      = "NAME";
     this.choroplethMapDashboardItem1.ComponentName      = "choroplethMapDashboardItem1";
     measure1.DataMember = "RevenueYTD (Sum)";
     measure2.DataMember = "RevenueYTD (Sum)";
     measure3.DataMember = "RevenueYTDTarget (Sum)";
     this.choroplethMapDashboardItem1.DataItemRepository.Clear();
     this.choroplethMapDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.choroplethMapDashboardItem1.DataItemRepository.Add(measure3, "DataItem3");
     this.choroplethMapDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.choroplethMapDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.choroplethMapDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     valueMap1.Name      = "Revenue YTD";
     valueMap1.Scale     = uniformScale1;
     valueMap1.ValueName = "Revenue";
     valueMap1.AddDataItem("Value", measure1);
     deltaMap1.AbsoluteVariationNumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     deltaMap1.AbsoluteVariationNumericFormat.Precision  = 0;
     deltaMap1.ActualValueName = "Revenue";
     deltaMap1.DeltaName       = "vs Target";
     deltaMap1.Name            = "Revenue YTD vs Target";
     deltaMap1.PercentOfTargetNumericFormat.FormatType  = DevExpress.DashboardCommon.DataItemNumericFormatType.Percent;
     deltaMap1.PercentVariationNumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Percent;
     deltaMap1.AddDataItem("ActualValue", measure2);
     deltaMap1.AddDataItem("TargetValue", measure3);
     this.choroplethMapDashboardItem1.Maps.AddRange(new DevExpress.DashboardCommon.ChoroplethMap[] {
         valueMap1,
         deltaMap1
     });
     this.choroplethMapDashboardItem1.Name = "Sales by State";
     this.choroplethMapDashboardItem1.ShapeTitleAttributeName       = "ABBREV";
     this.choroplethMapDashboardItem1.ShowCaption                   = true;
     this.choroplethMapDashboardItem1.Viewport.BottomLatitude       = 22.722765208057595D;
     this.choroplethMapDashboardItem1.Viewport.CenterPointLatitude  = 37.208247632673633D;
     this.choroplethMapDashboardItem1.Viewport.CenterPointLongitude = -95.848499902568008D;
     this.choroplethMapDashboardItem1.Viewport.LeftLongitude        = -124.70997774915153D;
     this.choroplethMapDashboardItem1.Viewport.RightLongitude       = -66.987022055984482D;
     this.choroplethMapDashboardItem1.Viewport.TopLatitude          = 49.369672064487254D;
     //
     // gridDashboardItem1
     //
     dimension2.DataMember          = "Product";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     measure4.DataMember = "UnitsSoldYTD (Sum)";
     measure5.DataMember = "UnitsSoldYTDTarget (Sum)";
     gridDeltaColumn1.AbsoluteVariationNumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     gridDeltaColumn1.AbsoluteVariationNumericFormat.Precision  = 0;
     gridDeltaColumn1.Name = "UnitsSold YTD vs Target";
     gridDeltaColumn1.PercentOfTargetNumericFormat.FormatType  = DevExpress.DashboardCommon.DataItemNumericFormatType.Percent;
     gridDeltaColumn1.PercentVariationNumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Percent;
     gridDeltaColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDeltaColumn1.AddDataItem("ActualValue", measure4);
     gridDeltaColumn1.AddDataItem("TargetValue", measure5);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDeltaColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure5, "DataItem2");
     this.gridDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Product Units Sold";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dashboardExcelDataSource1
     //
     this.dashboardExcelDataSource1.ComponentName            = "dashboardExcelDataSource1";
     this.dashboardExcelDataSource1.FileName                 = "|DataDirectory|\\Data\\Sales.xlsx";
     this.dashboardExcelDataSource1.Name                     = "Excel Data Source 1";
     this.dashboardExcelDataSource1.ResultSchemaSerializable = resources.GetString("dashboardExcelDataSource1.ResultSchemaSerializable");
     fieldInfo1.Name = "Category";
     fieldInfo1.Type = typeof(string);
     fieldInfo2.Name = "Product";
     fieldInfo2.Type = typeof(string);
     fieldInfo3.Name = "State";
     fieldInfo3.Type = typeof(string);
     fieldInfo4.Name = "UnitsSoldYTD (Sum)";
     fieldInfo4.Type = typeof(double);
     fieldInfo5.Name = "UnitsSoldYTDTarget (Sum)";
     fieldInfo5.Type = typeof(double);
     fieldInfo6.Name = "RevenueQTD (Sum)";
     fieldInfo6.Type = typeof(double);
     fieldInfo7.Name = "RevenueQTDTarget (Sum)";
     fieldInfo7.Type = typeof(double);
     fieldInfo8.Name = "RevenueYTD (Sum)";
     fieldInfo8.Type = typeof(double);
     fieldInfo9.Name = "RevenueYTDTarget (Sum)";
     fieldInfo9.Type = typeof(double);
     this.dashboardExcelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] {
         fieldInfo1,
         fieldInfo2,
         fieldInfo3,
         fieldInfo4,
         fieldInfo5,
         fieldInfo6,
         fieldInfo7,
         fieldInfo8,
         fieldInfo9
     });
     excelWorksheetSettings1.CellRange            = null;
     excelWorksheetSettings1.WorksheetName        = "Sheet1";
     excelSourceOptions1.ImportSettings           = excelWorksheetSettings1;
     this.dashboardExcelDataSource1.SourceOptions = excelSourceOptions1;
     //
     // SampleDashboard
     //
     this.CurrencyCultureName = null;
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.choroplethMapDashboardItem1,
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.choroplethMapDashboardItem1;
     dashboardLayoutItem1.Weight        = 62.659846547314579D;
     dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem2.Weight        = 37.340153452685421D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Sample Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.choroplethMapDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).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.Measure             measure1             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DataAccess.Sql.CustomSqlQuery       customSqlQuery1      = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager resources            = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_workflow));
     DevExpress.DashboardCommon.Dimension           dimension3           = new DevExpress.DashboardCommon.Dimension();
     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.Dimension           dimension7           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn1 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension8           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn2 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension9           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn3 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension10          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn4 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension11          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn5 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension12          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn6 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension13          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn7 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension           dimension14          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn8 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure             measure2             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension           dimension15          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Gauge gauge1 = new DevExpress.DashboardCommon.Gauge();
     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.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.pieDashboardItem1       = new DevExpress.DashboardCommon.PieDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gaugeDashboardItem1     = new DevExpress.DashboardCommon.GaugeDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension15)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // pieDashboardItem1
     //
     dimension1.DataMember = "Status";
     this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.pieDashboardItem1.ComponentName = "pieDashboardItem1";
     dimension2.DataMember = "Worker";
     measure1.DataMember   = "Status";
     measure1.SummaryType  = DevExpress.DashboardCommon.SummaryType.CountDistinct;
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.pieDashboardItem1.DataItemRepository.Add(measure1, "DataItem3");
     this.pieDashboardItem1.DataMember = "Query";
     this.pieDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem1.Name = "Workflow Activities by users";
     this.pieDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.pieDashboardItem1.ShowCaption = true;
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure1
     });
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "DevDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     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";
     dimension3.DataMember = "Project Name";
     dimension4.DataMember = "Worker";
     dimension5.DataMember = "Item";
     dimension6.DataMember = "Status";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension5, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension6, "DataItem3");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3,
         dimension4,
         dimension6,
         dimension5
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Project selector";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem1
     //
     dimension7.DataMember          = "Project Name";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension7);
     dimension8.DataMember          = "Item";
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension8);
     dimension9.DataMember          = "Unique Id";
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension9);
     dimension10.DataMember         = "Title";
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension10);
     dimension11.DataMember         = "Status";
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension11);
     dimension12.DataMember            = "Date";
     dimension12.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension12.Name = "Assigned Date";
     gridDimensionColumn6.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn6.AddDataItem("Dimension", dimension12);
     dimension13.DataMember            = "DueDate";
     dimension13.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension13.Name               = "DueDate";
     dimension13.SortOrder          = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn7.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn7.AddDataItem("Dimension", dimension13);
     dimension14.DataMember         = "Worker";
     dimension14.Name               = "Assigned to";
     gridDimensionColumn8.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn8.AddDataItem("Dimension", dimension14);
     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(dimension7, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension10, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension11, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(dimension12, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(dimension13, "DataItem6");
     this.gridDashboardItem1.DataItemRepository.Add(dimension14, "DataItem7");
     this.gridDashboardItem1.DataMember = "Query";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Items assigned to users by project";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // gaugeDashboardItem1
     //
     this.gaugeDashboardItem1.ComponentName = "gaugeDashboardItem1";
     measure2.DataMember    = "Item";
     measure2.SummaryType   = DevExpress.DashboardCommon.SummaryType.Count;
     dimension15.DataMember = "Worker";
     this.gaugeDashboardItem1.DataItemRepository.Clear();
     this.gaugeDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.gaugeDashboardItem1.DataItemRepository.Add(dimension15, "DataItem1");
     this.gaugeDashboardItem1.DataMember = "Query";
     this.gaugeDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     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 user";
     this.gaugeDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension15
     });
     this.gaugeDashboardItem1.ShowCaption = true;
     //
     // dash_ent_workflow
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.pieDashboardItem1,
         this.gridDashboardItem1,
         this.treeViewDashboardItem1,
         this.gaugeDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.pieDashboardItem1;
     dashboardLayoutItem1.Weight        = 42.942942942942942D;
     dashboardLayoutItem2.DashboardItem = this.gaugeDashboardItem1;
     dashboardLayoutItem2.Weight        = 42.942942942942942D;
     dashboardLayoutItem3.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem3.Weight        = 14.114114114114114D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 50.060901339829478D;
     dashboardLayoutItem4.DashboardItem  = this.gridDashboardItem1;
     dashboardLayoutItem4.Weight         = 49.939098660170522D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 19
0
 /// <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.GridDimensionColumn gridDimensionColumn1 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure             measure1             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn   gridMeasureColumn1   = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure             measure2             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card card1 = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate1 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dashboardExtractDataSource1 = new DevExpress.DashboardCommon.DashboardExtractDataSource();
     this.cardDashboardItem1          = new DevExpress.DashboardCommon.CardDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "CategoryName";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "ExtendedPrice";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dashboardExtractDataSource1
     //
     this.dashboardExtractDataSource1.ComponentName = "dashboardExtractDataSource1";
     this.dashboardExtractDataSource1.FileName      = "C:\\Data\\NWind_SalesPerson.dat";
     this.dashboardExtractDataSource1.Name          = "Extract Data Source 1";
     //
     // cardDashboardItem1
     //
     measure2.DataMember = "ExtendedPrice";
     cardStretchedLayoutTemplate1.BottomValue1.DimensionIndex = 0;
     cardStretchedLayoutTemplate1.BottomValue1.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.PercentVariation;
     cardStretchedLayoutTemplate1.BottomValue1.Visible        = true;
     cardStretchedLayoutTemplate1.BottomValue2.DimensionIndex = 0;
     cardStretchedLayoutTemplate1.BottomValue2.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.AbsoluteVariation;
     cardStretchedLayoutTemplate1.BottomValue2.Visible        = true;
     cardStretchedLayoutTemplate1.DeltaIndicator.Visible      = true;
     cardStretchedLayoutTemplate1.MainValue.DimensionIndex    = 0;
     cardStretchedLayoutTemplate1.MainValue.ValueType         = DevExpress.DashboardCommon.CardRowDataElementType.Title;
     cardStretchedLayoutTemplate1.MainValue.Visible           = true;
     cardStretchedLayoutTemplate1.Sparkline.Visible           = true;
     cardStretchedLayoutTemplate1.SubValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate1.SubValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.Subtitle;
     cardStretchedLayoutTemplate1.SubValue.Visible            = true;
     cardStretchedLayoutTemplate1.TopValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate1.TopValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.ActualValue;
     cardStretchedLayoutTemplate1.TopValue.Visible            = true;
     card1.LayoutTemplate = cardStretchedLayoutTemplate1;
     card1.AddDataItem("ActualValue", measure2);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension2.DataMember = "Country";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.cardDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     this.cardDashboardItem1.Name = "Cards 1";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.cardDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExtractDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.cardDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutItem2.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem2.Weight        = 50D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).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()
 {
     System.ComponentModel.ComponentResourceManager     resources  = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard1));
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo1 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo2 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo3 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo4 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo5 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo6 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo7 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo8 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo9 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.ExcelWorksheetSettings excelWorksheetSettings1 = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings();
     DevExpress.DataAccess.Excel.ExcelSourceOptions     excelSourceOptions1     = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1);
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn3    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn4    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardExcelDataSource1 = new DevExpress.DashboardCommon.DashboardExcelDataSource();
     this.gridDashboardItem1        = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardExcelDataSource1
     //
     this.dashboardExcelDataSource1.ComponentName            = "dashboardExcelDataSource1";
     this.dashboardExcelDataSource1.FileName                 = "|DataDirectory|\\Data\\Sales.xlsx";
     this.dashboardExcelDataSource1.Name                     = "Excel Data Source 1";
     this.dashboardExcelDataSource1.ResultSchemaSerializable = resources.GetString("dashboardExcelDataSource1.ResultSchemaSerializable");
     fieldInfo1.Name = "Category";
     fieldInfo1.Type = typeof(string);
     fieldInfo2.Name = "Product";
     fieldInfo2.Type = typeof(string);
     fieldInfo3.Name = "State";
     fieldInfo3.Type = typeof(string);
     fieldInfo4.Name = "UnitsSoldYTD (Sum)";
     fieldInfo4.Type = typeof(double);
     fieldInfo5.Name = "UnitsSoldYTDTarget (Sum)";
     fieldInfo5.Type = typeof(double);
     fieldInfo6.Name = "RevenueQTD (Sum)";
     fieldInfo6.Type = typeof(double);
     fieldInfo7.Name = "RevenueQTDTarget (Sum)";
     fieldInfo7.Type = typeof(double);
     fieldInfo8.Name = "RevenueYTD (Sum)";
     fieldInfo8.Type = typeof(double);
     fieldInfo9.Name = "RevenueYTDTarget (Sum)";
     fieldInfo9.Type = typeof(double);
     this.dashboardExcelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] {
         fieldInfo1,
         fieldInfo2,
         fieldInfo3,
         fieldInfo4,
         fieldInfo5,
         fieldInfo6,
         fieldInfo7,
         fieldInfo8,
         fieldInfo9
     });
     excelWorksheetSettings1.CellRange            = null;
     excelWorksheetSettings1.WorksheetName        = "Sheet1";
     excelSourceOptions1.ImportSettings           = excelWorksheetSettings1;
     this.dashboardExcelDataSource1.SourceOptions = excelSourceOptions1;
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Product";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "RevenueQTD (Sum)";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "RevenueQTDTarget (Sum)";
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     measure3.DataMember          = "RevenueYTD (Sum)";
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure3);
     measure4.DataMember          = "RevenueYTDTarget (Sum)";
     gridMeasureColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn4.AddDataItem("Measure", measure4);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1,
         gridMeasureColumn2,
         gridMeasureColumn3,
         gridMeasureColumn4
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(measure3, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(measure4, "DataItem4");
     this.gridDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 49.94753410283316D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }