/// <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.DashboardCommon.CalculatedField             calculatedField2   = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField             calculatedField3   = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField             calculatedField4   = 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.Table                        table2             = new DevExpress.DataAccess.Sql.Table();
     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.Table                        table3             = new DevExpress.DataAccess.Sql.Table();
     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.Table                        table4             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                       column8            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression             columnExpression8  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                        table5             = 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.Table                        table6             = new DevExpress.DataAccess.Sql.Table();
     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.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();
     DevExpress.DataAccess.Sql.Join                         join3 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo           relationColumnInfo3 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.Join                         join4 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo           relationColumnInfo4 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.Join                         join5 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo           relationColumnInfo5 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.Table                        table7 = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Join                         join6  = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo           relationColumnInfo6 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.Table                        table8 = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Join                         join7  = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo           relationColumnInfo7 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     System.ComponentModel.ComponentResourceManager         resources           = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_rtm_eval));
     DevExpress.DashboardCommon.Measure                     measure1            = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                     measure2            = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension                   dimension1          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                   dimension2          = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Gauge                       gauge1     = new DevExpress.DashboardCommon.Gauge();
     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                     measure3   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                     measure4   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                     measure5   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                     measure6   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card                        card1      = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate1 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Measure                     measure7 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                     measure8 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card                        card2    = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate2 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Dimension                   dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                     measure9              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension                   dimension7            = 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.gaugeDashboardItem1     = new DevExpress.DashboardCommon.GaugeDashboardItem();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.cardDashboardItem1      = new DevExpress.DashboardCommon.CardDashboardItem();
     this.textBoxDashboardItem1   = new DevExpress.DashboardCommon.TextBoxDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).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)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "rc_rtm_criteria";
     calculatedField1.Expression = "CountDistinct([eval_responseID])";
     calculatedField1.Name       = "countdistinct_eval_responseid";
     calculatedField2.DataMember = "rc_rtm_criteria";
     calculatedField2.Expression = "CountDistinct([res_itemID])";
     calculatedField2.Name       = "countdistinct_res_itemID";
     calculatedField3.DataMember = "rc_rtm_criteria";
     calculatedField3.Expression = "CountDistinct([ch_title])";
     calculatedField3.Name       = "countdistinct_ch_title";
     calculatedField4.DataMember = "rc_rtm_criteria";
     calculatedField4.Expression = "CountDistinct([src_title])";
     calculatedField4.Name       = "countdistinct_src_title";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1,
         calculatedField2,
         calculatedField3,
         calculatedField4
     });
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "DevDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     columnExpression1.ColumnName = "ch_title";
     table1.MetaSerializable      = "<Meta X=\"340\" Y=\"30\" Width=\"125\" Height=\"134\" />";
     table1.Name                   = "rc_rtm_checklists";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "ch_deleted";
     columnExpression2.Table       = table1;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "src_title";
     table2.MetaSerializable       = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"248\" />";
     table2.Name                   = "rc_rtm_criteria";
     columnExpression3.Table       = table2;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "src_deleted";
     columnExpression4.Table       = table2;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "bo_name";
     table3.MetaSerializable       = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"153\" />";
     table3.Name                   = "rc_rtm_objectives";
     columnExpression5.Table       = table3;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "bo_deleted";
     columnExpression6.Table       = table3;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "res_itemID";
     table4.MetaSerializable       = "<Meta X=\"260\" Y=\"420\" Width=\"125\" Height=\"191\" />";
     table4.Name                   = "rc_responses";
     columnExpression7.Table       = table4;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "eval_responseID";
     table5.MetaSerializable       = "<Meta X=\"450\" Y=\"400\" Width=\"125\" Height=\"210\" />";
     table5.Name                   = "rc_evaluation";
     columnExpression8.Table       = table5;
     column8.Expression            = columnExpression8;
     column9.Alias                 = "rc_projects_1_pro_name";
     columnExpression9.ColumnName  = "pro_name";
     table6.Alias                  = "rc_projects_1";
     table6.MetaSerializable       = "<Meta X=\"760\" Y=\"30\" Width=\"125\" Height=\"362\" />";
     table6.Name                   = "rc_projects";
     columnExpression9.Table       = table6;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "pro_color";
     columnExpression10.Table      = table6;
     column10.Expression           = columnExpression10;
     columnExpression11.ColumnName = "pro_description";
     columnExpression11.Table      = table6;
     column11.Expression           = columnExpression11;
     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.Distinct          = true;
     selectQuery1.FilterString      = "[rc_rtm_checklists.ch_deleted] = \'0\'";
     selectQuery1.GroupFilterString = "";
     selectQuery1.Name = "rc_rtm_criteria";
     relationColumnInfo1.NestedKeyColumn = "bo_id";
     relationColumnInfo1.ParentKeyColumn = "src_objective";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table3;
     join1.Parent = table2;
     relationColumnInfo2.NestedKeyColumn = "ch_id";
     relationColumnInfo2.ParentKeyColumn = "bo_checklist";
     join2.KeyColumns.Add(relationColumnInfo2);
     join2.Nested = table1;
     join2.Parent = table3;
     relationColumnInfo3.NestedKeyColumn = "res_itemID";
     relationColumnInfo3.ParentKeyColumn = "src_id";
     join3.KeyColumns.Add(relationColumnInfo3);
     join3.Nested = table4;
     join3.Parent = table2;
     join3.Type   = DevExpress.Xpo.DB.JoinType.LeftOuter;
     relationColumnInfo4.NestedKeyColumn = "eval_responseID";
     relationColumnInfo4.ParentKeyColumn = "res_id";
     join4.KeyColumns.Add(relationColumnInfo4);
     join4.Nested = table5;
     join4.Parent = table4;
     join4.Type   = DevExpress.Xpo.DB.JoinType.LeftOuter;
     relationColumnInfo5.NestedKeyColumn = "act_checklist";
     relationColumnInfo5.ParentKeyColumn = "ch_id";
     join5.KeyColumns.Add(relationColumnInfo5);
     table7.MetaSerializable             = "<Meta X=\"605\" Y=\"30\" Width=\"125\" Height=\"134\" />";
     table7.Name                         = "rc_rtm_active";
     join5.Nested                        = table7;
     join5.Parent                        = table1;
     relationColumnInfo6.NestedKeyColumn = "pro_ID";
     relationColumnInfo6.ParentKeyColumn = "res_projectID";
     join6.KeyColumns.Add(relationColumnInfo6);
     table8.MetaSerializable = "<Meta X=\"410\" Y=\"670\" Width=\"125\" Height=\"362\" />";
     table8.Name             = "rc_projects";
     join6.Nested            = table8;
     join6.Parent            = table4;
     join6.Type = DevExpress.Xpo.DB.JoinType.LeftOuter;
     relationColumnInfo7.NestedKeyColumn = "pro_ID";
     relationColumnInfo7.ParentKeyColumn = "act_projectID";
     join7.KeyColumns.Add(relationColumnInfo7);
     join7.Nested = table6;
     join7.Parent = table7;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Relations.Add(join2);
     selectQuery1.Relations.Add(join3);
     selectQuery1.Relations.Add(join4);
     selectQuery1.Relations.Add(join5);
     selectQuery1.Relations.Add(join6);
     selectQuery1.Relations.Add(join7);
     selectQuery1.Tables.Add(table2);
     selectQuery1.Tables.Add(table3);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table4);
     selectQuery1.Tables.Add(table5);
     selectQuery1.Tables.Add(table7);
     selectQuery1.Tables.Add(table8);
     selectQuery1.Tables.Add(table6);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gaugeDashboardItem1
     //
     this.gaugeDashboardItem1.ComponentName = "gaugeDashboardItem1";
     measure1.DataMember   = "countdistinct_src_title";
     measure1.Name         = "# of Checklist Items";
     measure2.DataMember   = "countdistinct_res_itemID";
     measure2.Name         = "# of Responses";
     dimension1.DataMember = "rc_projects_1_pro_name";
     dimension1.Name       = "Project name";
     dimension2.DataMember = "ch_title";
     dimension2.Name       = "Checklist Title";
     this.gaugeDashboardItem1.DataItemRepository.Clear();
     this.gaugeDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.gaugeDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.gaugeDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.gaugeDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.gaugeDashboardItem1.DataMember = "rc_rtm_criteria";
     this.gaugeDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     gauge1.DeltaOptions.ResultIndicationThresholdType = DevExpress.DashboardCommon.DeltaIndicationThresholdType.Absolute;
     gauge1.DeltaOptions.ValueType = DevExpress.DashboardCommon.DeltaValueType.ActualValue;
     gauge1.AddDataItem("TargetValue", measure1);
     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 = "# of Responses Vs. # of Checklist Items";
     this.gaugeDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2
     });
     this.gaugeDashboardItem1.ShowCaption = true;
     this.gaugeDashboardItem1.ViewType    = DevExpress.DashboardCommon.GaugeViewType.LinearVertical;
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension3.DataMember = "rc_projects_1_pro_name";
     dimension3.Name       = "Project name";
     dimension4.DataMember = "ch_title";
     dimension4.Name       = "Checklist Title";
     dimension5.DataMember = "src_title";
     dimension5.Name       = "Checklist Item Title";
     measure3.DataMember   = "countdistinct_src_title";
     measure3.Name         = "count of Checklist Items";
     measure4.DataMember   = "countdistinct_ch_title";
     measure4.Name         = "Count of checklist Title";
     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(measure3, "DataItem3");
     this.treeViewDashboardItem1.DataItemRepository.Add(measure4, "DataItem4");
     this.treeViewDashboardItem1.DataMember   = "rc_rtm_criteria";
     this.treeViewDashboardItem1.DataSource   = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.EnableSearch = true;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3,
         dimension4,
         dimension5
     });
     this.treeViewDashboardItem1.HiddenMeasures.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3,
         measure4
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Data Selector";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // cardDashboardItem1
     //
     measure5.DataMember = "countdistinct_res_itemID";
     measure5.Name       = "Count of Responses";
     measure6.DataMember = "countdistinct_src_title";
     measure6.Name       = "Count of Checklist Items";
     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", measure5);
     card1.AddDataItem("TargetValue", measure6);
     measure7.DataMember = "countdistinct_eval_responseid";
     measure7.Name       = "Count of Evaluations";
     measure8.DataMember = "countdistinct_src_title";
     measure8.Name       = "Count of Checklist Items";
     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", measure7);
     card2.AddDataItem("TargetValue", measure8);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1,
         card2
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension6.DataMember = "rc_projects_1_pro_name";
     dimension6.Name       = "Project Name";
     measure9.DataMember   = "countdistinct_res_itemID";
     measure9.Name         = "Count of Responses";
     dimension7.DataMember = "ch_title";
     dimension7.Name       = "Checklist Title";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(measure9, "DataItem2");
     this.cardDashboardItem1.DataItemRepository.Add(measure7, "DataItem3");
     this.cardDashboardItem1.DataItemRepository.Add(measure5, "DataItem1");
     this.cardDashboardItem1.DataItemRepository.Add(dimension7, "DataItem4");
     this.cardDashboardItem1.DataItemRepository.Add(measure6, "DataItem5");
     this.cardDashboardItem1.DataItemRepository.Add(measure8, "DataItem6");
     this.cardDashboardItem1.DataMember = "rc_rtm_criteria";
     this.cardDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.cardDashboardItem1.HiddenMeasures.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure9
     });
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.InteractivityOptions.IsDrillDownEnabled  = true;
     this.cardDashboardItem1.Name = "";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension6,
         dimension7
     });
     this.cardDashboardItem1.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;
     //
     // dash_ent_rtm_eval
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gaugeDashboardItem1,
         this.treeViewDashboardItem1,
         this.cardDashboardItem1,
         this.textBoxDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem1.Weight        = 30.592105263157894D;
     dashboardLayoutItem2.DashboardItem = this.textBoxDashboardItem1;
     dashboardLayoutItem2.Weight        = 69.40789473684211D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 19.068934646374217D;
     dashboardLayoutItem3.DashboardItem  = this.gaugeDashboardItem1;
     dashboardLayoutItem3.Weight         = 50D;
     dashboardLayoutItem4.DashboardItem  = this.cardDashboardItem1;
     dashboardLayoutItem4.Weight         = 50D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Weight        = 80.931065353625783D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.ShowMasterFilterState = false;
     this.Title.Text = "RTM Item Metric";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 2
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();
 }
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()
 {
     DevExpress.DataAccess.Sql.SelectQuery                  selectQuery1                 = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.AllColumns                   allColumns1                  = new DevExpress.DataAccess.Sql.AllColumns();
     DevExpress.DataAccess.Sql.Table                        table1                       = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.AllColumns                   allColumns2                  = new DevExpress.DataAccess.Sql.AllColumns();
     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(Pro_Db_PXN_Finished_Today));
     DevExpress.DashboardCommon.Measure                     measure1                     = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card                        card1                        = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate1 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Dimension                   dimension1                   = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup        dashboardLayoutGroup1        = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem         dashboardLayoutItem1         = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource2 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.cardDashboardItem1      = new DevExpress.DashboardCommon.CardDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource2
     //
     this.dashboardSqlDataSource2.ComponentName  = "dashboardSqlDataSource2";
     this.dashboardSqlDataSource2.ConnectionName = "Production.Properties.Settings.SYNC_NUTRICIELConnectionString";
     this.dashboardSqlDataSource2.Name           = "SQL Data Source 1";
     table1.MetaSerializable = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"571\" />";
     table1.Name             = "tbl_PXN_Header";
     allColumns1.Table       = table1;
     table2.MetaSerializable = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"590\" />";
     table2.Name             = "tbl_KHMau_LAB";
     allColumns2.Table       = table2;
     selectQuery1.Columns.Add(allColumns1);
     selectQuery1.Columns.Add(allColumns2);
     selectQuery1.Name = "tbl_PXN_Header";
     relationColumnInfo1.NestedKeyColumn = "SoPXN";
     relationColumnInfo1.ParentKeyColumn = "SoPXN";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table2);
     this.dashboardSqlDataSource2.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource2.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource2.ResultSchemaSerializable");
     //
     // cardDashboardItem1
     //
     measure1.DataMember  = "SoPXN";
     measure1.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     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", measure1);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension1.DataMember = "KHMau";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.cardDashboardItem1.DataMember = "tbl_PXN_Header";
     this.cardDashboardItem1.DataSource = this.dashboardSqlDataSource2;
     this.cardDashboardItem1.HiddenDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name        = "Cards 1";
     this.cardDashboardItem1.ShowCaption = false;
     //
     // Pro_Db_PXN_Finished_Today
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.cardDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem1.Weight        = 100D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "PXN dự kiến hoàn tất trong hôm nay";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).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()
 {
     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. 5
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.Measure measure1 = new DevExpress.DashboardCommon.Measure();
     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       dimension1       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension       dimension2       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension       dimension3       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension       dimension4       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure         measure3         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane       chartPane1       = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries    simpleSeries1    = 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.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.CustomExpression      customExpression1  = new DevExpress.DataAccess.Sql.CustomExpression();
     DevExpress.DataAccess.Sql.Column                column11           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.QueryParameter        queryParameter1    = new DevExpress.DataAccess.Sql.QueryParameter();
     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(ApartmentDashboard));
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter   dashboardParameter1   = new DevExpress.DashboardCommon.DashboardParameter();
     this.cardDashboardItem1      = new DevExpress.DashboardCommon.CardDashboardItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).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)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // cardDashboardItem1
     //
     measure1.DataMember = "CostOfKv";
     measure2.DataMember = "Cost";
     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", measure1);
     card1.AddDataItem("TargetValue", measure2);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension1.DataMember = "Information";
     dimension2.DataMember = "Url";
     dimension3.DataMember = "CostOfKv";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.cardDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.cardDashboardItem1.DataItemRepository.Add(dimension3, "DataItem5");
     this.cardDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.cardDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.cardDashboardItem1.DataMember = "Realties";
     this.cardDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name = "Cards 1";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension1
     });
     this.cardDashboardItem1.ShowCaption       = true;
     this.cardDashboardItem1.SparklineArgument = dimension3;
     //
     // chartDashboardItem1
     //
     dimension4.DataMember = "Url";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure3.DataMember = "CostOfKv";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.chartDashboardItem1.DataMember = "Realties";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     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", measure3);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "Realties";
     calculatedField1.Expression = "Avg([CostOfKv])";
     calculatedField1.Name       = "Avg";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1
     });
     this.dashboardSqlDataSource1.ComponentName        = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName       = "localhost_Apartment_Connection";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows;
     msSqlConnectionParameters1.DatabaseName           = "Apartment";
     msSqlConnectionParameters1.ServerName             = "localhost";
     this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource1.Name = "SQL Data Source 1";
     columnExpression1.ColumnName      = "Name";
     table1.MetaSerializable           = "<Meta X=\"220\" Y=\"40\" Width=\"125\" Height=\"115\" />";
     table1.Name                   = "Areas";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "Information";
     table2.MetaSerializable       = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"305\" />";
     table2.Name                   = "Realties";
     columnExpression2.Table       = table2;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "Cost";
     columnExpression3.Table       = table2;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "RoomCount";
     columnExpression4.Table       = table2;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "Url";
     columnExpression5.Table       = table2;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "Comment";
     columnExpression6.Table       = table2;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "Series";
     columnExpression7.Table       = table2;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "DateRegistration";
     columnExpression8.Table       = table2;
     column8.Expression            = columnExpression8;
     columnExpression9.ColumnName  = "Area";
     columnExpression9.Table       = table2;
     column9.Expression            = columnExpression9;
     column10.Alias                = "CostOfKv";
     customExpression1.Expression  = "[Realties.Cost]/[Realties.Area]";
     column10.Expression           = customExpression1;
     columnExpression10.ColumnName = "Id";
     columnExpression10.Table      = table1;
     column11.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.Columns.Add(column11);
     selectQuery1.FilterString = "[Realties.Cost] Is Not Null And [Realties.Area] Is Not Null And [Realties.Area] <" +
                                 "> 0s And [Areas.Id] = ?IdArea";
     selectQuery1.GroupFilterString = "";
     selectQuery1.Name     = "Realties";
     queryParameter1.Name  = "IdArea";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("?IdArea", typeof(int));
     selectQuery1.Parameters.Add(queryParameter1);
     relationColumnInfo1.NestedKeyColumn = "Id";
     relationColumnInfo1.ParentKeyColumn = "IdArea";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table1;
     join1.Parent = table2;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Tables.Add(table2);
     selectQuery1.Tables.Add(table1);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // ApartmentDashboard
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.cardDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem1.Weight        = 0.25D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 0.25D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot           = dashboardLayoutGroup1;
     dashboardParameter1.Name  = "IdArea";
     dashboardParameter1.Type  = typeof(int);
     dashboardParameter1.Value = 7;
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1
     });
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).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.EntityFramework.EFConnectionParameters efConnectionParameters1 = new DevExpress.DataAccess.EntityFramework.EFConnectionParameters();
     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.DashboardCommon.Measure                 measure2                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension               dimension3               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension               dimension4               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure3                 = new DevExpress.DashboardCommon.Measure();
     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.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.Dimension               dimension8               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure4                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure5                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure6                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure7                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card card1 = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate1 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension11           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure8              = 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.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.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup4 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem5  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup5 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem6  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem7  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardEFDataSource1     = new DevExpress.DashboardCommon.DashboardEFDataSource();
     this.pieDashboardItem2          = new DevExpress.DashboardCommon.PieDashboardItem();
     this.pieDashboardItem3          = new DevExpress.DashboardCommon.PieDashboardItem();
     this.pivotDashboardItem1        = new DevExpress.DashboardCommon.PivotDashboardItem();
     this.dateFilterDashboardItem1   = new DevExpress.DashboardCommon.DateFilterDashboardItem();
     this.scatterChartDashboardItem1 = new DevExpress.DashboardCommon.ScatterChartDashboardItem();
     this.cardDashboardItem1         = new DevExpress.DashboardCommon.CardDashboardItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardEFDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem3)).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)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.scatterChartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardEFDataSource1
     //
     this.dashboardEFDataSource1.ComponentName    = "dashboardEFDataSource1";
     efConnectionParameters1.ConnectionString     = "";
     efConnectionParameters1.ConnectionStringName = "EntitiesDataModel";
     efConnectionParameters1.Source = typeof(TypicalSouthernFoods.Web.Persistence.EntitiesDataModel);
     this.dashboardEFDataSource1.ConnectionParameters = efConnectionParameters1;
     this.dashboardEFDataSource1.Name = "EF Data Source 1";
     //
     // pieDashboardItem2
     //
     dimension1.DataMember = "INVOICE.WAITER.NAMES";
     this.pieDashboardItem2.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.pieDashboardItem2.ComponentName = "pieDashboardItem2";
     measure1.DataMember  = "INVOICE.ID";
     measure1.Name        = "Invoices (Count)";
     measure1.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.pieDashboardItem2.DataItemRepository.Clear();
     this.pieDashboardItem2.DataItemRepository.Add(dimension1, "DataItem0");
     this.pieDashboardItem2.DataItemRepository.Add(measure1, "DataItem1");
     this.pieDashboardItem2.DataMember = "INVOICES_DET";
     this.pieDashboardItem2.DataSource = this.dashboardEFDataSource1;
     this.pieDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem2.Name        = "% Orders by Waiter";
     this.pieDashboardItem2.ShowCaption = true;
     this.pieDashboardItem2.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure1
     });
     //
     // pieDashboardItem3
     //
     dimension2.DataMember = "RECIPE_NAME";
     this.pieDashboardItem3.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.pieDashboardItem3.ComponentName = "pieDashboardItem3";
     measure2.DataMember  = "ID";
     measure2.Name        = "Recipes (Count)";
     measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.pieDashboardItem3.DataItemRepository.Clear();
     this.pieDashboardItem3.DataItemRepository.Add(measure2, "DataItem1");
     this.pieDashboardItem3.DataItemRepository.Add(dimension2, "DataItem0");
     this.pieDashboardItem3.DataMember = "INVOICES_DET";
     this.pieDashboardItem3.DataSource = this.dashboardEFDataSource1;
     this.pieDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem3.Name        = "% Recipes Served";
     this.pieDashboardItem3.ShowCaption = true;
     this.pieDashboardItem3.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure2
     });
     //
     // pivotDashboardItem1
     //
     dimension3.DataMember            = "INVOICE.INVOICE_DATE";
     dimension4.DataMember            = "INVOICE.INVOICE_DATE";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.Month;
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3,
         dimension4
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember   = "PRICE";
     measure3.Name         = "Sales (Sum)";
     dimension5.DataMember = "RECIPE_NAME";
     dimension6.DataMember = "INVOICE.CLIENT.NAMES";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension6, "DataItem4");
     this.pivotDashboardItem1.DataMember = "INVOICES_DET";
     this.pivotDashboardItem1.DataSource = this.dashboardEFDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.Name = "Pivot Sales and Clients";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension5,
         dimension6
     });
     this.pivotDashboardItem1.ShowCaption = true;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3
     });
     //
     // dateFilterDashboardItem1
     //
     this.dateFilterDashboardItem1.ComponentName = "dateFilterDashboardItem1";
     dimension7.DataMember = "INVOICE.INVOICE_DATE";
     this.dateFilterDashboardItem1.DataItemRepository.Clear();
     this.dateFilterDashboardItem1.DataItemRepository.Add(dimension7, "DataItem0");
     this.dateFilterDashboardItem1.DataMember = "INVOICES_DET";
     this.dateFilterDashboardItem1.DataSource = this.dashboardEFDataSource1;
     flowDateTimePeriodLimit1.Offset          = 1;
     dateTimePeriod1.End             = flowDateTimePeriodLimit1;
     dateTimePeriod1.Name            = "This Year";
     dateTimePeriod1.Start           = flowDateTimePeriodLimit2;
     dateTimePeriod2.End             = flowDateTimePeriodLimit3;
     dateTimePeriod2.Name            = "Last Year";
     flowDateTimePeriodLimit4.Offset = -1;
     dateTimePeriod2.Start           = flowDateTimePeriodLimit4;
     dateTimePeriod3.End             = flowDateTimePeriodLimit5;
     dateTimePeriod3.Name            = "Last 2 Years";
     flowDateTimePeriodLimit6.Offset = -2;
     dateTimePeriod3.Start           = flowDateTimePeriodLimit6;
     dateTimePeriod4.End             = flowDateTimePeriodLimit7;
     dateTimePeriod4.Name            = "Last 3 Years";
     flowDateTimePeriodLimit8.Offset = -3;
     dateTimePeriod4.Start           = flowDateTimePeriodLimit8;
     this.dateFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] {
         dateTimePeriod1,
         dateTimePeriod2,
         dateTimePeriod3,
         dateTimePeriod4
     });
     this.dateFilterDashboardItem1.DefaultDateTimePeriodName = "This Year";
     this.dateFilterDashboardItem1.Dimension = dimension7;
     this.dateFilterDashboardItem1.IsMasterFilterCrossDataSource = true;
     this.dateFilterDashboardItem1.Name        = "Date Filter";
     this.dateFilterDashboardItem1.ShowCaption = true;
     //
     // scatterChartDashboardItem1
     //
     dimension8.DataMember = "INVOICE.TABLE.NAME";
     this.scatterChartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension8
     });
     this.scatterChartDashboardItem1.AxisX.AlwaysShowZeroLevel = false;
     this.scatterChartDashboardItem1.AxisX.ShowGridLines       = true;
     this.scatterChartDashboardItem1.AxisX.TitleVisible        = true;
     measure4.DataMember  = "INVOICE.ID_TABLE";
     measure4.Name        = "TABLE (Count)";
     measure4.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.scatterChartDashboardItem1.AxisXMeasure = measure4;
     this.scatterChartDashboardItem1.AxisY.AlwaysShowZeroLevel = false;
     this.scatterChartDashboardItem1.AxisY.ShowGridLines       = true;
     this.scatterChartDashboardItem1.AxisY.TitleVisible        = true;
     measure5.DataMember  = "INVOICE.INVOICE_DATE";
     measure5.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.scatterChartDashboardItem1.AxisYMeasure  = measure5;
     this.scatterChartDashboardItem1.ComponentName = "scatterChartDashboardItem1";
     measure6.DataMember = "PRICE";
     this.scatterChartDashboardItem1.DataItemRepository.Clear();
     this.scatterChartDashboardItem1.DataItemRepository.Add(dimension8, "DataItem0");
     this.scatterChartDashboardItem1.DataItemRepository.Add(measure6, "DataItem1");
     this.scatterChartDashboardItem1.DataItemRepository.Add(measure5, "DataItem2");
     this.scatterChartDashboardItem1.DataItemRepository.Add(measure4, "DataItem3");
     this.scatterChartDashboardItem1.DataMember = "INVOICES_DET";
     this.scatterChartDashboardItem1.DataSource = this.dashboardEFDataSource1;
     this.scatterChartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.scatterChartDashboardItem1.Name        = "Scatter Chart Sales by Table";
     this.scatterChartDashboardItem1.ShowCaption = true;
     this.scatterChartDashboardItem1.Weight      = measure6;
     //
     // cardDashboardItem1
     //
     measure7.DataMember  = "ID";
     measure7.Name        = "Recipe (Count)";
     measure7.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     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);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension9.DataMember  = "RECIPE_NAME";
     dimension10.DataMember = "INVOICE.WAITER.NAMES";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(dimension9, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(measure7, "DataItem1");
     this.cardDashboardItem1.DataItemRepository.Add(dimension10, "DataItem2");
     this.cardDashboardItem1.DataMember = "INVOICES_DET";
     this.cardDashboardItem1.DataSource = this.dashboardEFDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name = "Top Recipes Sold";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension9,
         dimension10
     });
     this.cardDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension11.DataMember = "INVOICE.WAITER.NAMES";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension11
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure8.DataMember = "PRICE";
     measure8.Name       = "Sales (Sum)";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension11, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure8, "DataItem1");
     this.chartDashboardItem1.DataMember = "INVOICES_DET";
     this.chartDashboardItem1.DataSource = this.dashboardEFDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Sales by Waiter  ";
     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.PlotOnSecondaryAxis                 = true;
     simpleSeries1.PointLabelOptions.ContentType       = DevExpress.DashboardCommon.PointLabelContentTypeEx.Value;
     simpleSeries1.PointLabelOptions.Orientation       = DevExpress.DashboardCommon.PointLabelOrientation.RotateLeft;
     simpleSeries1.PointLabelOptions.OverlappingMode   = DevExpress.DashboardCommon.PointLabelOverlappingMode.Reposition;
     simpleSeries1.PointLabelOptions.Position          = DevExpress.DashboardCommon.PointLabelPosition.Inside;
     simpleSeries1.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries1.AddDataItem("Value", measure8);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // DashboardMain
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardEFDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.dateFilterDashboardItem1,
         this.pivotDashboardItem1,
         this.chartDashboardItem1,
         this.pieDashboardItem2,
         this.pieDashboardItem3,
         this.cardDashboardItem1,
         this.scatterChartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 32.604562737642588D;
     dashboardLayoutItem2.DashboardItem = this.pieDashboardItem2;
     dashboardLayoutItem2.Weight        = 32.224334600760457D;
     dashboardLayoutItem3.DashboardItem = this.pieDashboardItem3;
     dashboardLayoutItem3.Weight        = 35.171102661596962D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 29.553679131483715D;
     dashboardLayoutItem4.DashboardItem  = this.cardDashboardItem1;
     dashboardLayoutItem4.Weight         = 52.376425855513311D;
     dashboardLayoutItem5.DashboardItem  = this.scatterChartDashboardItem1;
     dashboardLayoutItem5.Weight         = 47.623574144486689D;
     dashboardLayoutGroup4.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem4,
         dashboardLayoutItem5
     });
     dashboardLayoutGroup4.DashboardItem = null;
     dashboardLayoutGroup4.Weight        = 39.897260273972606D;
     dashboardLayoutItem6.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem6.Weight         = 76.638176638176631D;
     dashboardLayoutItem7.DashboardItem  = this.dateFilterDashboardItem1;
     dashboardLayoutItem7.Weight         = 23.361823361823362D;
     dashboardLayoutGroup5.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem6,
         dashboardLayoutItem7
     });
     dashboardLayoutGroup5.DashboardItem = null;
     dashboardLayoutGroup5.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup5.Weight        = 60.102739726027394D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup4,
         dashboardLayoutGroup5
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 70.446320868516281D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardEFDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.scatterChartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 7
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.Measure measure1 = new DevExpress.DashboardCommon.Measure();
     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       dimension1       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension       dimension2       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure         measure3         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure         measure4         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension       dimension3       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.ChartPane       chartPane1       = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries    simpleSeries1    = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries    simpleSeries2    = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.ChartPane       chartPane2       = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.Dimension       dimension4       = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure         measure5         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure         measure6         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Gauge           gauge1           = new DevExpress.DashboardCommon.Gauge();
     DevExpress.DashboardCommon.Measure         measure7         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure         measure8         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Gauge           gauge2           = new DevExpress.DashboardCommon.Gauge();
     DevExpress.DashboardCommon.Measure         measure9         = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Gauge           gauge3           = new DevExpress.DashboardCommon.Gauge();
     DevExpress.DashboardCommon.CalculatedField calculatedField1 = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters();
     DevExpress.DataAccess.Sql.StoredProcQuery       storedProcQuery1      = new DevExpress.DataAccess.Sql.StoredProcQuery();
     DevExpress.DataAccess.Sql.QueryParameter        queryParameter1       = new DevExpress.DataAccess.Sql.QueryParameter();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard_principal));
     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.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup4 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem5  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem6  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter   dashboardParameter1   = new DevExpress.DashboardCommon.DashboardParameter();
     this.cardDashboardItem1      = new DevExpress.DashboardCommon.CardDashboardItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.listBoxDashboardItem1   = new DevExpress.DashboardCommon.ListBoxDashboardItem();
     this.gaugeDashboardItem2     = new DevExpress.DashboardCommon.GaugeDashboardItem();
     this.gaugeDashboardItem1     = new DevExpress.DashboardCommon.GaugeDashboardItem();
     this.gaugeDashboardItem3     = new DevExpress.DashboardCommon.GaugeDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // cardDashboardItem1
     //
     measure1.DataMember = "VALORPRESUPUESTADO";
     measure1.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure1.NumericFormat.IncludeGroupSeparator = true;
     measure1.NumericFormat.Unit                  = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure2.DataMember                          = "VALOREJECUTADO";
     measure2.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure2.NumericFormat.IncludeGroupSeparator = true;
     measure2.NumericFormat.Unit                  = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     card1.AbsoluteVariationNumericFormat.IncludeGroupSeparator = true;
     card1.AbsoluteVariationNumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     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.SparklineOptions.ViewType = DevExpress.DashboardCommon.SparklineViewType.Area;
     card1.AddDataItem("ActualValue", measure1);
     card1.AddDataItem("TargetValue", measure2);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension1.DataMember = "DESCRIPCION";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.cardDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.cardDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.cardDashboardItem1.DataMember = "SP_KPI_PRINCIPAL";
     this.cardDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name = "Desviación Acumulada por Item de Costo";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.cardDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "PERIODO";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.EnableZooming = true;
     this.chartDashboardItem1.AxisX.TitleVisible  = true;
     this.chartDashboardItem1.ComponentName       = "chartDashboardItem1";
     measure3.DataMember = "VALOREJECUTADO";
     measure3.Name       = "Ejecutado";
     measure3.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure3.NumericFormat.IncludeGroupSeparator = true;
     measure3.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure4.DataMember         = "VALORPRESUPUESTADO";
     measure4.Name = "Presupuestado";
     measure4.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure4.NumericFormat.IncludeGroupSeparator = true;
     measure4.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     dimension3.DataMember       = "DESCRIPCION";
     dimension3.Name             = "Item de Costo";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure4, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem3");
     this.chartDashboardItem1.DataMember = "SP_KPI_PRINCIPAL";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Legend.InsidePosition  = DevExpress.DashboardCommon.ChartLegendInsidePosition.BottomRightVertical;
     this.chartDashboardItem1.Legend.OutsidePosition = DevExpress.DashboardCommon.ChartLegendOutsidePosition.TopLeftHorizontal;
     this.chartDashboardItem1.Name = "Resumen Desviación Mensual";
     chartPane1.Name = "Panel 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.Line;
     simpleSeries1.AddDataItem("Value", measure3);
     simpleSeries2.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.Line;
     simpleSeries2.AddDataItem("Value", measure4);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1,
         simpleSeries2
     });
     chartPane2.Name = "Panel 2";
     chartPane2.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane2.PrimaryAxisY.ShowGridLines         = true;
     chartPane2.PrimaryAxisY.TitleVisible          = true;
     chartPane2.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane2.SecondaryAxisY.ShowGridLines       = false;
     chartPane2.SecondaryAxisY.TitleVisible        = true;
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1,
         chartPane2
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // listBoxDashboardItem1
     //
     this.listBoxDashboardItem1.ComponentName = "listBoxDashboardItem1";
     dimension4.DataMember = "DESCRIPCION";
     this.listBoxDashboardItem1.DataItemRepository.Clear();
     this.listBoxDashboardItem1.DataItemRepository.Add(dimension4, "DataItem0");
     this.listBoxDashboardItem1.DataMember = "SP_KPI_PRINCIPAL";
     this.listBoxDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.listBoxDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.listBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.listBoxDashboardItem1.Name        = "Item de Costo";
     this.listBoxDashboardItem1.ShowCaption = true;
     //
     // gaugeDashboardItem2
     //
     this.gaugeDashboardItem2.ComponentName = "gaugeDashboardItem2";
     measure5.DataMember  = "PRESUPUESTOTOTAL";
     measure5.SummaryType = DevExpress.DashboardCommon.SummaryType.Average;
     measure6.DataMember  = "VALOREJECUTADO";
     this.gaugeDashboardItem2.DataItemRepository.Clear();
     this.gaugeDashboardItem2.DataItemRepository.Add(measure5, "DataItem0");
     this.gaugeDashboardItem2.DataItemRepository.Add(measure6, "DataItem1");
     this.gaugeDashboardItem2.DataMember = "SP_KPI_PRINCIPAL";
     this.gaugeDashboardItem2.DataSource = this.dashboardSqlDataSource1;
     gauge1.DeltaOptions.ResultIndicationThresholdType = DevExpress.DashboardCommon.DeltaIndicationThresholdType.Absolute;
     gauge1.Name = " Saldo";
     gauge1.AddDataItem("ActualValue", measure5);
     gauge1.AddDataItem("TargetValue", measure6);
     this.gaugeDashboardItem2.Gauges.AddRange(new DevExpress.DashboardCommon.Gauge[] {
         gauge1
     });
     this.gaugeDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.gaugeDashboardItem2.Name        = "Presupuesto Restante";
     this.gaugeDashboardItem2.ShowCaption = true;
     this.gaugeDashboardItem2.ViewType    = DevExpress.DashboardCommon.GaugeViewType.CircularHalf;
     //
     // gaugeDashboardItem1
     //
     this.gaugeDashboardItem1.ComponentName = "gaugeDashboardItem1";
     measure7.DataMember = "VALOREJECUTADO";
     measure7.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure7.NumericFormat.IncludeGroupSeparator = true;
     measure7.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure8.DataMember         = "PRESUPUESTOTOTAL";
     measure8.SummaryType        = DevExpress.DashboardCommon.SummaryType.Average;
     this.gaugeDashboardItem1.DataItemRepository.Clear();
     this.gaugeDashboardItem1.DataItemRepository.Add(measure7, "DataItem1");
     this.gaugeDashboardItem1.DataItemRepository.Add(measure8, "DataItem0");
     this.gaugeDashboardItem1.DataMember = "SP_KPI_PRINCIPAL";
     this.gaugeDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     gauge2.DeltaOptions.ValueType       = DevExpress.DashboardCommon.DeltaValueType.ActualValue;
     gauge2.Name = "Ejecutado";
     gauge2.AddDataItem("ActualValue", measure7);
     gauge2.AddDataItem("TargetValue", measure8);
     this.gaugeDashboardItem1.Gauges.AddRange(new DevExpress.DashboardCommon.Gauge[] {
         gauge2
     });
     this.gaugeDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gaugeDashboardItem1.Name        = "Presupuesto ejecutado";
     this.gaugeDashboardItem1.ShowCaption = true;
     this.gaugeDashboardItem1.ViewType    = DevExpress.DashboardCommon.GaugeViewType.CircularHalf;
     //
     // gaugeDashboardItem3
     //
     this.gaugeDashboardItem3.ComponentName = "gaugeDashboardItem3";
     measure9.DataMember = "porcentajedeejecucion";
     measure9.Name       = "Porcentaje de Ejecución";
     measure9.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Percent;
     measure9.NumericFormat.IncludeGroupSeparator = true;
     measure9.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     this.gaugeDashboardItem3.DataItemRepository.Clear();
     this.gaugeDashboardItem3.DataItemRepository.Add(measure9, "DataItem0");
     this.gaugeDashboardItem3.DataMember = "SP_KPI_PRINCIPAL";
     this.gaugeDashboardItem3.DataSource = this.dashboardSqlDataSource1;
     gauge3.Maximum = 100D;
     gauge3.Minimum = 0D;
     gauge3.Name    = " ";
     gauge3.AddDataItem("TargetValue", measure9);
     this.gaugeDashboardItem3.Gauges.AddRange(new DevExpress.DashboardCommon.Gauge[] {
         gauge3
     });
     this.gaugeDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.gaugeDashboardItem3.Name        = "Porcentaje de Ejecución de Presupuesto";
     this.gaugeDashboardItem3.ShowCaption = true;
     this.gaugeDashboardItem3.ViewType    = DevExpress.DashboardCommon.GaugeViewType.CircularHalf;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "SP_KPI_PRINCIPAL";
     calculatedField1.Expression = "Sum([VALOREJECUTADO]) / (Avg([PRESUPUESTOTOTAL]) - Sum([VALOREJECUTADO]))";
     calculatedField1.Name       = "porcentajedeejecucion";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1
     });
     this.dashboardSqlDataSource1.ComponentName        = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName       = "localhost_PRESUPUESTO_Connection";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.SqlServer;
     msSqlConnectionParameters1.DatabaseName           = "PRESUPUESTO";
     msSqlConnectionParameters1.ServerName             = "181.176.187.68\\BDNISIRA";
     this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource1.Name = "Origen de datos SQL 1";
     storedProcQuery1.Name             = "SP_KPI_PRINCIPAL";
     queryParameter1.Name      = "@IDMONEDA";
     queryParameter1.Type      = typeof(string);
     queryParameter1.ValueInfo = "02";
     storedProcQuery1.Parameters.Add(queryParameter1);
     storedProcQuery1.StoredProcName = "SP_KPI_PRINCIPAL";
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         storedProcQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // Dashboard2
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.cardDashboardItem1,
         this.chartDashboardItem1,
         this.listBoxDashboardItem1,
         this.gaugeDashboardItem2,
         this.gaugeDashboardItem1,
         this.gaugeDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 77.162629757785467D;
     dashboardLayoutItem2.DashboardItem = this.gaugeDashboardItem3;
     dashboardLayoutItem2.Weight        = 35.379061371841154D;
     dashboardLayoutItem3.DashboardItem = this.gaugeDashboardItem2;
     dashboardLayoutItem3.Weight        = 31.588447653429604D;
     dashboardLayoutItem4.DashboardItem = this.gaugeDashboardItem1;
     dashboardLayoutItem4.Weight        = 33.032490974729242D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2,
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 22.837370242214533D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 61.830357142857146D;
     dashboardLayoutItem5.DashboardItem  = this.cardDashboardItem1;
     dashboardLayoutItem5.Weight         = 77.162629757785467D;
     dashboardLayoutItem6.DashboardItem  = this.listBoxDashboardItem1;
     dashboardLayoutItem6.Weight         = 22.837370242214533D;
     dashboardLayoutGroup4.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem5,
         dashboardLayoutItem6
     });
     dashboardLayoutGroup4.DashboardItem = null;
     dashboardLayoutGroup4.Weight        = 38.169642857142854D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot           = dashboardLayoutGroup1;
     dashboardParameter1.Name  = "MONEDA";
     dashboardParameter1.Type  = typeof(string);
     dashboardParameter1.Value = "";
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1
     });
     this.Title.Text = "Tablero de control";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gaugeDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }