Esempio n. 1
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.Card    card1    = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardCenteredLayoutTemplate cardCenteredLayoutTemplate1 = new DevExpress.DashboardCommon.CardCenteredLayoutTemplate();
     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.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure5              = new DevExpress.DashboardCommon.Measure();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard1));
     DevExpress.DashboardCommon.Measure              measure6              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure7              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure8              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure9              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure10             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure11             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure12             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure13             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure14             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries3         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries4         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries5         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries6         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Measure              measure15             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure16             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure17             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure18             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure19             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure20             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane2            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries7         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries8         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries9         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries10        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries11        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries12        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Measure              measure21             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure22             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure23             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure24             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure25             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure26             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane3            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries13        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries14        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries15        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries16        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries17        = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries18        = 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.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem5  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem6  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.cardDashboardItem1         = new DevExpress.DashboardCommon.CardDashboardItem();
     this.textBoxDashboardItem1      = new DevExpress.DashboardCommon.TextBoxDashboardItem();
     this.pieDashboardItem1          = new DevExpress.DashboardCommon.PieDashboardItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.chartDashboardItem2        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.chartDashboardItem3        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardObjectDataSource2 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure15)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure16)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure17)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure18)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure19)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure20)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure21)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure22)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure23)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure24)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure25)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure26)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // cardDashboardItem1
     //
     measure1.DataMember = "TotalOK";
     measure1.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.General;
     cardCenteredLayoutTemplate1.BottomSubValue1.DimensionIndex = 0;
     cardCenteredLayoutTemplate1.BottomSubValue1.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.AbsoluteVariation;
     cardCenteredLayoutTemplate1.BottomSubValue1.Visible        = true;
     cardCenteredLayoutTemplate1.BottomSubValue2.DimensionIndex = 0;
     cardCenteredLayoutTemplate1.BottomSubValue2.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.PercentVariation;
     cardCenteredLayoutTemplate1.BottomSubValue2.Visible        = true;
     cardCenteredLayoutTemplate1.BottomValue.DimensionIndex     = 0;
     cardCenteredLayoutTemplate1.BottomValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.ActualValue;
     cardCenteredLayoutTemplate1.BottomValue.Visible            = true;
     cardCenteredLayoutTemplate1.DeltaIndicator.Visible         = true;
     cardCenteredLayoutTemplate1.MainValue.DimensionIndex       = 0;
     cardCenteredLayoutTemplate1.MainValue.ValueType            = DevExpress.DashboardCommon.CardRowDataElementType.Title;
     cardCenteredLayoutTemplate1.MainValue.Visible       = true;
     cardCenteredLayoutTemplate1.MaxWidth                = 270;
     cardCenteredLayoutTemplate1.MinWidth                = 270;
     cardCenteredLayoutTemplate1.Sparkline.Visible       = true;
     cardCenteredLayoutTemplate1.SubValue.DimensionIndex = 0;
     cardCenteredLayoutTemplate1.SubValue.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.Subtitle;
     cardCenteredLayoutTemplate1.SubValue.Visible        = true;
     card1.LayoutTemplate = cardCenteredLayoutTemplate1;
     card1.AddDataItem("ActualValue", measure1);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension1.DataMember = "ItemName";
     dimension2.DataMember = "TotalNG";
     dimension3.DataMember = "Colour";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.cardDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.cardDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.cardDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.cardDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name = "List Item Painting";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension1,
         dimension3
     });
     this.cardDashboardItem1.ShowCaption = true;
     //
     // textBoxDashboardItem1
     //
     this.textBoxDashboardItem1.ComponentName = "textBoxDashboardItem1";
     measure2.DataMember = "RawPart";
     measure3.DataMember = "TotalNG";
     measure4.DataMember = "TotalOK";
     measure5.DataMember = "TotalRepaint";
     this.textBoxDashboardItem1.DataItemRepository.Clear();
     this.textBoxDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.textBoxDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.textBoxDashboardItem1.DataItemRepository.Add(measure4, "DataItem2");
     this.textBoxDashboardItem1.DataItemRepository.Add(measure5, "DataItem3");
     this.textBoxDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.textBoxDashboardItem1.InnerRtf   = resources.GetString("textBoxDashboardItem1.InnerRtf");
     this.textBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.textBoxDashboardItem1.Name        = "Total";
     this.textBoxDashboardItem1.ShowCaption = true;
     this.textBoxDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure2,
         measure3,
         measure4,
         measure5
     });
     //
     // pieDashboardItem1
     //
     this.pieDashboardItem1.ComponentName = "pieDashboardItem1";
     measure6.DataMember = "TotalNG";
     measure7.DataMember = "TotalOK";
     measure8.DataMember = "TotalRepaint";
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(measure6, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(measure7, "DataItem1");
     this.pieDashboardItem1.DataItemRepository.Add(measure8, "DataItem2");
     this.pieDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem1.Name        = "Pies";
     this.pieDashboardItem1.ShowCaption = false;
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure6,
         measure7,
         measure8
     });
     //
     // chartDashboardItem1
     //
     this.chartDashboardItem1.AxisX.EnableZooming = true;
     this.chartDashboardItem1.AxisX.Title         = "";
     this.chartDashboardItem1.AxisX.TitleVisible  = false;
     this.chartDashboardItem1.ComponentName       = "chartDashboardItem1";
     measure9.DataMember  = "OK0";
     measure10.DataMember = "OK1";
     measure11.DataMember = "OK2";
     measure12.DataMember = "OK3";
     measure13.DataMember = "OK4";
     measure14.DataMember = "OK5";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure9, "DataItem5");
     this.chartDashboardItem1.DataItemRepository.Add(measure10, "DataItem6");
     this.chartDashboardItem1.DataItemRepository.Add(measure11, "DataItem7");
     this.chartDashboardItem1.DataItemRepository.Add(measure12, "DataItem8");
     this.chartDashboardItem1.DataItemRepository.Add(measure13, "DataItem9");
     this.chartDashboardItem1.DataItemRepository.Add(measure14, "DataItem0");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart Painting OK";
     chartPane1.Name = "Pane 2";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.PrimaryAxisY.ShowGridLines       = true;
     chartPane1.PrimaryAxisY.Title                 = "OK";
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = true;
     chartPane1.SecondaryAxisY.Title               = "";
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.ShowPointMarkers                = true;
     simpleSeries1.AddDataItem("Value", measure9);
     simpleSeries2.ShowPointMarkers = true;
     simpleSeries2.AddDataItem("Value", measure10);
     simpleSeries3.ShowPointMarkers = true;
     simpleSeries3.AddDataItem("Value", measure11);
     simpleSeries4.ShowPointMarkers = true;
     simpleSeries4.AddDataItem("Value", measure12);
     simpleSeries5.ShowPointMarkers = true;
     simpleSeries5.AddDataItem("Value", measure13);
     simpleSeries6.AddDataItem("Value", measure14);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1,
         simpleSeries2,
         simpleSeries3,
         simpleSeries4,
         simpleSeries5,
         simpleSeries6
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem2
     //
     this.chartDashboardItem2.AxisX.EnableZooming = true;
     this.chartDashboardItem2.AxisX.TitleVisible  = false;
     this.chartDashboardItem2.ComponentName       = "chartDashboardItem2";
     measure15.DataMember = "NG0";
     measure16.DataMember = "NG1";
     measure17.DataMember = "NG2";
     measure18.DataMember = "NG3";
     measure19.DataMember = "NG4";
     measure20.DataMember = "NG5";
     this.chartDashboardItem2.DataItemRepository.Clear();
     this.chartDashboardItem2.DataItemRepository.Add(measure15, "DataItem0");
     this.chartDashboardItem2.DataItemRepository.Add(measure16, "DataItem1");
     this.chartDashboardItem2.DataItemRepository.Add(measure17, "DataItem2");
     this.chartDashboardItem2.DataItemRepository.Add(measure18, "DataItem3");
     this.chartDashboardItem2.DataItemRepository.Add(measure19, "DataItem4");
     this.chartDashboardItem2.DataItemRepository.Add(measure20, "DataItem5");
     this.chartDashboardItem2.DataSource = this.dashboardObjectDataSource2;
     this.chartDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem2.Name = "Chart Painting NG";
     chartPane2.Name = "Pane 1";
     chartPane2.PrimaryAxisY.AlwaysShowZeroLevel = true;
     chartPane2.PrimaryAxisY.ShowGridLines       = true;
     chartPane2.PrimaryAxisY.Title                 = "NG";
     chartPane2.PrimaryAxisY.TitleVisible          = true;
     chartPane2.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane2.SecondaryAxisY.ShowGridLines       = false;
     chartPane2.SecondaryAxisY.TitleVisible        = true;
     simpleSeries7.AddDataItem("Value", measure15);
     simpleSeries8.AddDataItem("Value", measure16);
     simpleSeries9.AddDataItem("Value", measure17);
     simpleSeries10.AddDataItem("Value", measure18);
     simpleSeries11.AddDataItem("Value", measure19);
     simpleSeries12.AddDataItem("Value", measure20);
     chartPane2.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries7,
         simpleSeries8,
         simpleSeries9,
         simpleSeries10,
         simpleSeries11,
         simpleSeries12
     });
     this.chartDashboardItem2.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane2
     });
     this.chartDashboardItem2.ShowCaption = true;
     //
     // chartDashboardItem3
     //
     this.chartDashboardItem3.AxisX.EnableZooming = true;
     this.chartDashboardItem3.AxisX.TitleVisible  = false;
     this.chartDashboardItem3.ComponentName       = "chartDashboardItem3";
     measure21.DataMember = "R0";
     measure22.DataMember = "R1";
     measure23.DataMember = "R2";
     measure24.DataMember = "R3";
     measure25.DataMember = "R4";
     measure26.DataMember = "R5";
     this.chartDashboardItem3.DataItemRepository.Clear();
     this.chartDashboardItem3.DataItemRepository.Add(measure21, "DataItem0");
     this.chartDashboardItem3.DataItemRepository.Add(measure22, "DataItem1");
     this.chartDashboardItem3.DataItemRepository.Add(measure23, "DataItem2");
     this.chartDashboardItem3.DataItemRepository.Add(measure24, "DataItem3");
     this.chartDashboardItem3.DataItemRepository.Add(measure25, "DataItem4");
     this.chartDashboardItem3.DataItemRepository.Add(measure26, "DataItem5");
     this.chartDashboardItem3.DataSource = this.dashboardObjectDataSource2;
     this.chartDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem3.Name = "Chart Painting Repaint";
     chartPane3.Name = "Pane 1";
     chartPane3.PrimaryAxisY.AlwaysShowZeroLevel = true;
     chartPane3.PrimaryAxisY.ShowGridLines       = true;
     chartPane3.PrimaryAxisY.Title                 = "Repaint";
     chartPane3.PrimaryAxisY.TitleVisible          = true;
     chartPane3.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane3.SecondaryAxisY.ShowGridLines       = false;
     chartPane3.SecondaryAxisY.TitleVisible        = true;
     simpleSeries13.AddDataItem("Value", measure21);
     simpleSeries14.AddDataItem("Value", measure22);
     simpleSeries15.AddDataItem("Value", measure23);
     simpleSeries16.AddDataItem("Value", measure24);
     simpleSeries17.AddDataItem("Value", measure25);
     simpleSeries18.AddDataItem("Value", measure26);
     chartPane3.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries13,
         simpleSeries14,
         simpleSeries15,
         simpleSeries16,
         simpleSeries17,
         simpleSeries18
     });
     this.chartDashboardItem3.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane3
     });
     this.chartDashboardItem3.ShowCaption = true;
     //
     // dashboardObjectDataSource2
     //
     this.dashboardObjectDataSource2.ComponentName = "dashboardObjectDataSource2";
     this.dashboardObjectDataSource2.DataMember    = "GetMonitoringPaintingDetails";
     this.dashboardObjectDataSource2.DataSource    = typeof(MonitoringPaintingYasunli.MonitoringPaintingSource);
     this.dashboardObjectDataSource2.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.cardDashboardItem1,
         this.chartDashboardItem1,
         this.textBoxDashboardItem1,
         this.pieDashboardItem1,
         this.chartDashboardItem2,
         this.chartDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem1.Weight        = 27.582534611288605D;
     dashboardLayoutItem2.DashboardItem = this.textBoxDashboardItem1;
     dashboardLayoutItem2.Weight        = 37.806176783812568D;
     dashboardLayoutItem3.DashboardItem = this.pieDashboardItem1;
     dashboardLayoutItem3.Weight        = 34.611288604898832D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 34.117647058823529D;
     dashboardLayoutItem4.DashboardItem  = this.chartDashboardItem1;
     dashboardLayoutItem4.Weight         = 32.1618743343983D;
     dashboardLayoutItem5.DashboardItem  = this.chartDashboardItem2;
     dashboardLayoutItem5.Weight         = 33.652822151224704D;
     dashboardLayoutItem6.DashboardItem  = this.chartDashboardItem3;
     dashboardLayoutItem6.Weight         = 34.185303514377D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem4,
         dashboardLayoutItem5,
         dashboardLayoutItem6
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Weight        = 65.882352941176464D;
     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)(measure1)).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)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure16)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure17)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure18)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure19)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure20)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure21)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure22)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure23)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure24)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure25)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure26)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension    dimension1    = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension    dimension2    = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension    dimension3    = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure      measure1      = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane    chartPane1    = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries simpleSeries1 = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters();
     DevExpress.DataAccess.Sql.SelectQuery           selectQuery1          = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                column1               = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression1     = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                 table1                = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                column2               = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression2     = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                 table2                = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                column3               = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression3     = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                 table3                = 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.Table                 table4                = new DevExpress.DataAccess.Sql.Table();
     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.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();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard2));
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource2    = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "Agrupacion.Nombre";
     dimension1.SortOrder  = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     dimension2.DataMember = "Nomina.FechaEmision";
     dimension3.DataMember = "TipoMoneda.Abreviatura";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2,
         dimension3
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "ImporteFinal";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem3");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Gráfico 1";
     chartPane1.Name = "Panel 2";
     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", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource2
     //
     this.dashboardSqlDataSource2.ComponentName        = "dashboardSqlDataSource2";
     this.dashboardSqlDataSource2.ConnectionName       = "artistasConnectionString";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.SqlServer;
     msSqlConnectionParameters1.DatabaseName           = "artistas";
     msSqlConnectionParameters1.ServerName             = ".\\SQLExpress";
     this.dashboardSqlDataSource2.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource2.Name = "Origen de datos SQL 1";
     columnExpression1.ColumnName      = "Nombre";
     table1.MetaSerializable           = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"229\" />";
     table1.Name                  = "Agrupacion";
     columnExpression1.Table      = table1;
     column1.Expression           = columnExpression1;
     columnExpression2.ColumnName = "FechaEmision";
     table2.MetaSerializable      = "<Meta X=\"340\" Y=\"210\" Width=\"125\" Height=\"172\" />";
     table2.Name                  = "Nomina";
     columnExpression2.Table      = table2;
     column2.Expression           = columnExpression2;
     columnExpression3.ColumnName = "Abreviatura";
     table3.MetaSerializable      = "<Meta X=\"340\" Y=\"30\" Width=\"125\" Height=\"134\" />";
     table3.Name                  = "TipoMoneda";
     columnExpression3.Table      = table3;
     column3.Expression           = columnExpression3;
     columnExpression4.ColumnName = "Anno";
     table4.MetaSerializable      = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"666\" />";
     table4.Name                  = "OrdenDeTrabajo";
     columnExpression4.Table      = table4;
     column4.Expression           = columnExpression4;
     columnExpression5.ColumnName = "ImporteFinal";
     columnExpression5.Table      = table4;
     column5.Expression           = columnExpression5;
     columnExpression6.ColumnName = "PorCientoUnidadArtistica";
     columnExpression6.Table      = table4;
     column6.Expression           = columnExpression6;
     columnExpression7.ColumnName = "DobleVinculo";
     columnExpression7.Table      = table1;
     column7.Expression           = columnExpression7;
     columnExpression8.ColumnName = "PerteneceACatalogo";
     columnExpression8.Table      = table1;
     column8.Expression           = columnExpression8;
     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.Name = "Agrupacion";
     relationColumnInfo1.NestedKeyColumn = "AgrupacionId";
     relationColumnInfo1.ParentKeyColumn = "AgrupacionID";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table4;
     join1.Parent = table1;
     relationColumnInfo2.NestedKeyColumn = "TipoMonedaID";
     relationColumnInfo2.ParentKeyColumn = "TipoMonedaId";
     join2.KeyColumns.Add(relationColumnInfo2);
     join2.Nested = table3;
     join2.Parent = table4;
     relationColumnInfo3.NestedKeyColumn = "DocumentoReferenciaId";
     relationColumnInfo3.ParentKeyColumn = "OrdenDeTrabajoID";
     join3.KeyColumns.Add(relationColumnInfo3);
     join3.Nested = table2;
     join3.Parent = table4;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Relations.Add(join2);
     selectQuery1.Relations.Add(join3);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table4);
     selectQuery1.Tables.Add(table3);
     selectQuery1.Tables.Add(table2);
     this.dashboardSqlDataSource2.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource2.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource2.ResultSchemaSerializable");
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataSource    = typeof(DXApplication9.OrdenDeTrabajo);
     this.dashboardObjectDataSource1.Name          = "Origen de datos de objeto 1";
     //
     // Dashboard2
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource2,
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Tablero de control";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.CalculatedField      calculatedField1      = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField      calculatedField2      = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField      calculatedField3      = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField      calculatedField4      = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField      calculatedField5      = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DashboardCommon.CalculatedField      calculatedField6      = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(dash_pro_mmm_dashboard));
     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.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension11           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension12           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.textBoxDashboardItem1   = new DevExpress.DashboardCommon.TextBoxDashboardItem();
     this.pivotDashboardItem1     = new DevExpress.DashboardCommon.PivotDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "card_name";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     dimension2.DataMember        = "area_name";
     dimension3.DataMember        = "pro_name";
     dimension3.TextGroupInterval = DevExpress.DashboardCommon.TextGroupInterval.Alphabetical;
     dimension4.DataMember        = "area_identifier";
     measure1.DataMember          = "score_col1";
     measure1.Name = "As-Is";
     measure1.NumericFormat.Precision = 0;
     measure1.NumericFormat.Unit      = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure1.SummaryType             = DevExpress.DashboardCommon.SummaryType.Min;
     measure2.DataMember  = "score_col2";
     measure2.Name        = "To-Be";
     measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Min;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem4");
     this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem5");
     this.chartDashboardItem1.DataMember = "Query";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.HiddenDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Single;
     this.chartDashboardItem1.InteractivityOptions.TargetDimensions    = DevExpress.DashboardCommon.TargetDimensions.Series;
     this.chartDashboardItem1.Legend.InsidePosition  = DevExpress.DashboardCommon.ChartLegendInsidePosition.TopLeftVertical;
     this.chartDashboardItem1.Legend.OutsidePosition = DevExpress.DashboardCommon.ChartLegendOutsidePosition.TopLeftHorizontal;
     this.chartDashboardItem1.Name = "As-Is / To-Be by Selection";
     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", measure1);
     simpleSeries2.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1,
         simpleSeries2
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension4
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "Query";
     calculatedField1.Expression = "CountNotNull([score_col1])";
     calculatedField1.Name       = "CountNotNull([score_col1])";
     calculatedField2.DataMember = "Query";
     calculatedField2.Expression = "CountNotNull([score_col2])";
     calculatedField2.Name       = "CountNotNull([score_col2])";
     calculatedField3.DataMember = "Query";
     calculatedField3.Expression = "CountNotNull([score_col3])";
     calculatedField3.Name       = "CountNotNull([score_col3])";
     calculatedField4.DataMember = "Query";
     calculatedField4.Expression = "CountNotNull([score_col4])";
     calculatedField4.Name       = "CountNotNull([score_col4])";
     calculatedField5.DataMember = "Query";
     calculatedField5.Expression = "CountNotNull([score_col5])";
     calculatedField5.Name       = "CountNotNull([score_col5])";
     calculatedField6.DataMember = "Query";
     calculatedField6.Expression = "CountDistinct([score_col1])";
     calculatedField6.Name       = "CountDistinct([score_col1])";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1,
         calculatedField2,
         calculatedField3,
         calculatedField4,
         calculatedField5,
         calculatedField6
     });
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "OhioDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension5.DataMember = "stan_standard";
     dimension6.DataMember = "pro_name";
     dimension7.DataMember = "area_name";
     dimension8.DataMember = "card_name";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension5, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension6, "DataItem6");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension7, "DataItem5");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension8, "DataItem1");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension6,
         dimension8,
         dimension7,
         dimension5
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Select Data to Visualize";
     this.treeViewDashboardItem1.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        = "Data Selector Help";
     this.textBoxDashboardItem1.ShowCaption = true;
     //
     // pivotDashboardItem1
     //
     this.pivotDashboardItem1.AutoExpandColumnGroups = true;
     this.pivotDashboardItem1.AutoExpandRowGroups    = true;
     dimension9.DataMember = "pro_name";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension9
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember    = "score_col1";
     measure3.Name          = "As-Is";
     measure3.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     measure4.DataMember    = "score_col2";
     measure4.Name          = "To-Be";
     measure4.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     dimension10.DataMember = "area_name";
     dimension11.DataMember = "card_name";
     dimension12.DataMember = "stan_standard";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(dimension9, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(measure4, "DataItem5");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension10, "DataItem6");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension11, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension12, "DataItem3");
     this.pivotDashboardItem1.DataMember = "Query";
     this.pivotDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Pivot 1";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension11,
         dimension10,
         dimension12
     });
     this.pivotDashboardItem1.ShowCaption           = false;
     this.pivotDashboardItem1.ShowColumnGrandTotals = false;
     this.pivotDashboardItem1.ShowRowGrandTotals    = false;
     this.pivotDashboardItem1.ShowRowTotals         = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3,
         measure4
     });
     //
     // dash_pro_mmm_dashboard
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1,
         this.treeViewDashboardItem1,
         this.textBoxDashboardItem1,
         this.pivotDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 47.236614853195164D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 26.07944732297064D;
     dashboardLayoutItem3.DashboardItem = this.textBoxDashboardItem1;
     dashboardLayoutItem3.Weight        = 26.683937823834196D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 71.463815789473685D;
     dashboardLayoutItem4.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem4.Weight         = 28.536184210526315D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot     = dashboardLayoutGroup1;
     this.Title.ImageUrl = "https://rcxbox.readycert.net/Content/Images/logo.png";
     this.Title.ShowMasterFilterState = false;
     this.Title.Text = "MITA Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = 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();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(DashboardRegisterIncrease));
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1 = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dataSource1         = new DevExpress.DashboardCommon.DataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "CreateDate";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.DataMember            = "Hour";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember   = "DataValue";
     measure1.Name         = "会员数量";
     dimension3.DataMember = "MemberLevel";
     dimension3.Name       = "会员等级";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem3");
     this.chartDashboardItem1.DataSource          = this.dataSource1;
     this.chartDashboardItem1.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.ShowGridLines   = true;
     chartPane1.PrimaryAxisY.TitleVisible    = true;
     chartPane1.SecondaryAxisY.ShowGridLines = false;
     chartPane1.SecondaryAxisY.TitleVisible  = true;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // dataSource1
     //
     this.dataSource1.ComponentName      = "dataSource1";
     this.dataSource1.Data               = null;
     this.dataSource1.DataMember         = "RegistersIncrease";
     this.dataSource1.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource1.DataSchema         = resources.GetString("dataSource1.DataSchema");
     this.dataSource1.Name               = "Data Source 1";
     //
     // DashboardRegisterIncrease
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.DataSource[] {
         this.dataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 100D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot    = dashboardLayoutGroup1;
     this.Title.Text    = "Dashboard";
     this.Title.Visible = false;
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).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.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.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries3         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(Pro_Db_PKNMonthly_Chart));
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).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.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "NgayNhan";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.LimitVisiblePoints = true;
     this.chartDashboardItem1.AxisX.TitleVisible       = false;
     this.chartDashboardItem1.ComponentName            = "chartDashboardItem1";
     measure1.DataMember = "Pending";
     measure1.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure1.NumericFormat.IncludeGroupSeparator = true;
     measure1.NumericFormat.Precision             = 0;
     measure1.NumericFormat.Unit                  = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure2.DataMember                          = "Failed";
     measure2.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure2.NumericFormat.IncludeGroupSeparator = true;
     measure2.NumericFormat.Precision             = 0;
     measure2.NumericFormat.Unit                  = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure3.DataMember                          = "Passed";
     measure3.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure3.NumericFormat.IncludeGroupSeparator = true;
     measure3.NumericFormat.Precision             = 0;
     measure3.NumericFormat.Unit                  = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.chartDashboardItem1.DataMember = "Query";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Legend.InsidePosition  = DevExpress.DashboardCommon.ChartLegendInsidePosition.TopRightVertical;
     this.chartDashboardItem1.Legend.IsInsideDiagram = true;
     this.chartDashboardItem1.Legend.OutsidePosition = DevExpress.DashboardCommon.ChartLegendOutsidePosition.BottomCenterHorizontal;
     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.Logarithmic           = true;
     chartPane1.SecondaryAxisY.ShowGridLines         = true;
     chartPane1.SecondaryAxisY.TitleVisible          = true;
     simpleSeries1.PointLabelOptions.ShowPointLabels = true;
     simpleSeries1.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries1.AddDataItem("Value", measure3);
     simpleSeries2.PointLabelOptions.ShowPointLabels = true;
     simpleSeries2.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries2.AddDataItem("Value", measure2);
     simpleSeries3.PointLabelOptions.ShowPointLabels = true;
     simpleSeries3.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries3.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1,
         simpleSeries2,
         simpleSeries3
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "Production.Properties.Settings.SYNC_NUTRICIELConnectionString";
     this.dashboardSqlDataSource1.Name           = "PKN This Month Chart";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // Pro_Db_PKNMonthly_Chart
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     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 = "Total PKN monthly";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).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.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     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.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.ChartPane            chartPane2            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane3            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries3         = 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.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1 = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dataSource1         = new DevExpress.DashboardCommon.DataSource();
     this.pieDashboardItem1   = new DevExpress.DashboardCommon.PieDashboardItem();
     this.dataSource3         = new DevExpress.DashboardCommon.DataSource();
     this.chartDashboardItem2 = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dataSource2         = new DevExpress.DashboardCommon.DataSource();
     this.chartDashboardItem3 = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dataSource4         = new DevExpress.DashboardCommon.DataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "CreateDate";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.DataMember            = "Hour";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "DataValue";
     measure1.Name       = "注册数";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.chartDashboardItem1.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.ShowGridLines   = true;
     chartPane1.PrimaryAxisY.TitleVisible    = true;
     chartPane1.SecondaryAxisY.ShowGridLines = false;
     chartPane1.SecondaryAxisY.TitleVisible  = true;
     simpleSeries1.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.Line;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dataSource1
     //
     this.dataSource1.ComponentName      = "dataSource1";
     this.dataSource1.Data               = null;
     this.dataSource1.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource1.Name               = "first";
     //
     // pieDashboardItem1
     //
     dimension3.DataMember = "VNoHead";
     this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.pieDashboardItem1.ComponentName = "pieDashboardItem1";
     measure2.DataMember = "DataValue";
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.pieDashboardItem1.IgnoreMasterFilters = false;
     this.pieDashboardItem1.Name        = "Pies 1";
     this.pieDashboardItem1.ShowCaption = true;
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure2
     });
     //
     // dataSource3
     //
     this.dataSource3.ComponentName      = "dataSource3";
     this.dataSource3.Data               = null;
     this.dataSource3.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource3.Name               = "third";
     //
     // chartDashboardItem2
     //
     dimension4.DataMember            = "CreateDate";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension5.DataMember            = "Hour";
     this.chartDashboardItem2.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4,
         dimension5
     });
     this.chartDashboardItem2.AxisX.TitleVisible = false;
     this.chartDashboardItem2.ComponentName      = "chartDashboardItem2";
     measure3.DataMember   = "DataValue";
     measure3.Name         = "注册数";
     dimension6.DataMember = "MemberLevel";
     dimension6.Name       = "会员等级";
     this.chartDashboardItem2.DataItemRepository.Clear();
     this.chartDashboardItem2.DataItemRepository.Add(measure3, "DataItem0");
     this.chartDashboardItem2.DataItemRepository.Add(dimension5, "DataItem1");
     this.chartDashboardItem2.DataItemRepository.Add(dimension4, "DataItem2");
     this.chartDashboardItem2.DataItemRepository.Add(dimension6, "DataItem3");
     this.chartDashboardItem2.IgnoreMasterFilters = false;
     this.chartDashboardItem2.Name = "Chart 2";
     chartPane2.Name = "Pane 1";
     chartPane2.PrimaryAxisY.ShowGridLines   = true;
     chartPane2.PrimaryAxisY.TitleVisible    = true;
     chartPane2.SecondaryAxisY.ShowGridLines = false;
     chartPane2.SecondaryAxisY.TitleVisible  = true;
     simpleSeries2.AddDataItem("Value", measure3);
     chartPane2.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries2
     });
     this.chartDashboardItem2.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane2
     });
     this.chartDashboardItem2.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension6
     });
     this.chartDashboardItem2.ShowCaption = true;
     //
     // dataSource2
     //
     this.dataSource2.ComponentName      = "dataSource2";
     this.dataSource2.Data               = null;
     this.dataSource2.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource2.Name               = "second";
     //
     // chartDashboardItem3
     //
     dimension7.DataMember            = "CreateDate";
     dimension7.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension8.DataMember            = "Hour";
     this.chartDashboardItem3.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension7,
         dimension8
     });
     this.chartDashboardItem3.AxisX.TitleVisible = false;
     this.chartDashboardItem3.ComponentName      = "chartDashboardItem3";
     dimension9.DataMember = "VNoHead";
     measure4.DataMember   = "DataValue";
     this.chartDashboardItem3.DataItemRepository.Clear();
     this.chartDashboardItem3.DataItemRepository.Add(dimension9, "DataItem0");
     this.chartDashboardItem3.DataItemRepository.Add(dimension8, "DataItem1");
     this.chartDashboardItem3.DataItemRepository.Add(measure4, "DataItem2");
     this.chartDashboardItem3.DataItemRepository.Add(dimension7, "DataItem3");
     this.chartDashboardItem3.IgnoreMasterFilters = false;
     this.chartDashboardItem3.Name = "Chart 3";
     chartPane3.Name = "Pane 1";
     chartPane3.PrimaryAxisY.ShowGridLines   = true;
     chartPane3.PrimaryAxisY.TitleVisible    = true;
     chartPane3.SecondaryAxisY.ShowGridLines = false;
     chartPane3.SecondaryAxisY.TitleVisible  = true;
     simpleSeries3.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.Line;
     simpleSeries3.AddDataItem("Value", measure4);
     chartPane3.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries3
     });
     this.chartDashboardItem3.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane3
     });
     this.chartDashboardItem3.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension9
     });
     this.chartDashboardItem3.ShowCaption = true;
     //
     // dataSource4
     //
     this.dataSource4.ComponentName      = "dataSource4";
     this.dataSource4.Data               = null;
     this.dataSource4.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource4.Name               = "fourth";
     //
     // DashboardRegister
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.DataSource[] {
         this.dataSource1,
         this.dataSource2,
         this.dataSource3,
         this.dataSource4
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1,
         this.chartDashboardItem2,
         this.pieDashboardItem1,
         this.chartDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 0.5D;
     dashboardLayoutItem2.DashboardItem = this.pieDashboardItem1;
     dashboardLayoutItem2.Weight        = 0.5D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.Orientation  = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight       = 0.5D;
     dashboardLayoutItem3.DashboardItem = this.chartDashboardItem2;
     dashboardLayoutItem3.Weight        = 0.5D;
     dashboardLayoutItem4.DashboardItem = this.chartDashboardItem3;
     dashboardLayoutItem4.Weight        = 0.5D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight      = 0.5D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup3
     });
     this.LayoutRoot        = dashboardLayoutGroup1;
     this.Title.Text        = "Dashboard";
     this.DashboardLoading += new System.EventHandler(this.DashboardRegister_DashboardLoading);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension             dimension1             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension2             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension3             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension4             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure               measure1               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure               measure2               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane             chartPane1             = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries          simpleSeries1          = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries          simpleSeries2          = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.CalculatedField       calculatedField1       = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DataAccess.Sql.CustomSqlQuery         customSqlQuery1        = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.QueryParameter         queryParameter1        = new DevExpress.DataAccess.Sql.QueryParameter();
     System.ComponentModel.ComponentResourceManager   resources              = new System.ComponentModel.ComponentResourceManager(typeof(dash_pro_profile));
     DevExpress.DashboardCommon.Dimension             dimension5             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension6             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure               measure3               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure               measure4               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension             dimension7             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension8             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension9             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension10            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension11            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension12            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension13            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure               measure5               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension             dimension14            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension15            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure               measure6               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension             dimension16            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension17            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension18            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure               measure7               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure               measure8               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension             dimension19            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension20            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension             dimension21            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure               measure9               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.PivotWindowDefinition pivotWindowDefinition1 = new DevExpress.DashboardCommon.PivotWindowDefinition();
     DevExpress.DashboardCommon.PivotItemFormatRule   pivotItemFormatRule1   = new DevExpress.DashboardCommon.PivotItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionValue  formatConditionValue1  = new DevExpress.DashboardCommon.FormatConditionValue();
     DevExpress.DashboardCommon.AppearanceSettings    appearanceSettings1    = new DevExpress.DashboardCommon.AppearanceSettings();
     DevExpress.DashboardCommon.PivotItemFormatRule   pivotItemFormatRule2   = new DevExpress.DashboardCommon.PivotItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionValue  formatConditionValue2  = new DevExpress.DashboardCommon.FormatConditionValue();
     DevExpress.DashboardCommon.AppearanceSettings    appearanceSettings2    = new DevExpress.DashboardCommon.AppearanceSettings();
     DevExpress.DashboardCommon.PivotItemFormatRule   pivotItemFormatRule3   = new DevExpress.DashboardCommon.PivotItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionValue  formatConditionValue3  = new DevExpress.DashboardCommon.FormatConditionValue();
     DevExpress.DashboardCommon.AppearanceSettings    appearanceSettings3    = new DevExpress.DashboardCommon.AppearanceSettings();
     DevExpress.DashboardCommon.PivotItemFormatRule   pivotItemFormatRule4   = new DevExpress.DashboardCommon.PivotItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionValue  formatConditionValue4  = new DevExpress.DashboardCommon.FormatConditionValue();
     DevExpress.DashboardCommon.IconSettings          iconSettings1          = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.DashboardLayoutGroup  dashboardLayoutGroup1  = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup  dashboardLayoutGroup2  = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup  dashboardLayoutGroup3  = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem   dashboardLayoutItem1   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem   dashboardLayoutItem2   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup  dashboardLayoutGroup4  = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem   dashboardLayoutItem3   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem   dashboardLayoutItem4   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem   dashboardLayoutItem5   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter    dashboardParameter1    = new DevExpress.DashboardCommon.DashboardParameter();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.pieDashboardItem1       = new DevExpress.DashboardCommon.PieDashboardItem();
     this.pieDashboardItem2       = new DevExpress.DashboardCommon.PieDashboardItem();
     this.pivotDashboardItem1     = new DevExpress.DashboardCommon.PivotDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension14)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension15)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension16)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension17)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension18)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension19)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension20)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension21)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "area_identifier";
     dimension2.DataMember = "bp_name";
     dimension3.DataMember = "stan_standard";
     dimension3.SortOrder  = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2,
         dimension3
     });
     this.chartDashboardItem1.AxisX.EnableZooming = true;
     this.chartDashboardItem1.AxisX.TitleVisible  = false;
     this.chartDashboardItem1.ComponentName       = "chartDashboardItem1";
     dimension4.DataMember = "area_name";
     measure1.DataMember   = "score_col1";
     measure1.Name         = "As-Is";
     measure1.SummaryType  = DevExpress.DashboardCommon.SummaryType.Min;
     measure2.DataMember   = "score_col2";
     measure2.Name         = "To-Be";
     measure2.SummaryType  = DevExpress.DashboardCommon.SummaryType.Min;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem5");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem4");
     this.chartDashboardItem1.DataMember = "modified_felipe";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.InteractivityOptions.IsDrillDownEnabled  = true;
     this.chartDashboardItem1.Name = "Capability Scores";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel       = true;
     chartPane1.PrimaryAxisY.ShowGridLines             = true;
     chartPane1.PrimaryAxisY.TitleVisible              = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel     = true;
     chartPane1.SecondaryAxisY.ShowGridLines           = false;
     chartPane1.SecondaryAxisY.TitleVisible            = true;
     simpleSeries1.PointLabelOptions.ContentType       = DevExpress.DashboardCommon.PointLabelContentTypeEx.Value;
     simpleSeries1.PointLabelOptions.Position          = DevExpress.DashboardCommon.PointLabelPosition.Inside;
     simpleSeries1.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries1.AddDataItem("Value", measure1);
     simpleSeries2.PointLabelOptions.ContentType       = DevExpress.DashboardCommon.PointLabelContentTypeEx.Value;
     simpleSeries2.PointLabelOptions.Position          = DevExpress.DashboardCommon.PointLabelPosition.Inside;
     simpleSeries2.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries2.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1,
         simpleSeries2
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.Rotated = true;
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "modified_felipe";
     calculatedField1.Expression = "[score_col2] - [score_col1]";
     calculatedField1.Name       = "Calculated Field 1";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1
     });
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "OhioDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name  = "modified_felipe";
     queryParameter1.Name  = "projectID";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.projectID]", typeof(System.Guid));
     customSqlQuery1.Parameters.Add(queryParameter1);
     customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension5.DataMember  = "value_scoretext";
     dimension6.DataMember  = "stan_standard";
     measure3.DataMember    = "score_col1";
     measure3.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     measure4.DataMember    = "score_col2";
     measure4.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     dimension7.DataMember  = "card_name";
     dimension8.DataMember  = "area_name";
     dimension9.DataMember  = "bp_name";
     dimension10.DataMember = "value_score";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension5, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension6, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(measure3, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(measure4, "DataItem3");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension7, "DataItem5");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension8, "DataItem6");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension9, "DataItem4");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension10, "DataItem7");
     this.treeViewDashboardItem1.DataMember   = "modified_felipe";
     this.treeViewDashboardItem1.DataSource   = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.EnableSearch = true;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension8,
         dimension9,
         dimension7,
         dimension6,
         dimension10,
         dimension5
     });
     this.treeViewDashboardItem1.HiddenMeasures.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3,
         measure4
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Select Data to Visualize";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // pieDashboardItem1
     //
     dimension11.DataMember = "bp_name";
     dimension12.DataMember = "stan_standard";
     this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension11,
         dimension12
     });
     this.pieDashboardItem1.ComponentName = "pieDashboardItem1";
     dimension13.DataMember            = "area_name";
     dimension13.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     measure5.DataMember               = "score_col1";
     measure5.Name                     = "As-Is";
     measure5.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.General;
     measure5.SummaryType              = DevExpress.DashboardCommon.SummaryType.Min;
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(dimension13, "DataItem2");
     this.pieDashboardItem1.DataItemRepository.Add(measure5, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(dimension11, "DataItem3");
     this.pieDashboardItem1.DataItemRepository.Add(dimension12, "DataItem1");
     this.pieDashboardItem1.DataMember = "modified_felipe";
     this.pieDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem1.InteractivityOptions.IsDrillDownEnabled  = true;
     this.pieDashboardItem1.LabelContentType = ((DevExpress.DashboardCommon.PieValueType)((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Value)));
     this.pieDashboardItem1.Name             = "As-Is";
     this.pieDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension13
     });
     this.pieDashboardItem1.ShowCaption        = true;
     this.pieDashboardItem1.TooltipContentType = ((DevExpress.DashboardCommon.PieValueType)((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Value)));
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure5
     });
     //
     // pieDashboardItem2
     //
     dimension14.DataMember = "bp_name";
     dimension15.DataMember = "stan_standard";
     this.pieDashboardItem2.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension14,
         dimension15
     });
     this.pieDashboardItem2.ComponentName = "pieDashboardItem2";
     measure6.DataMember    = "score_col2";
     measure6.Name          = "To-Be";
     measure6.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     dimension16.DataMember = "area_name";
     this.pieDashboardItem2.DataItemRepository.Clear();
     this.pieDashboardItem2.DataItemRepository.Add(measure6, "DataItem0");
     this.pieDashboardItem2.DataItemRepository.Add(dimension16, "DataItem1");
     this.pieDashboardItem2.DataItemRepository.Add(dimension14, "DataItem2");
     this.pieDashboardItem2.DataItemRepository.Add(dimension15, "DataItem3");
     this.pieDashboardItem2.DataMember = "modified_felipe";
     this.pieDashboardItem2.DataSource = this.dashboardSqlDataSource1;
     this.pieDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem2.InteractivityOptions.IsDrillDownEnabled  = true;
     this.pieDashboardItem2.LabelContentType = ((DevExpress.DashboardCommon.PieValueType)((DevExpress.DashboardCommon.PieValueType.Argument | DevExpress.DashboardCommon.PieValueType.Value)));
     this.pieDashboardItem2.Name             = "To-Be";
     this.pieDashboardItem2.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension16
     });
     this.pieDashboardItem2.ShowCaption = true;
     this.pieDashboardItem2.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure6
     });
     //
     // pivotDashboardItem1
     //
     dimension17.DataMember = "card_col1";
     dimension18.DataMember = "card_col2";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension17,
         dimension18
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure7.DataMember    = "score_col1";
     measure7.Name          = "As-Is";
     measure7.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     measure8.DataMember    = "score_col2";
     measure8.Name          = "To-Be";
     measure8.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     dimension19.DataMember = "card_name";
     dimension20.DataMember = "stan_standard";
     dimension21.DataMember = "area_name";
     measure9.DataMember    = "Calculated Field 1";
     measure9.Expression    = "Max([score_col2]) - Max([score_col1])";
     measure9.Name          = "Advancement Opportunity";
     measure9.SummaryType   = DevExpress.DashboardCommon.SummaryType.Max;
     pivotWindowDefinition1.DefinitionMode = DevExpress.DashboardCommon.PivotWindowDefinitionMode.Rows;
     measure9.WindowDefinition             = pivotWindowDefinition1;
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure7, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(measure8, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension19, "DataItem6");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension17, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension18, "DataItem4");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension20, "DataItem7");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension21, "DataItem3");
     this.pivotDashboardItem1.DataItemRepository.Add(measure9, "DataItem8");
     this.pivotDashboardItem1.DataMember = "modified_felipe";
     this.pivotDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     pivotItemFormatRule1.ApplyToRow     = true;
     appearanceSettings1.AppearanceType  = DevExpress.DashboardCommon.FormatConditionAppearanceType.Red;
     formatConditionValue1.StyleSettings = appearanceSettings1;
     formatConditionValue1.Value1        = 1;
     pivotItemFormatRule1.Condition      = formatConditionValue1;
     pivotItemFormatRule1.DataItem       = measure8;
     pivotItemFormatRule1.Name           = "FormatRule 1";
     pivotItemFormatRule2.ApplyToColumn  = true;
     pivotItemFormatRule2.ApplyToRow     = true;
     appearanceSettings2.AppearanceType  = DevExpress.DashboardCommon.FormatConditionAppearanceType.Green;
     formatConditionValue2.StyleSettings = appearanceSettings2;
     formatConditionValue2.Value1        = 5;
     pivotItemFormatRule2.Condition      = formatConditionValue2;
     pivotItemFormatRule2.DataItem       = measure7;
     pivotItemFormatRule2.Name           = "FormatRule 2";
     pivotItemFormatRule3.ApplyToColumn  = true;
     pivotItemFormatRule3.ApplyToRow     = true;
     appearanceSettings3.AppearanceType  = DevExpress.DashboardCommon.FormatConditionAppearanceType.Green;
     formatConditionValue3.StyleSettings = appearanceSettings3;
     formatConditionValue3.Value1        = 5;
     pivotItemFormatRule3.Condition      = formatConditionValue3;
     pivotItemFormatRule3.DataItem       = measure8;
     pivotItemFormatRule3.Name           = "FormatRule 3";
     formatConditionValue4.Condition     = DevExpress.DashboardCommon.DashboardFormatCondition.Greater;
     iconSettings1.IconType = DevExpress.DashboardCommon.FormatConditionIconType.IndicatorGreenFlag;
     formatConditionValue4.StyleSettings        = iconSettings1;
     formatConditionValue4.Value1               = 0;
     pivotItemFormatRule4.Condition             = formatConditionValue4;
     pivotItemFormatRule4.DataItem              = measure9;
     pivotItemFormatRule4.IntersectionLevelMode = DevExpress.DashboardCommon.FormatConditionIntersectionLevelMode.AllLevels;
     pivotItemFormatRule4.Name = "FormatRule 4";
     this.pivotDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.PivotItemFormatRule[] {
         pivotItemFormatRule1,
         pivotItemFormatRule2,
         pivotItemFormatRule3,
         pivotItemFormatRule4
     });
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Pivot 1";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension21,
         dimension19,
         dimension20
     });
     this.pivotDashboardItem1.ShowCaption           = false;
     this.pivotDashboardItem1.ShowColumnGrandTotals = false;
     this.pivotDashboardItem1.ShowColumnTotals      = false;
     this.pivotDashboardItem1.ShowRowGrandTotals    = false;
     this.pivotDashboardItem1.ShowRowTotals         = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure7,
         measure8,
         measure9
     });
     //
     // dash_pro_profile
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.treeViewDashboardItem1,
         this.pivotDashboardItem1,
         this.pieDashboardItem1,
         this.pieDashboardItem2,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem1.Weight        = 22.46153846153846D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 77.538461538461533D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 42.476697736351532D;
     dashboardLayoutItem3.DashboardItem  = this.pieDashboardItem1;
     dashboardLayoutItem3.Weight         = 52.769230769230766D;
     dashboardLayoutItem4.DashboardItem  = this.pieDashboardItem2;
     dashboardLayoutItem4.Weight         = 47.230769230769234D;
     dashboardLayoutGroup4.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup4.DashboardItem = null;
     dashboardLayoutGroup4.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup4.Weight        = 57.523302263648468D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup3,
         dashboardLayoutGroup4
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 63.4765625D;
     dashboardLayoutItem5.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem5.Weight         = 36.5234375D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem5
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     dashboardParameter1.Description = "Project";
     dashboardParameter1.Name        = "projectID";
     dashboardParameter1.Type        = typeof(System.Guid);
     dashboardParameter1.Value       = new System.Guid("00000000-0000-0000-0000-000000000000");
     dashboardParameter1.Visible     = false;
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1
     });
     this.Title.ImageUrl = "https://rcxbox.readycert.net/Content/Images/logo.png";
     this.Title.Text     = "Business Process Profile";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension14)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension15)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension16)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension17)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension18)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension19)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension20)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension21)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension    dimension1    = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure      measure1      = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane    chartPane1    = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries simpleSeries1 = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.EntityFramework.EFConnectionParameters efConnectionParameters1 = new DevExpress.DataAccess.EntityFramework.EFConnectionParameters();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1    = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardEFDataSource1 = new DevExpress.DashboardCommon.DashboardEFDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardEFDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "HinhThucVanCHuyen";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember  = "DescriptionOfGoods";
     measure1.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.chartDashboardItem1.DataMember = "tbl_DMVanDon";
     this.chartDashboardItem1.DataSource = this.dashboardEFDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Biểu đồ thể hiện tình trnagj vận đơn";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel     = true;
     chartPane1.PrimaryAxisY.ShowGridLines           = true;
     chartPane1.PrimaryAxisY.TitleVisible            = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.SecondaryAxisY.ShowGridLines         = false;
     chartPane1.SecondaryAxisY.TitleVisible          = true;
     simpleSeries1.PointLabelOptions.ShowPointLabels = true;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardEFDataSource1
     //
     this.dashboardEFDataSource1.ComponentName    = "dashboardEFDataSource1";
     efConnectionParameters1.ConnectionString     = "";
     efConnectionParameters1.ConnectionStringName = "KhoaLuanTotNghiepEntities1";
     efConnectionParameters1.Source = typeof(KhoaLuanTotNghiep.KhoaLuanTotNghiepEntities1);
     this.dashboardEFDataSource1.ConnectionParameters = efConnectionParameters1;
     this.dashboardEFDataSource1.Name = "EF Data Source 1";
     //
     // TinhTraangVanDon
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardEFDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     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 = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardEFDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DataAccess.Sql.SelectQuery           selectQuery1          = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.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_Created_Weekly));
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource2 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).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");
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "CreatedDate";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.WeekOfMonth;
     dimension1.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     dimension2.DataMember = "KHMau";
     measure1.DataMember   = "SoPXN";
     measure1.SummaryType  = DevExpress.DashboardCommon.SummaryType.Count;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.chartDashboardItem1.DataMember = "tbl_PXN_Header";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource2;
     this.chartDashboardItem1.HiddenDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     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", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // Pro_Db_PXN_Created_Weekly
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     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 = "Phiếu nhận mẫu đã nhận hàng tuần";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Measure                   measure1                   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card                      card1                      = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.Dimension                 dimension1                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DataAccess.Sql.SelectQuery                selectQuery1               = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                     column1                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression1          = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                      table1                     = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                     column2                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression2          = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                     column3                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression3          = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                     column4                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression4          = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                     column5                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression5          = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.QueryParameter             queryParameter1            = new DevExpress.DataAccess.Sql.QueryParameter();
     DevExpress.DataAccess.Sql.SelectQuery                selectQuery2               = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                     column6                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression6          = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                      table2                     = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                     column7                    = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression7          = new DevExpress.DataAccess.Sql.ColumnExpression();
     System.ComponentModel.ComponentResourceManager       resources                  = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard1));
     DevExpress.DashboardCommon.Dimension                 dimension2                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                   measure2                   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane                 chartPane1                 = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries              simpleSeries1              = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension                 dimension3                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                   measure3                   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension                 dimension4                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup      dashboardLayoutGroup1      = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup      dashboardLayoutGroup2      = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem1       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem2       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem3       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter        dashboardParameter1        = new DevExpress.DashboardCommon.DashboardParameter();
     DevExpress.DashboardCommon.DynamicListLookUpSettings dynamicListLookUpSettings1 = new DevExpress.DashboardCommon.DynamicListLookUpSettings();
     this.cardDashboardItem1      = new DevExpress.DashboardCommon.CardDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.pivotDashboardItem1     = new DevExpress.DashboardCommon.PivotDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // cardDashboardItem1
     //
     measure1.DataMember = "ExtendedPrice";
     card1.AddDataItem("ActualValue", measure1);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension1.DataMember = "Customers.CompanyName";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.cardDashboardItem1.DataMember = "Invoices";
     this.cardDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.Name = "Cards 1";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.cardDashboardItem1.ShowCaption = false;
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "nwindConnection";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     columnExpression1.ColumnName = "CustomerID";
     table1.MetaSerializable      = "30|30|200|550";
     table1.Name                  = "Invoices";
     columnExpression1.Table      = table1;
     column1.Expression           = columnExpression1;
     columnExpression2.ColumnName = "Customers.CompanyName";
     columnExpression2.Table      = table1;
     column2.Expression           = columnExpression2;
     columnExpression3.ColumnName = "OrderDate";
     columnExpression3.Table      = table1;
     column3.Expression           = columnExpression3;
     columnExpression4.ColumnName = "ProductName";
     columnExpression4.Table      = table1;
     column4.Expression           = columnExpression4;
     columnExpression5.ColumnName = "ExtendedPrice";
     columnExpression5.Table      = table1;
     column5.Expression           = columnExpression5;
     selectQuery1.Columns.Add(column1);
     selectQuery1.Columns.Add(column2);
     selectQuery1.Columns.Add(column3);
     selectQuery1.Columns.Add(column4);
     selectQuery1.Columns.Add(column5);
     selectQuery1.FilterString      = "[Invoices.CustomerID] In (?customerIdParameter)";
     selectQuery1.GroupFilterString = "";
     selectQuery1.MetaSerializable  = "20|20|100|103";
     selectQuery1.Name     = "Invoices";
     queryParameter1.Name  = "customerIdParameter";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.customerIdParameter]", typeof(string));
     selectQuery1.Parameters.Add(queryParameter1);
     selectQuery1.Tables.Add(table1);
     columnExpression6.ColumnName = "CustomerID";
     table2.MetaSerializable      = "30|30|125|550";
     table2.Name                  = "Invoices";
     columnExpression6.Table      = table2;
     column6.Expression           = columnExpression6;
     columnExpression7.ColumnName = "Customers.CompanyName";
     columnExpression7.Table      = table2;
     column7.Expression           = columnExpression7;
     selectQuery2.Columns.Add(column6);
     selectQuery2.Columns.Add(column7);
     selectQuery2.Name = "Invoices_DashboardParameterSource";
     selectQuery2.Tables.Add(table2);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1,
         selectQuery2
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // chartDashboardItem1
     //
     dimension2.DataMember            = "OrderDate";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "ExtendedPrice";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataMember = "Invoices";
     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.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.SplineArea;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // pivotDashboardItem1
     //
     dimension3.DataMember = "OrderDate";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember   = "ExtendedPrice";
     dimension4.DataMember = "ProductName";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2");
     this.pivotDashboardItem1.DataMember = "Invoices";
     this.pivotDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.Name = "Pivot 1";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.pivotDashboardItem1.ShowCaption = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3
     });
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.cardDashboardItem1,
         this.chartDashboardItem1,
         this.pivotDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem1.Weight        = 24.041811846689896D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 75.9581881533101D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 56.71641791044776D;
     dashboardLayoutItem3.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem3.Weight         = 43.28358208955224D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     dashboardParameter1.AllowMultiselect      = true;
     dashboardParameter1.Description           = "Select companies:";
     dynamicListLookUpSettings1.DataMember     = "Invoices_DashboardParameterSource";
     dynamicListLookUpSettings1.DataSourceName = "dashboardSqlDataSource1";
     dynamicListLookUpSettings1.DisplayMember  = "Customers.CompanyName";
     dynamicListLookUpSettings1.ValueMember    = "CustomerID";
     dashboardParameter1.LookUpSettings        = dynamicListLookUpSettings1;
     dashboardParameter1.Name  = "customerIdParameter";
     dashboardParameter1.Type  = typeof(string);
     dashboardParameter1.Value = new object[] {
         ((object)("ALFKI"))
     };
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1
     });
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.nwindDataSet1              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.pivotDashboardItem1        = new DevExpress.DashboardCommon.PivotDashboardItem();
     this.nwindDataSet2              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.nwindDataSet3              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.salesPersonTableAdapter1   = new Dashboard_UnderlyingDataWin.nwindDataSetTableAdapters.SalesPersonTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Sales Person";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Extended Price";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // nwindDataSet1
     //
     this.nwindDataSet1.DataSetName             = "nwindDataSet";
     this.nwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "OrderDate";
     dimension2.Name       = "Order Date";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "Extended Price";
     measure2.Name       = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // pivotDashboardItem1
     //
     this.pivotDashboardItem1.AutoExpandRowGroups = true;
     dimension3.DataMember = "OrderDate";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember   = "Extended Price";
     dimension4.DataMember = "CategoryName";
     dimension5.DataMember = "ProductName";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.pivotDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Pivot 1";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4,
         dimension5
     });
     this.pivotDashboardItem1.ShowCaption = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3
     });
     //
     // nwindDataSet2
     //
     this.nwindDataSet2.DataSetName             = "nwindDataSet";
     this.nwindDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataMember    = "SalesPerson";
     this.dashboardObjectDataSource1.DataSource    = this.nwindDataSet3;
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // nwindDataSet3
     //
     this.nwindDataSet3.DataSetName             = "nwindDataSet";
     this.nwindDataSet3.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // salesPersonTableAdapter1
     //
     this.salesPersonTableAdapter1.ClearBeforeFill = true;
     //
     // SalesDashboard
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.pivotDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 45.811965811965813D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 54.188034188034187D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 31.432973805855163D;
     dashboardLayoutItem3.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem3.Weight         = 68.567026194144844D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot        = dashboardLayoutGroup1;
     this.Title.Text        = "Dashboard";
     this.Title.Visible     = false;
     this.DashboardLoading += new System.EventHandler(this.SalesDashboard_DashboardLoading);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 13
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.Dimension            dimension2            = 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.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries3         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(Pro_Db_OFThisWeek_Chart));
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "DT_DEB";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.DataMember            = "CD_MAT";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "QT_MVMT";
     measure1.Name       = "Manf. QTY.";
     measure1.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure1.NumericFormat.IncludeGroupSeparator = true;
     measure1.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure2.DataMember         = "QT_LOT";
     measure2.Name = "Planned QTY.";
     measure2.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure2.NumericFormat.IncludeGroupSeparator = true;
     measure2.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     measure3.DataMember         = "TOL_QTY_PAK";
     measure3.Name = "Pakaged QTY.";
     measure3.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure3.NumericFormat.IncludeGroupSeparator = true;
     measure3.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure3, "DataItem4");
     this.chartDashboardItem1.DataMember = "Query";
     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.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries1.PointLabelOptions.ShowPointLabels   = true;
     simpleSeries1.AddDataItem("Value", measure2);
     simpleSeries2.PointLabelOptions.Position          = DevExpress.DashboardCommon.PointLabelPosition.Inside;
     simpleSeries2.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries2.PointLabelOptions.ShowPointLabels   = true;
     simpleSeries2.AddDataItem("Value", measure1);
     simpleSeries3.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries3.PointLabelOptions.ShowPointLabels   = true;
     simpleSeries3.AddDataItem("Value", measure3);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1,
         simpleSeries2,
         simpleSeries3
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "Production.Properties.Settings.SYNC_NUTRICIELConnectionString";
     this.dashboardSqlDataSource1.Name           = "OF This Week Chart";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // Pro_Db_OFThisWeek_Chart
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     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 = "OF during this week";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).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.DashboardCommon.Dimension                dimension1                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                  measure1                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane                chartPane1                = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries             simpleSeries1             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension                dimension2                = 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.FixedDateTimePeriodLimit fixedDateTimePeriodLimit1 = new DevExpress.DashboardCommon.FixedDateTimePeriodLimit();
     DevExpress.DashboardCommon.FixedDateTimePeriodLimit fixedDateTimePeriodLimit2 = new DevExpress.DashboardCommon.FixedDateTimePeriodLimit();
     System.ComponentModel.ComponentResourceManager      resources                 = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard1));
     DevExpress.DataAccess.Excel.ExcelWorksheetSettings  excelWorksheetSettings1   = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings();
     DevExpress.DataAccess.Excel.ExcelSourceOptions      excelSourceOptions1       = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1);
     DevExpress.DashboardCommon.DashboardLayoutGroup     dashboardLayoutGroup1     = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup     dashboardLayoutGroup2     = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem      dashboardLayoutItem1      = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem      dashboardLayoutItem2      = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1       = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dateFilterDashboardItem1  = new DevExpress.DashboardCommon.DateFilterDashboardItem();
     this.dashboardItemGroup1       = new DevExpress.DashboardCommon.DashboardItemGroup();
     this.dashboardExcelDataSource1 = new DevExpress.DashboardCommon.DashboardExcelDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardItemGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "OrderDate";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.Line;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ParentContainer = this.dashboardItemGroup1;
     this.chartDashboardItem1.ShowCaption     = false;
     //
     // dateFilterDashboardItem1
     //
     this.dateFilterDashboardItem1.ArrangementMode = DevExpress.DashboardCommon.DateFilterArrangementMode.Vertical;
     this.dateFilterDashboardItem1.ComponentName   = "dateFilterDashboardItem1";
     dimension2.DataMember            = "OrderDate";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.UniqueId = "orderDateId";
     this.dateFilterDashboardItem1.DataItemRepository.Clear();
     this.dateFilterDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.dateFilterDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     dateTimePeriod1.End               = flowDateTimePeriodLimit1;
     dateTimePeriod1.Name              = "Last Year";
     flowDateTimePeriodLimit2.Offset   = -1;
     dateTimePeriod1.Start             = flowDateTimePeriodLimit2;
     flowDateTimePeriodLimit3.Interval = DevExpress.DashboardCommon.DateTimeInterval.Day;
     flowDateTimePeriodLimit3.Offset   = 8;
     dateTimePeriod2.End               = flowDateTimePeriodLimit3;
     dateTimePeriod2.Name              = "Next Seven Days";
     flowDateTimePeriodLimit4.Interval = DevExpress.DashboardCommon.DateTimeInterval.Day;
     flowDateTimePeriodLimit4.Offset   = 1;
     dateTimePeriod2.Start             = flowDateTimePeriodLimit4;
     flowDateTimePeriodLimit5.Interval = DevExpress.DashboardCommon.DateTimeInterval.Day;
     flowDateTimePeriodLimit5.Offset   = 1;
     dateTimePeriod3.End               = flowDateTimePeriodLimit5;
     dateTimePeriod3.Name              = "Month-to-Date";
     flowDateTimePeriodLimit6.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod3.Start             = flowDateTimePeriodLimit6;
     fixedDateTimePeriodLimit1.Date    = new System.DateTime(2019, 1, 18, 0, 0, 0, 0);
     dateTimePeriod4.End               = fixedDateTimePeriodLimit1;
     dateTimePeriod4.Name              = "Jul 18, 2018 - Jan 18, 2019";
     fixedDateTimePeriodLimit2.Date    = new System.DateTime(2018, 7, 18, 0, 0, 0, 0);
     dateTimePeriod4.Start             = fixedDateTimePeriodLimit2;
     this.dateFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] {
         dateTimePeriod1,
         dateTimePeriod2,
         dateTimePeriod3,
         dateTimePeriod4
     });
     this.dateFilterDashboardItem1.Dimension       = dimension2;
     this.dateFilterDashboardItem1.Name            = "";
     this.dateFilterDashboardItem1.ParentContainer = this.dashboardItemGroup1;
     this.dateFilterDashboardItem1.ShowCaption     = false;
     //
     // dashboardItemGroup1
     //
     this.dashboardItemGroup1.ComponentName = "dashboardItemGroup1";
     this.dashboardItemGroup1.InteractivityOptions.IgnoreMasterFilters = true;
     this.dashboardItemGroup1.InteractivityOptions.IsMasterFilter      = false;
     this.dashboardItemGroup1.Name        = "Sales by Date";
     this.dashboardItemGroup1.ShowCaption = true;
     //
     // dashboardExcelDataSource1
     //
     this.dashboardExcelDataSource1.ComponentName            = "dashboardExcelDataSource1";
     this.dashboardExcelDataSource1.FileName                 = "SalesPerson.xlsx";
     this.dashboardExcelDataSource1.Name                     = "Excel Data Source 1";
     this.dashboardExcelDataSource1.ResultSchemaSerializable = resources.GetString("dashboardExcelDataSource1.ResultSchemaSerializable");
     excelWorksheetSettings1.CellRange            = null;
     excelWorksheetSettings1.WorksheetName        = "Data";
     excelSourceOptions1.ImportSettings           = excelWorksheetSettings1;
     this.dashboardExcelDataSource1.SourceOptions = excelSourceOptions1;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Groups.AddRange(new DevExpress.DashboardCommon.DashboardItemGroup[] {
         this.dashboardItemGroup1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1,
         this.dateFilterDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.dateFilterDashboardItem1;
     dashboardLayoutItem1.Weight        = 30D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 70D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = this.dashboardItemGroup1;
     dashboardLayoutGroup2.Weight        = 100D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardItemGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension               dimension1                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure1                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure2                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod1           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit1  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit2  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod2           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit3  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit4  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod3           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit5  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit6  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod4           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit7  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit8  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod5           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit9  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit10 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod6           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit11 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit12 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod7           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit13 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit14 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries1             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries2             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.CalculatedField         calculatedField1          = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters();
     DevExpress.DataAccess.Sql.SelectQuery              selectQuery1             = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                   column1                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression1        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table1                   = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column2                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression2        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table2                   = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column3                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression3        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column4                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression4        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column5                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression5        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column6                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression6        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column7                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression7        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column8                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression8        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.AllColumns               allColumns1              = new DevExpress.DataAccess.Sql.AllColumns();
     DevExpress.DataAccess.Sql.AllColumns               allColumns2              = new DevExpress.DataAccess.Sql.AllColumns();
     DevExpress.DataAccess.Sql.Join                     join1                    = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo       relationColumnInfo1      = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     System.ComponentModel.ComponentResourceManager     resources                = new System.ComponentModel.ComponentResourceManager(typeof(Report_DTBanHang));
     DevExpress.DashboardCommon.Dimension               dimension2               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal1         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Dimension               dimension3               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn2     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure3                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn1       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal2         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule1      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet1 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo1               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings1            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo2               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings2            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo3               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings3            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo4               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings4            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension4               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn3     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal3         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Measure                 measure4                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn2       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule2      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet2 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo5               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings5            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo6               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings6            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo7               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings7            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo8               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings8            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension5               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn4     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure5                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn3       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule3      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet3 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo9               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings9            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo10              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings10           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo11              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings11           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo12              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings12           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup1    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup2    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup3    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem3     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem4     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.rangeFilterDashboardItem1 = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardSqlDataSource1   = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gridDashboardItem1        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem2        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem3        = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // rangeFilterDashboardItem1
     //
     dimension1.DataMember                        = "DoanhThu_ngaytaodt";
     dimension1.DateTimeGroupInterval             = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     this.rangeFilterDashboardItem1.Argument      = dimension1;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     measure1.DataMember  = "tong dt";
     measure2.DataMember  = "DoanhThuTheoCa_tenCa";
     measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.rangeFilterDashboardItem1.DataMember = "DoanhThu";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     flowDateTimePeriodLimit1.Offset           = 1;
     dateTimePeriod1.End                = flowDateTimePeriodLimit1;
     dateTimePeriod1.Name               = "Năm Hiện Tại";
     dateTimePeriod1.Start              = flowDateTimePeriodLimit2;
     flowDateTimePeriodLimit3.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit3.Offset    = 1;
     dateTimePeriod2.End                = flowDateTimePeriodLimit3;
     dateTimePeriod2.Name               = "Tháng Hiện Tại";
     flowDateTimePeriodLimit4.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod2.Start              = flowDateTimePeriodLimit4;
     dateTimePeriod3.End                = flowDateTimePeriodLimit5;
     dateTimePeriod3.Name               = "Năm Trước";
     flowDateTimePeriodLimit6.Offset    = -1;
     dateTimePeriod3.Start              = flowDateTimePeriodLimit6;
     flowDateTimePeriodLimit7.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod4.End                = flowDateTimePeriodLimit7;
     dateTimePeriod4.Name               = "Tháng trước";
     flowDateTimePeriodLimit8.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit8.Offset    = -1;
     dateTimePeriod4.Start              = flowDateTimePeriodLimit8;
     flowDateTimePeriodLimit9.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod5.End                = flowDateTimePeriodLimit9;
     dateTimePeriod5.Name               = "3 tháng trước";
     flowDateTimePeriodLimit10.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit10.Offset   = -3;
     dateTimePeriod5.Start              = flowDateTimePeriodLimit10;
     flowDateTimePeriodLimit11.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod6.End                = flowDateTimePeriodLimit11;
     dateTimePeriod6.Name               = "6 tháng trước";
     flowDateTimePeriodLimit12.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit12.Offset   = -6;
     dateTimePeriod6.Start              = flowDateTimePeriodLimit12;
     flowDateTimePeriodLimit13.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod7.End                = flowDateTimePeriodLimit13;
     dateTimePeriod7.Name               = "12 tháng trước";
     flowDateTimePeriodLimit14.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit14.Offset   = -12;
     dateTimePeriod7.Start              = flowDateTimePeriodLimit14;
     this.rangeFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] {
         dateTimePeriod1,
         dateTimePeriod2,
         dateTimePeriod3,
         dateTimePeriod4,
         dateTimePeriod5,
         dateTimePeriod6,
         dateTimePeriod7
     });
     this.rangeFilterDashboardItem1.DefaultDateTimePeriodName = "Năm Hiện Tại";
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Bộ Lọc Doanh Thu theo năm tháng";
     simpleSeries1.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries1.AddDataItem("Value", measure2);
     simpleSeries2.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries2.AddDataItem("Value", measure1);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries1,
         simpleSeries2
     });
     this.rangeFilterDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "DoanhThu";
     calculatedField1.Expression = "[DoanhThuTheoCa_tiendelai] + [DoanhThuTheoCa_doanhthutheoca] + [DoanhThuTheoCa_do" +
                                   "anhthukhac]";
     calculatedField1.Name = "tong dt";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1
     });
     this.dashboardSqlDataSource1.ComponentName        = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName       = "localhost_BaoCaoThuChi_Connection";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows;
     msSqlConnectionParameters1.DatabaseName           = "BaoCaoThuChi";
     msSqlConnectionParameters1.ServerName             = "localhost";
     this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource1.Name = "SQL Data Source 1";
     columnExpression1.ColumnName      = "ngaytaodt";
     table1.MetaSerializable           = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"110\" />";
     table1.Name                  = "DoanhThu";
     columnExpression1.Table      = table1;
     column1.Expression           = columnExpression1;
     columnExpression2.ColumnName = "tenCa";
     table2.MetaSerializable      = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"194\" />";
     table2.Name                  = "DoanhThuTheoCa";
     columnExpression2.Table      = table2;
     column2.Expression           = columnExpression2;
     column3.Alias                = "DoanhThuTheoCa_doanhthuID";
     columnExpression3.ColumnName = "doanhthuID";
     columnExpression3.Table      = table2;
     column3.Expression           = columnExpression3;
     columnExpression4.ColumnName = "tiendelai";
     columnExpression4.Table      = table2;
     column4.Expression           = columnExpression4;
     columnExpression5.ColumnName = "doanhthutheoca";
     columnExpression5.Table      = table2;
     column5.Expression           = columnExpression5;
     columnExpression6.ColumnName = "doanhthukhac";
     columnExpression6.Table      = table2;
     column6.Expression           = columnExpression6;
     columnExpression7.ColumnName = "doanhthuID";
     columnExpression7.Table      = table1;
     column7.Expression           = columnExpression7;
     columnExpression8.ColumnName = "caID";
     columnExpression8.Table      = table2;
     column8.Expression           = columnExpression8;
     allColumns1.Table            = table2;
     allColumns2.Table            = table1;
     selectQuery1.Columns.Add(column1);
     selectQuery1.Columns.Add(column2);
     selectQuery1.Columns.Add(column3);
     selectQuery1.Columns.Add(column4);
     selectQuery1.Columns.Add(column5);
     selectQuery1.Columns.Add(column6);
     selectQuery1.Columns.Add(column7);
     selectQuery1.Columns.Add(column8);
     selectQuery1.Columns.Add(allColumns1);
     selectQuery1.Columns.Add(allColumns2);
     selectQuery1.Name = "DoanhThu";
     relationColumnInfo1.NestedKeyColumn = "doanhthuID";
     relationColumnInfo1.ParentKeyColumn = "doanhthuID";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table2);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gridDashboardItem1
     //
     dimension2.DataMember            = "DoanhThu_ngaytaodt";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.Name                 = "Ngày tạo Doanh Thu";
     dimension2.SortOrder            = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn1.FixedWidth = 57.491674693821388D;
     gridDimensionColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal1
     });
     gridDimensionColumn1.Weight    = 97.358900144717822D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     dimension3.DataMember          = "tenCa";
     dimension3.Name                = "Tên Ca";
     gridDimensionColumn2.Weight    = 26.049204052098414D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.FitToContent;
     gridDimensionColumn2.AddDataItem("Dimension", dimension3);
     measure3.DataMember = "tong dt";
     measure3.NumericFormat.CurrencyCultureName = "vi-VN";
     measure3.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn1.Name    = "Tổng";
     gridColumnTotal2.TotalType = DevExpress.DashboardCommon.GridColumnTotalType.Sum;
     gridMeasureColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal2
     });
     gridMeasureColumn1.Weight    = 101.59189580318382D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure3);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure3, "DataItem2");
     this.gridDashboardItem1.DataMember = "DoanhThu";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     iconSettings1.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo1.StyleSettings           = iconSettings1;
     rangeInfo1.Value         = 0D;
     iconSettings2.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo2.StyleSettings = iconSettings2;
     rangeInfo2.Value         = 25D;
     iconSettings3.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo3.StyleSettings = iconSettings3;
     rangeInfo3.Value         = 50D;
     iconSettings4.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo4.StyleSettings = iconSettings4;
     rangeInfo4.Value         = 75D;
     formatConditionRangeSet1.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo1,
         rangeInfo2,
         rangeInfo3,
         rangeInfo4
     });
     formatConditionRangeSet1.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule1.Condition      = formatConditionRangeSet1;
     gridItemFormatRule1.DataItem       = measure3;
     gridItemFormatRule1.Name           = "FormatRule 1";
     this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule1
     });
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Chi tiết theo ngày";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem2
     //
     dimension4.DataMember            = "DoanhThu_ngaytaodt";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     dimension4.Name           = "Ngày tạo Doanh Thu (Month-Year)";
     dimension4.SortOrder      = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn3.Name = "Tháng Năm";
     gridDimensionColumn3.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal3
     });
     gridDimensionColumn3.Weight    = 78.468208092485554D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension4);
     measure4.DataMember = "tong dt";
     measure4.Name       = "Tổng";
     measure4.NumericFormat.CurrencyCultureName = "vi-VN";
     measure4.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn2.Weight    = 71.531791907514446D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure4);
     this.gridDashboardItem2.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn3,
         gridMeasureColumn2
     });
     this.gridDashboardItem2.ComponentName = "gridDashboardItem2";
     this.gridDashboardItem2.DataItemRepository.Clear();
     this.gridDashboardItem2.DataItemRepository.Add(dimension4, "DataItem0");
     this.gridDashboardItem2.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem2.DataMember = "DoanhThu";
     this.gridDashboardItem2.DataSource = this.dashboardSqlDataSource1;
     iconSettings5.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo5.StyleSettings           = iconSettings5;
     rangeInfo5.Value         = 0D;
     iconSettings6.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo6.StyleSettings = iconSettings6;
     rangeInfo6.Value         = 25D;
     iconSettings7.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo7.StyleSettings = iconSettings7;
     rangeInfo7.Value         = 50D;
     iconSettings8.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo8.StyleSettings = iconSettings8;
     rangeInfo8.Value         = 75D;
     formatConditionRangeSet2.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo5,
         rangeInfo6,
         rangeInfo7,
         rangeInfo8
     });
     formatConditionRangeSet2.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule2.Condition      = formatConditionRangeSet2;
     gridItemFormatRule2.DataItem       = measure4;
     gridItemFormatRule2.Name           = "FormatRule 1";
     this.gridDashboardItem2.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule2
     });
     this.gridDashboardItem2.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem2.Name        = "Tổng theo Tháng";
     this.gridDashboardItem2.ShowCaption = true;
     //
     // gridDashboardItem3
     //
     dimension5.DataMember          = "DoanhThu_ngaytaodt";
     gridDimensionColumn4.Name      = "Năm";
     gridDimensionColumn4.Weight    = 95.717344753747327D;
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension5);
     measure5.DataMember = "tong dt";
     measure5.NumericFormat.CurrencyCultureName = "vi-VN";
     measure5.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn3.Name      = "Tổng";
     gridMeasureColumn3.Weight    = 54.282655246252673D;
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure5);
     this.gridDashboardItem3.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn4,
         gridMeasureColumn3
     });
     this.gridDashboardItem3.ComponentName = "gridDashboardItem3";
     this.gridDashboardItem3.DataItemRepository.Clear();
     this.gridDashboardItem3.DataItemRepository.Add(dimension5, "DataItem0");
     this.gridDashboardItem3.DataItemRepository.Add(measure5, "DataItem1");
     this.gridDashboardItem3.DataMember = "DoanhThu";
     this.gridDashboardItem3.DataSource = this.dashboardSqlDataSource1;
     iconSettings9.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo9.StyleSettings           = iconSettings9;
     rangeInfo9.Value          = 0D;
     iconSettings10.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo10.StyleSettings = iconSettings10;
     rangeInfo10.Value         = 25D;
     iconSettings11.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo11.StyleSettings = iconSettings11;
     rangeInfo11.Value         = 50D;
     iconSettings12.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo12.StyleSettings = iconSettings12;
     rangeInfo12.Value         = 75D;
     formatConditionRangeSet3.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo9,
         rangeInfo10,
         rangeInfo11,
         rangeInfo12
     });
     formatConditionRangeSet3.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule3.Condition      = formatConditionRangeSet3;
     gridItemFormatRule3.DataItem       = measure5;
     gridItemFormatRule3.Name           = "FormatRule 1";
     this.gridDashboardItem3.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule3
     });
     this.gridDashboardItem3.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem3.Name        = "Tổng theo Năm";
     this.gridDashboardItem3.ShowCaption = true;
     //
     // Report_DTBanHang
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.rangeFilterDashboardItem1,
         this.gridDashboardItem2,
         this.gridDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.rangeFilterDashboardItem1;
     dashboardLayoutItem1.Weight        = 40.465116279069768D;
     dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem2.Weight        = 65.9963436928702D;
     dashboardLayoutItem3.DashboardItem = this.gridDashboardItem2;
     dashboardLayoutItem3.Weight        = 50.520833333333336D;
     dashboardLayoutItem4.DashboardItem = this.gridDashboardItem3;
     dashboardLayoutItem4.Weight        = 49.479166666666664D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 34.0036563071298D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 59.534883720930232D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension               dimension1                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure1                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod1           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit1  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit2  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod2           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit3  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit4  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod3           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit5  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit6  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod4           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit7  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit8  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod5           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit9  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit10 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod6           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit11 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit12 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod7           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit13 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit14 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries1             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters();
     DevExpress.DataAccess.Sql.SelectQuery              selectQuery1       = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                   column1            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression1  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table1             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column2            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression2  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table2             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column3            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression3  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column4            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression4  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column5            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression5  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column6            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression6  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column7            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression7  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column8            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression8  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table3             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column9            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression9  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column10           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Join                     join1 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo       relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.Join                     join2 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo       relationColumnInfo2      = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     System.ComponentModel.ComponentResourceManager     resources                = new System.ComponentModel.ComponentResourceManager(typeof(Report_TienConLaiCC));
     DevExpress.DashboardCommon.Dimension               dimension2               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal1         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Dimension               dimension3               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn2     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure2                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn1       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule1      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet1 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo1               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings1            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo2               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings2            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo3               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings3            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo4               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings4            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension4               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn3     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal2         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Dimension               dimension5               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn4     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure3                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn2       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule2      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet2 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo5               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings5            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo6               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings6            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo7               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings7            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension6               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn5     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure4                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn3       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule3      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet3 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo8               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings8            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo9               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings9            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo10              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings10           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo11              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings11           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup1    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup2    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup3    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem3     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem4     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.rangeFilterDashboardItem1 = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardSqlDataSource1   = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gridDashboardItem1        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem2        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem3        = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // rangeFilterDashboardItem1
     //
     dimension1.DataMember = "ngaytaodt";
     dimension1.DateTimeFormat.ExactDateFormat = DevExpress.DashboardCommon.ExactDateFormat.Month;
     dimension1.DateTimeGroupInterval          = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     measure1.DataMember                          = "tienconlaitheoca";
     dimension1.TopNOptions.Measure               = measure1;
     this.rangeFilterDashboardItem1.Argument      = dimension1;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.rangeFilterDashboardItem1.DataMember = "DoanhThu";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     flowDateTimePeriodLimit1.Interval         = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit1.Offset           = 1;
     dateTimePeriod1.End  = flowDateTimePeriodLimit1;
     dateTimePeriod1.Name = "This Month";
     flowDateTimePeriodLimit2.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod1.Start             = flowDateTimePeriodLimit2;
     flowDateTimePeriodLimit3.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod2.End  = flowDateTimePeriodLimit3;
     dateTimePeriod2.Name = "Last Month";
     flowDateTimePeriodLimit4.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit4.Offset   = -1;
     dateTimePeriod2.Start             = flowDateTimePeriodLimit4;
     flowDateTimePeriodLimit5.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod3.End  = flowDateTimePeriodLimit5;
     dateTimePeriod3.Name = "Last 3 Months";
     flowDateTimePeriodLimit6.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit6.Offset   = -3;
     dateTimePeriod3.Start             = flowDateTimePeriodLimit6;
     flowDateTimePeriodLimit7.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod4.End  = flowDateTimePeriodLimit7;
     dateTimePeriod4.Name = "Last 6 Months";
     flowDateTimePeriodLimit8.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit8.Offset   = -6;
     dateTimePeriod4.Start             = flowDateTimePeriodLimit8;
     flowDateTimePeriodLimit9.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod5.End  = flowDateTimePeriodLimit9;
     dateTimePeriod5.Name = "Last 12 Months";
     flowDateTimePeriodLimit10.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit10.Offset   = -12;
     dateTimePeriod5.Start            = flowDateTimePeriodLimit10;
     dateTimePeriod6.End              = flowDateTimePeriodLimit11;
     dateTimePeriod6.Name             = "Last Year";
     flowDateTimePeriodLimit12.Offset = -1;
     dateTimePeriod6.Start            = flowDateTimePeriodLimit12;
     dateTimePeriod7.End              = flowDateTimePeriodLimit13;
     dateTimePeriod7.Name             = "Last 2 Years";
     flowDateTimePeriodLimit14.Offset = -2;
     dateTimePeriod7.Start            = flowDateTimePeriodLimit14;
     this.rangeFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] {
         dateTimePeriod1,
         dateTimePeriod2,
         dateTimePeriod3,
         dateTimePeriod4,
         dateTimePeriod5,
         dateTimePeriod6,
         dateTimePeriod7
     });
     this.rangeFilterDashboardItem1.DefaultDateTimePeriodName = "This Month";
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Filter theo tháng năm";
     simpleSeries1.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries1.AddDataItem("Value", measure1);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries1
     });
     this.rangeFilterDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName        = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName       = "localhost_BaoCaoThuChi_Connection";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows;
     msSqlConnectionParameters1.DatabaseName           = "BaoCaoThuChi";
     msSqlConnectionParameters1.ServerName             = ".";
     this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource1.Name = "SQL Data Source 1";
     columnExpression1.ColumnName      = "ngaytaodt";
     table1.MetaSerializable           = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"110\" />";
     table1.Name                   = "DoanhThu";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "caID";
     table2.MetaSerializable       = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"194\" />";
     table2.Name                   = "DoanhThuTheoCa";
     columnExpression2.Table       = table2;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "tenCa";
     columnExpression3.Table       = table2;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "tiendelai";
     columnExpression4.Table       = table2;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "doanhthutheoca";
     columnExpression5.Table       = table2;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "doanhthukhac";
     columnExpression6.Table       = table2;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "doanhthuID";
     columnExpression7.Table       = table1;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "tienconlaitheoca";
     table3.MetaSerializable       = "<Meta X=\"340\" Y=\"30\" Width=\"125\" Height=\"131\" />";
     table3.Name                   = "TienConLaiTheoCa";
     columnExpression8.Table       = table3;
     column8.Expression            = columnExpression8;
     column9.Alias                 = "TienConLaiTheoCa_caID";
     columnExpression9.ColumnName  = "caID";
     columnExpression9.Table       = table3;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "tlID";
     columnExpression10.Table      = table3;
     column10.Expression           = columnExpression10;
     selectQuery1.Columns.Add(column1);
     selectQuery1.Columns.Add(column2);
     selectQuery1.Columns.Add(column3);
     selectQuery1.Columns.Add(column4);
     selectQuery1.Columns.Add(column5);
     selectQuery1.Columns.Add(column6);
     selectQuery1.Columns.Add(column7);
     selectQuery1.Columns.Add(column8);
     selectQuery1.Columns.Add(column9);
     selectQuery1.Columns.Add(column10);
     selectQuery1.Name = "DoanhThu";
     relationColumnInfo1.NestedKeyColumn = "doanhthuID";
     relationColumnInfo1.ParentKeyColumn = "doanhthuID";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     relationColumnInfo2.NestedKeyColumn = "caID";
     relationColumnInfo2.ParentKeyColumn = "caID";
     join2.KeyColumns.Add(relationColumnInfo2);
     join2.Nested = table3;
     join2.Parent = table2;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Relations.Add(join2);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table2);
     selectQuery1.Tables.Add(table3);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gridDashboardItem1
     //
     dimension2.DataMember            = "ngaytaodt";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn1.Name        = "Ngày";
     gridDimensionColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal1
     });
     gridDimensionColumn1.Weight    = 51.772793053545584D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     dimension3.DataMember          = "tenCa";
     gridDimensionColumn2.Name      = "Tên Ca";
     gridDimensionColumn2.Weight    = 59.261939218523878D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension3);
     measure2.DataMember = "tienconlaitheoca";
     measure2.NumericFormat.CurrencyCultureName = "vi-VN";
     measure2.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn1.Name      = "Số Tiền Cuối Ca";
     gridMeasureColumn1.Weight    = 113.96526772793054D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.gridDashboardItem1.DataMember = "DoanhThu";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     iconSettings1.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo1.StyleSettings           = iconSettings1;
     rangeInfo1.Value         = 0D;
     iconSettings2.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo2.StyleSettings = iconSettings2;
     rangeInfo2.Value         = 25D;
     iconSettings3.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo3.StyleSettings = iconSettings3;
     rangeInfo3.Value         = 50D;
     iconSettings4.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo4.StyleSettings = iconSettings4;
     rangeInfo4.Value         = 75D;
     formatConditionRangeSet1.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo1,
         rangeInfo2,
         rangeInfo3,
         rangeInfo4
     });
     formatConditionRangeSet1.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule1.Condition      = formatConditionRangeSet1;
     gridItemFormatRule1.DataItem       = measure2;
     gridItemFormatRule1.Name           = "FormatRule 1";
     this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule1
     });
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Chi tiết theo ngày";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem2
     //
     dimension4.DataMember            = "ngaytaodt";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     gridDimensionColumn3.Name        = "Tháng Năm";
     gridDimensionColumn3.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal2
     });
     gridDimensionColumn3.Weight    = 60.910404624277454D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension4);
     dimension5.DataMember          = "tenCa";
     gridDimensionColumn4.Name      = "Tên Ca";
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension5);
     measure3.DataMember = "tienconlaitheoca";
     measure3.NumericFormat.CurrencyCultureName = "vi-VN";
     measure3.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn2.Name      = "Tổng";
     gridMeasureColumn2.Weight    = 89.089595375722539D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure3);
     this.gridDashboardItem2.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn3,
         gridDimensionColumn4,
         gridMeasureColumn2
     });
     this.gridDashboardItem2.ComponentName = "gridDashboardItem2";
     this.gridDashboardItem2.DataItemRepository.Clear();
     this.gridDashboardItem2.DataItemRepository.Add(dimension4, "DataItem0");
     this.gridDashboardItem2.DataItemRepository.Add(measure3, "DataItem1");
     this.gridDashboardItem2.DataItemRepository.Add(dimension5, "DataItem2");
     this.gridDashboardItem2.DataMember = "DoanhThu";
     this.gridDashboardItem2.DataSource = this.dashboardSqlDataSource1;
     iconSettings5.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo5.StyleSettings           = iconSettings5;
     rangeInfo5.Value         = 0D;
     iconSettings6.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowSideArrow;
     rangeInfo6.StyleSettings = iconSettings6;
     rangeInfo6.Value         = 33D;
     iconSettings7.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo7.StyleSettings = iconSettings7;
     rangeInfo7.Value         = 67D;
     formatConditionRangeSet2.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo5,
         rangeInfo6,
         rangeInfo7
     });
     formatConditionRangeSet2.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule2.Condition      = formatConditionRangeSet2;
     gridItemFormatRule2.DataItem       = measure3;
     gridItemFormatRule2.Name           = "FormatRule 1";
     this.gridDashboardItem2.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule2
     });
     this.gridDashboardItem2.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem2.Name        = "Tổng theo tháng";
     this.gridDashboardItem2.ShowCaption = true;
     //
     // gridDashboardItem3
     //
     dimension6.DataMember          = "ngaytaodt";
     gridDimensionColumn5.Name      = "Năm";
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension6);
     measure4.DataMember = "tienconlaitheoca";
     measure4.NumericFormat.CurrencyCultureName = "vi-VN";
     measure4.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn3.Name      = "Tổng";
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure4);
     this.gridDashboardItem3.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn5,
         gridMeasureColumn3
     });
     this.gridDashboardItem3.ComponentName = "gridDashboardItem3";
     this.gridDashboardItem3.DataItemRepository.Clear();
     this.gridDashboardItem3.DataItemRepository.Add(dimension6, "DataItem0");
     this.gridDashboardItem3.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem3.DataMember = "DoanhThu";
     this.gridDashboardItem3.DataSource = this.dashboardSqlDataSource1;
     iconSettings8.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo8.StyleSettings           = iconSettings8;
     rangeInfo8.Value          = 0D;
     iconSettings9.IconType    = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo9.StyleSettings  = iconSettings9;
     rangeInfo9.Value          = 25D;
     iconSettings10.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo10.StyleSettings = iconSettings10;
     rangeInfo10.Value         = 50D;
     iconSettings11.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo11.StyleSettings = iconSettings11;
     rangeInfo11.Value         = 75D;
     formatConditionRangeSet3.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo8,
         rangeInfo9,
         rangeInfo10,
         rangeInfo11
     });
     formatConditionRangeSet3.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule3.Condition      = formatConditionRangeSet3;
     gridItemFormatRule3.DataItem       = measure4;
     gridItemFormatRule3.Name           = "FormatRule 1";
     this.gridDashboardItem3.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule3
     });
     this.gridDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem3.Name        = "Tổng theo Năm";
     this.gridDashboardItem3.ShowCaption = true;
     //
     // Report_TienConLaiCC
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.rangeFilterDashboardItem1,
         this.gridDashboardItem2,
         this.gridDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.rangeFilterDashboardItem1;
     dashboardLayoutItem1.Weight        = 29.154929577464788D;
     dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem2.Weight        = 59.3727726300784D;
     dashboardLayoutItem3.DashboardItem = this.gridDashboardItem2;
     dashboardLayoutItem3.Weight        = 50.099403578528829D;
     dashboardLayoutItem4.DashboardItem = this.gridDashboardItem3;
     dashboardLayoutItem4.Weight        = 49.900596421471171D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 40.6272273699216D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 70.845070422535215D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Báo Cáo Tiền Còn Lại Cuối Ca";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension                 dimension1         = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension2         = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                   measure1           = 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.Sql.SelectQuery                selectQuery1       = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                     column1            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression1  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                      table1             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                     column2            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression2  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                     column3            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression3  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                     column4            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression4  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                      table2             = new DevExpress.DataAccess.Sql.Table();
     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.Table                      table3             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                     column7            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression7  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                     column8            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression8  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                      table4             = 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                      table5             = 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.Table                      table6             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                     column11           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression           columnExpression11 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                      table7             = new DevExpress.DataAccess.Sql.Table();
     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();
     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.Table                      table8 = new DevExpress.DataAccess.Sql.Table();
     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.Join                       join6 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo         relationColumnInfo6 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     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_pro_pm));
     DevExpress.DashboardCommon.Dimension                 dimension3                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                   measure2                   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension                 dimension4                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension5                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension6                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension7                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension8                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension9                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension10                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension11                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                   measure3                   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.PercentOfTotalCalculation percentOfTotalCalculation1 = new DevExpress.DashboardCommon.PercentOfTotalCalculation();
     DevExpress.DashboardCommon.PieWindowDefinition       pieWindowDefinition1       = new DevExpress.DashboardCommon.PieWindowDefinition();
     DevExpress.DashboardCommon.Dimension                 dimension12                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension                 dimension13                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup      dashboardLayoutGroup1      = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup      dashboardLayoutGroup2      = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem1       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem2       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem3       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.pieDashboardItem1       = new DevExpress.DashboardCommon.PieDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "area_name";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     dimension2.DataMember = "pro_name";
     measure1.DataMember   = "wf_status";
     measure1.Name         = "Workflwo Status";
     measure1.SummaryType  = DevExpress.DashboardCommon.SummaryType.CountDistinct;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.chartDashboardItem1.DataMember   = "WORKFLOW";
     this.chartDashboardItem1.DataSource   = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.FilterString = "";
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Workflow Counts by Business Area and Project";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.PointLabelOptions.ContentType   = DevExpress.DashboardCommon.PointLabelContentTypeEx.Value;
     simpleSeries1.PointLabelOptions.Position      = DevExpress.DashboardCommon.PointLabelPosition.Inside;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "WORKFLOW";
     calculatedField1.Expression = "CountDistinct([wf_status])";
     calculatedField1.Name       = "Calculated Field 1";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1
     });
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "DevDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     columnExpression1.ColumnName = "wf_status";
     table1.Alias                  = "WORKFLOW";
     table1.MetaSerializable       = "<Meta X=\"200\" Y=\"240\" Width=\"125\" Height=\"248\" />";
     table1.Name                   = "rc_workflow";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "wf_status_value";
     columnExpression2.Table       = table1;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "wf_statusdate";
     columnExpression3.Table       = table1;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "pro_name";
     table2.Alias                  = "PROJECTS";
     table2.MetaSerializable       = "<Meta X=\"400\" Y=\"300\" Width=\"125\" Height=\"153\" />";
     table2.Name                   = "rc_projects";
     columnExpression4.Table       = table2;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "wf_duedate";
     columnExpression5.Table       = table1;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "bp_name";
     table3.Alias                  = "processes";
     table3.MetaSerializable       = "<Meta X=\"810\" Y=\"430\" Width=\"125\" Height=\"210\" />";
     table3.Name                   = "rc_assessment_processes";
     columnExpression6.Table       = table3;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "bp_identifier";
     columnExpression7.Table       = table3;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "UserName";
     table4.Alias                  = "from";
     table4.MetaSerializable       = "<Meta X=\"190\" Y=\"520\" Width=\"125\" Height=\"343\" />";
     table4.Name                   = "AspNetUsers";
     columnExpression8.Table       = table4;
     column8.Expression            = columnExpression8;
     column9.Alias                 = "AspNetUsers_1_UserName";
     columnExpression9.ColumnName  = "UserName";
     table5.Alias                  = "to";
     table5.MetaSerializable       = "<Meta X=\"30\" Y=\"330\" Width=\"125\" Height=\"343\" />";
     table5.Name                   = "AspNetUsers";
     columnExpression9.Table       = table5;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "cat_name";
     table6.Alias                  = "categories";
     table6.MetaSerializable       = "<Meta X=\"1000\" Y=\"440\" Width=\"125\" Height=\"210\" />";
     table6.Name                   = "rc_assessment_categories";
     columnExpression10.Table      = table6;
     column10.Expression           = columnExpression10;
     columnExpression11.ColumnName = "area_name";
     table7.Alias                  = "areas";
     table7.MetaSerializable       = "<Meta X=\"1160\" Y=\"440\" Width=\"125\" Height=\"191\" />";
     table7.Name                   = "rc_assessment_areas";
     columnExpression11.Table      = table7;
     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.FilterString      = "[WORKFLOW.wf_statusdate] < LocalDateTimeTomorrow()";
     selectQuery1.GroupFilterString = "";
     selectQuery1.Name     = "WORKFLOW";
     queryParameter1.Name  = "Project";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.Project]", typeof(string));
     selectQuery1.Parameters.Add(queryParameter1);
     relationColumnInfo1.NestedKeyColumn = "pro_ID";
     relationColumnInfo1.ParentKeyColumn = "wf_projectid";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     relationColumnInfo2.NestedKeyColumn = "Id";
     relationColumnInfo2.ParentKeyColumn = "wf_from";
     join2.KeyColumns.Add(relationColumnInfo2);
     join2.Nested = table4;
     join2.Parent = table1;
     relationColumnInfo3.NestedKeyColumn = "act_projectID";
     relationColumnInfo3.ParentKeyColumn = "pro_ID";
     join3.KeyColumns.Add(relationColumnInfo3);
     table8.Alias                        = "isactive";
     table8.MetaSerializable             = "<Meta X=\"580\" Y=\"450\" Width=\"125\" Height=\"134\" />";
     table8.Name                         = "rc_assessment_active";
     join3.Nested                        = table8;
     join3.Parent                        = table2;
     relationColumnInfo4.NestedKeyColumn = "bp_id";
     relationColumnInfo4.ParentKeyColumn = "act_bpID";
     join4.KeyColumns.Add(relationColumnInfo4);
     join4.Nested = table3;
     join4.Parent = table8;
     relationColumnInfo5.NestedKeyColumn = "Id";
     relationColumnInfo5.ParentKeyColumn = "wf_to";
     join5.KeyColumns.Add(relationColumnInfo5);
     join5.Nested = table5;
     join5.Parent = table1;
     relationColumnInfo6.NestedKeyColumn = "cat_id";
     relationColumnInfo6.ParentKeyColumn = "bp_bcID";
     join6.KeyColumns.Add(relationColumnInfo6);
     join6.Nested = table6;
     join6.Parent = table3;
     relationColumnInfo7.NestedKeyColumn = "area_id";
     relationColumnInfo7.ParentKeyColumn = "cat_baID";
     join7.KeyColumns.Add(relationColumnInfo7);
     join7.Nested = table7;
     join7.Parent = table6;
     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(table1);
     selectQuery1.Tables.Add(table2);
     selectQuery1.Tables.Add(table4);
     selectQuery1.Tables.Add(table8);
     selectQuery1.Tables.Add(table3);
     selectQuery1.Tables.Add(table5);
     selectQuery1.Tables.Add(table6);
     selectQuery1.Tables.Add(table7);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension3.DataMember  = "wf_status_value";
     measure2.DataMember    = "wf_statusdate";
     measure2.SummaryType   = DevExpress.DashboardCommon.SummaryType.Count;
     dimension4.DataMember  = "pro_name";
     dimension5.DataMember  = "area_name";
     dimension6.DataMember  = "cat_name";
     dimension7.DataMember  = "bp_identifier";
     dimension8.DataMember  = "bp_name";
     dimension9.DataMember  = "wf_status";
     dimension9.SortOrder   = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     dimension10.DataMember = "AspNetUsers_1_UserName";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem6");
     this.treeViewDashboardItem1.DataItemRepository.Add(measure2, "DataItem8");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension4, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension5, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension6, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension7, "DataItem3");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension8, "DataItem4");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension9, "DataItem5");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension10, "DataItem7");
     this.treeViewDashboardItem1.DataMember = "WORKFLOW";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4,
         dimension5,
         dimension6,
         dimension7,
         dimension8,
         dimension9,
         dimension10
     });
     this.treeViewDashboardItem1.HiddenDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.treeViewDashboardItem1.HiddenMeasures.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure2
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Assessments Data - Tree View";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // pieDashboardItem1
     //
     dimension11.DataMember = "area_name";
     this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension11
     });
     this.pieDashboardItem1.ComponentName = "pieDashboardItem1";
     measure3.Calculation = percentOfTotalCalculation1;
     measure3.DataMember  = "wf_status";
     measure3.Name        = "Workflow items by User";
     measure3.SummaryType = DevExpress.DashboardCommon.SummaryType.CountDistinct;
     pieWindowDefinition1.DefinitionMode = DevExpress.DashboardCommon.PieWindowDefinitionMode.Arguments;
     measure3.WindowDefinition           = pieWindowDefinition1;
     dimension12.DataMember        = "UserName";
     dimension13.DataMember        = "AspNetUsers_1_UserName";
     dimension13.TextGroupInterval = DevExpress.DashboardCommon.TextGroupInterval.Alphabetical;
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.pieDashboardItem1.DataItemRepository.Add(dimension12, "DataItem2");
     this.pieDashboardItem1.DataItemRepository.Add(dimension11, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(dimension13, "DataItem3");
     this.pieDashboardItem1.DataMember = "WORKFLOW";
     this.pieDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pieDashboardItem1.HiddenDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension13
     });
     this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem1.Name = "Workflow items by User";
     this.pieDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension12
     });
     this.pieDashboardItem1.ShowCaption = true;
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3
     });
     //
     // dash_pro_pm
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.pieDashboardItem1,
         this.chartDashboardItem1,
         this.treeViewDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 49.141630901287556D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 50.858369098712444D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 35.876623376623378D;
     dashboardLayoutItem3.DashboardItem  = this.pieDashboardItem1;
     dashboardLayoutItem3.Weight         = 64.123376623376629D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot     = dashboardLayoutGroup1;
     this.Title.ImageUrl = "https://rcxbox.readycert.net/Content/Images/logo.png";
     this.Title.Text     = "Project User Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DataAccess.Sql.SelectQuery           selectQuery1       = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                column1            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression1  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                 table1             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                column2            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression2  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                 table2             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                column3            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression3  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column4            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression4  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column5            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression5  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column6            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression6  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column7            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression7  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column8            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression8  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column9            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression9  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column10           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column11           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression11 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column12           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression12 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                column13           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression      columnExpression13 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Join                  join1 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo    relationColumnInfo1   = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_enterprise_roadmap));
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn2  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn3  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn4  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardItemGroup1     = new DevExpress.DashboardCommon.DashboardItemGroup();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardItemGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "DevDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     columnExpression1.ColumnName = "rm_projectID";
     table1.MetaSerializable      = "<Meta X=\"30\" Y=\"30\" Width=\"150\" Height=\"324\" />";
     table1.Name                   = "rc_roadmap";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "pro_ID";
     table2.MetaSerializable       = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"362\" />";
     table2.Name                   = "rc_projects";
     columnExpression2.Table       = table2;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "rm_targetdate1";
     columnExpression3.Table       = table1;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "rm_targetdate2";
     columnExpression4.Table       = table1;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "rm_targetdate3";
     columnExpression5.Table       = table1;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "rm_cmsreviewtext";
     columnExpression6.Table       = table1;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "rm_cmsreviewdate";
     columnExpression7.Table       = table1;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "rm_actualend";
     columnExpression8.Table       = table1;
     column8.Expression            = columnExpression8;
     columnExpression9.ColumnName  = "rm_estimatedend";
     columnExpression9.Table       = table1;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "rm_startdate";
     columnExpression10.Table      = table1;
     column10.Expression           = columnExpression10;
     columnExpression11.ColumnName = "rm_desc";
     columnExpression11.Table      = table1;
     column11.Expression           = columnExpression11;
     columnExpression12.ColumnName = "rm_status";
     columnExpression12.Table      = table1;
     column12.Expression           = columnExpression12;
     columnExpression13.ColumnName = "rm_title";
     columnExpression13.Table      = table1;
     column13.Expression           = columnExpression13;
     selectQuery1.Columns.Add(column1);
     selectQuery1.Columns.Add(column2);
     selectQuery1.Columns.Add(column3);
     selectQuery1.Columns.Add(column4);
     selectQuery1.Columns.Add(column5);
     selectQuery1.Columns.Add(column6);
     selectQuery1.Columns.Add(column7);
     selectQuery1.Columns.Add(column8);
     selectQuery1.Columns.Add(column9);
     selectQuery1.Columns.Add(column10);
     selectQuery1.Columns.Add(column11);
     selectQuery1.Columns.Add(column12);
     selectQuery1.Columns.Add(column13);
     selectQuery1.Name = "rc_roadmap";
     relationColumnInfo1.NestedKeyColumn = "pro_ID";
     relationColumnInfo1.ParentKeyColumn = "rm_projectID";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table2);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "rm_title";
     dimension1.Name                = "Roadmap Title";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     dimension2.DataMember            = "rm_targetdate1";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     gridDimensionColumn2.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension2);
     dimension3.DataMember            = "rm_targetdate2";
     dimension3.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     gridDimensionColumn3.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension3);
     dimension4.DataMember            = "rm_targetdate3";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     gridDimensionColumn4.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension4);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDimensionColumn3,
         gridDimensionColumn4
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     dimension5.DataMember            = "rm_estimatedend";
     dimension5.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.None;
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem4");
     this.gridDashboardItem1.DataMember = "rc_roadmap";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name              = "Grid 1";
     this.gridDashboardItem1.ShowCaption       = true;
     this.gridDashboardItem1.SparklineArgument = dimension5;
     //
     // chartDashboardItem1
     //
     dimension6.DataMember = "rm_title";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension6
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember              = "rm_status";
     measure1.SummaryType             = DevExpress.DashboardCommon.SummaryType.CountDistinct;
     dimension7.DataMember            = "rm_targetdate1";
     dimension7.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension7.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     dimension8.DataMember            = "rm_targetdate2";
     dimension8.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension8.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     dimension9.DataMember            = "rm_targetdate3";
     dimension9.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension9.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem4");
     this.chartDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension7, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(dimension8, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension9, "DataItem2");
     this.chartDashboardItem1.DataMember = "rc_roadmap";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.Group      = this.dashboardItemGroup1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.FullStackedArea;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension7,
         dimension8,
         dimension9
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardItemGroup1
     //
     this.dashboardItemGroup1.ComponentName = "dashboardItemGroup1";
     this.dashboardItemGroup1.InteractivityOptions.IgnoreMasterFilters = true;
     this.dashboardItemGroup1.Name        = "Group 1";
     this.dashboardItemGroup1.ShowCaption = true;
     //
     // dash_ent_enterprise_roadmap
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Groups.AddRange(new DevExpress.DashboardCommon.DashboardItemGroup[] {
         this.dashboardItemGroup1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 33.305921052631582D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 100D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = this.dashboardItemGroup1;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 66.694078947368425D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardItemGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.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();
 }
Esempio n. 20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.treeViewDashboardItem1      = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.chartDashboardItem1         = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.rangeFilterDashboardItem1   = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardExtractDataSource1 = new DevExpress.DashboardCommon.DashboardExtractDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Sales Person";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Extended Price";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataMember = "";
     this.gridDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.gridDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Single;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension2.DataMember = "CategoryName";
     dimension2.Name       = "Category";
     dimension3.DataMember = "ProductName";
     dimension3.Name       = "Product";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.treeViewDashboardItem1.DataMember = "";
     this.treeViewDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension3
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Category";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension4.DataMember = "CategoryName";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     dimension5.DataMember = "OrderDate";
     measure2.DataMember   = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.chartDashboardItem1.DataMember = "";
     this.chartDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Sales by Catgory";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension5
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // rangeFilterDashboardItem1
     //
     dimension6.DataMember                        = "OrderDate";
     dimension6.DateTimeGroupInterval             = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.rangeFilterDashboardItem1.Argument      = dimension6;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     measure3.DataMember = "Extended Price";
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.rangeFilterDashboardItem1.DataMember = "";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Range Filter 1";
     simpleSeries2.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.Area;
     simpleSeries2.AddDataItem("Value", measure3);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries2
     });
     this.rangeFilterDashboardItem1.ShowCaption = false;
     //
     // dashboardExtractDataSource1
     //
     this.dashboardExtractDataSource1.ComponentName = "dashboardExtractDataSource1";
     this.dashboardExtractDataSource1.FileName      = "C:\\Data\\SalesPerson.dat";
     this.dashboardExtractDataSource1.Name          = "Extract Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExtractDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.treeViewDashboardItem1,
         this.chartDashboardItem1,
         this.rangeFilterDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 50D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 28.895184135977338D;
     dashboardLayoutItem3.DashboardItem  = this.chartDashboardItem1;
     dashboardLayoutItem3.Weight         = 71.104815864022669D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup3,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 79.935275080906152D;
     dashboardLayoutItem4.DashboardItem  = this.rangeFilterDashboardItem1;
     dashboardLayoutItem4.Weight         = 20.064724919093852D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     this.ConfigureDataConnection += new DevExpress.DashboardCommon.DashboardConfigureDataConnectionEventHandler(this.Dashboard1_ConfigureDataConnection);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.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. 22
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();
 }
Esempio n. 23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardExtractDataSource1 = new DevExpress.DashboardCommon.DashboardExtractDataSource();
     this.chartDashboardItem1         = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.listBoxDashboardItem1       = new DevExpress.DashboardCommon.ListBoxDashboardItem();
     this.listBoxDashboardItem2       = new DevExpress.DashboardCommon.ListBoxDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardExtractDataSource1
     //
     this.dashboardExtractDataSource1.ComponentName = "dashboardExtractDataSource1";
     this.dashboardExtractDataSource1.FileName      = "C:\\Data\\NWind_SalesPerson.dat";
     this.dashboardExtractDataSource1.Name          = "Extract Data Source 1";
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "OrderDate";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "Quantity";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     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", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // listBoxDashboardItem1
     //
     this.listBoxDashboardItem1.ComponentName = "listBoxDashboardItem1";
     dimension2.DataMember = "OrderDate";
     this.listBoxDashboardItem1.DataItemRepository.Clear();
     this.listBoxDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.listBoxDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.listBoxDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.listBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.listBoxDashboardItem1.Name        = "List Box 1";
     this.listBoxDashboardItem1.ShowCaption = true;
     //
     // listBoxDashboardItem2
     //
     this.listBoxDashboardItem2.ComponentName = "listBoxDashboardItem2";
     dimension3.DataMember            = "OrderDate";
     dimension3.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.listBoxDashboardItem2.DataItemRepository.Clear();
     this.listBoxDashboardItem2.DataItemRepository.Add(dimension3, "DataItem0");
     this.listBoxDashboardItem2.DataSource = this.dashboardExtractDataSource1;
     this.listBoxDashboardItem2.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.listBoxDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.listBoxDashboardItem2.Name        = "List Box 2";
     this.listBoxDashboardItem2.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExtractDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1,
         this.listBoxDashboardItem1,
         this.listBoxDashboardItem2
     });
     dashboardLayoutItem1.DashboardItem = this.listBoxDashboardItem1;
     dashboardLayoutItem1.Weight        = 50.060606060606062D;
     dashboardLayoutItem2.DashboardItem = this.listBoxDashboardItem2;
     dashboardLayoutItem2.Weight        = 49.939393939393938D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 49.924357034795761D;
     dashboardLayoutItem3.DashboardItem  = this.chartDashboardItem1;
     dashboardLayoutItem3.Weight         = 50.075642965204239D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 24
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "Booking.To";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "TotalPrice";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataSource    = typeof(HotelManagerLib.Models.Persistant.Billing);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     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 = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.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.DashboardLayoutGroup    dashboardLayoutGroup1   = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1    = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup2   = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2    = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem3    = 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();
     ((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)).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 = "RevenueQTD (Sum)";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure6, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     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.ShowCaption = true;
     //
     // SampleDashboard
     //
     this.CurrencyCultureName = null;
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.choroplethMapDashboardItem1,
         this.gridDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 49.922480620155042D;
     dashboardLayoutItem2.DashboardItem = this.choroplethMapDashboardItem1;
     dashboardLayoutItem2.Weight        = 62.705882352941174D;
     dashboardLayoutItem3.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem3.Weight        = 37.294117647058826D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 50.077519379844958D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     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)(this)).EndInit();
 }
Esempio n. 26
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension                 dimension1                 = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                   measure1                   = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane                 chartPane1                 = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries              simpleSeries1              = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.Sql.CustomSqlQuery             customSqlQuery1            = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.QueryParameter             queryParameter1            = new DevExpress.DataAccess.Sql.QueryParameter();
     System.ComponentModel.ComponentResourceManager       resources                  = new System.ComponentModel.ComponentResourceManager(typeof(Pro_Db_RMNUT_OnHand_Chart));
     DevExpress.DataAccess.Sql.CustomSqlQuery             customSqlQuery2            = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DashboardCommon.DashboardLayoutGroup      dashboardLayoutGroup1      = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem       dashboardLayoutItem1       = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter        dashboardParameter1        = new DevExpress.DashboardCommon.DashboardParameter();
     DevExpress.DashboardCommon.DynamicListLookUpSettings dynamicListLookUpSettings1 = new DevExpress.DashboardCommon.DynamicListLookUpSettings();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.dashboardSqlDataSource2 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember            = "DT_FIN";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "QT_MVMT";
     measure1.Name       = "Manf. QTY.";
     measure1.NumericFormat.FormatType            = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure1.NumericFormat.IncludeGroupSeparator = true;
     measure1.NumericFormat.Unit = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.chartDashboardItem1.DataMember = "Query";
     this.chartDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Legend.InsidePosition  = DevExpress.DashboardCommon.ChartLegendInsidePosition.TopRightVertical;
     this.chartDashboardItem1.Legend.IsInsideDiagram = true;
     this.chartDashboardItem1.Legend.OutsidePosition = DevExpress.DashboardCommon.ChartLegendOutsidePosition.BottomCenterHorizontal;
     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.Logarithmic             = true;
     chartPane1.SecondaryAxisY.ShowGridLines           = false;
     chartPane1.SecondaryAxisY.TitleVisible            = true;
     simpleSeries1.PointLabelOptions.Content           = DevExpress.DashboardCommon.PointLabelContentType.ArgumentAndValue;
     simpleSeries1.PointLabelOptions.ShowForZeroValues = true;
     simpleSeries1.PointLabelOptions.ShowPointLabels   = true;
     simpleSeries1.AddDataItem("Value", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "Production.Properties.Settings.SYNC_NUTRICIELConnectionString";
     this.dashboardSqlDataSource1.Name           = "FG This Month Chart";
     customSqlQuery1.Name  = "Query";
     queryParameter1.Name  = "Parm_CD_MAT";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.FGName]", typeof(string));
     customSqlQuery1.Parameters.Add(queryParameter1);
     customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // dashboardSqlDataSource2
     //
     this.dashboardSqlDataSource2.ComponentName  = "dashboardSqlDataSource2";
     this.dashboardSqlDataSource2.ConnectionName = "Production.Properties.Settings.SYNC_NUTRICIELConnectionString";
     this.dashboardSqlDataSource2.Name           = "List_Parm_CD_MAT";
     customSqlQuery2.Name = "Query";
     customSqlQuery2.Sql  = resources.GetString("customSqlQuery2.Sql");
     this.dashboardSqlDataSource2.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery2
     });
     this.dashboardSqlDataSource2.ResultSchemaSerializable = "PERhdGFTZXQgTmFtZT0iTGlzdF9QYXJtX0NEX01BVCI+PFZpZXcgTmFtZT0iUXVlcnkiPjxGaWVsZCBOY" +
                                                             "W1lPSJDRF9NQVQiIFR5cGU9IlN0cmluZyIgLz48RmllbGQgTmFtZT0iTEJfTUFUIiBUeXBlPSJTdHJpb" +
                                                             "mciIC8+PC9WaWV3PjwvRGF0YVNldD4=";
     //
     // Pro_Db_RMNUT_OnHand_Chart
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1,
         this.dashboardSqlDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 100D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     dynamicListLookUpSettings1.DataMember     = "Query";
     dynamicListLookUpSettings1.DataSourceName = "dashboardSqlDataSource2";
     dynamicListLookUpSettings1.DisplayMember  = "LB_MAT";
     dynamicListLookUpSettings1.SortByMember   = "LB_MAT";
     dynamicListLookUpSettings1.ValueMember    = "CD_MAT";
     dashboardParameter1.LookUpSettings        = dynamicListLookUpSettings1;
     dashboardParameter1.Name  = "FGName";
     dashboardParameter1.Type  = typeof(string);
     dashboardParameter1.Value = "";
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1
     });
     this.Title.Text = "Total FG quantity per month";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 27
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.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.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardEFDataSource1 = new DevExpress.DashboardCommon.DashboardEFDataSource();
     this.chartDashboardItem1    = new DevExpress.DashboardCommon.ChartDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardEFDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardEFDataSource1
     //
     this.dashboardEFDataSource1.ComponentName = "dashboardEFDataSource1";
     efConnectionParameters1.ConnectionString  = "Data Source=DESKTOP-BBFO2CP\\SQLEXPRESS;Initial Catalog=KhoaLuanTotNghiep;Integrat" +
                                                 "ed Security=True";
     efConnectionParameters1.ConnectionStringName = "";
     efConnectionParameters1.Source = typeof(KhoaLuanTotNghiep.KhoaLuanTotNghiepEntities1);
     this.dashboardEFDataSource1.ConnectionParameters = efConnectionParameters1;
     this.dashboardEFDataSource1.Name = "EF Data Source 1";
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "ChiPhi";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember  = "NameHD";
     measure1.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.chartDashboardItem1.DataMember = "tbl_HopDong";
     this.chartDashboardItem1.DataSource = this.dashboardEFDataSource1;
     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", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // VanDon
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardEFDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     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 = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardEFDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 28
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.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard1));
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.pieMapDashboardItem1       = new DevExpress.DashboardCommon.PieMapDashboardItem();
     this.dashboardObjectDataSource2 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.rangeFilterDashboardItem1  = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.pieMapDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // pieMapDashboardItem1
     //
     this.pieMapDashboardItem1.Area          = DevExpress.DashboardCommon.ShapefileArea.Europe;
     dimension1.DataMember                   = "Sector";
     this.pieMapDashboardItem1.Argument      = dimension1;
     this.pieMapDashboardItem1.ComponentName = "pieMapDashboardItem1";
     dimension2.DataMember                   = "Latitude";
     dimension3.DataMember                   = "Longitude";
     measure1.DataMember   = "Consumption";
     dimension4.DataMember = "Country";
     this.pieMapDashboardItem1.DataItemRepository.Clear();
     this.pieMapDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.pieMapDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.pieMapDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.pieMapDashboardItem1.DataItemRepository.Add(dimension1, "DataItem3");
     this.pieMapDashboardItem1.DataItemRepository.Add(dimension4, "DataItem4");
     this.pieMapDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.pieMapDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieMapDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Single;
     this.pieMapDashboardItem1.Latitude       = dimension2;
     this.pieMapDashboardItem1.Legend.Visible = true;
     this.pieMapDashboardItem1.Longitude      = dimension3;
     this.pieMapDashboardItem1.Name           = "Energy Consumption by Sector";
     this.pieMapDashboardItem1.ShowCaption    = true;
     this.pieMapDashboardItem1.TooltipDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.pieMapDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure1
     });
     this.pieMapDashboardItem1.Viewport.BottomLatitude       = 38.465698798939975D;
     this.pieMapDashboardItem1.Viewport.CenterPointLatitude  = 52.320720692307148D;
     this.pieMapDashboardItem1.Viewport.CenterPointLongitude = 28.021969019753598D;
     this.pieMapDashboardItem1.Viewport.CreateViewerPaddings = false;
     this.pieMapDashboardItem1.Viewport.LeftLongitude        = -25.861615460567506D;
     this.pieMapDashboardItem1.Viewport.RightLongitude       = 81.9055535000747D;
     this.pieMapDashboardItem1.Viewport.TopLatitude          = 62.881388025112621D;
     //
     // dashboardObjectDataSource2
     //
     this.dashboardObjectDataSource2.ComponentName = "dashboardObjectDataSource2";
     this.dashboardObjectDataSource2.DataMember    = "CountriesBySector";
     this.dashboardObjectDataSource2.DataSchema    = resources.GetString("dashboardObjectDataSource2.DataSchema");
     this.dashboardObjectDataSource2.Name          = "EnergyConsumptionBySector";
     //
     // rangeFilterDashboardItem1
     //
     dimension5.DataMember = "Year";
     this.rangeFilterDashboardItem1.Argument      = dimension5;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     measure2.DataMember = "Consumption";
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension5, "DataItem0");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.rangeFilterDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Range Filter 1";
     simpleSeries1.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.Line;
     simpleSeries1.AddDataItem("Value", measure2);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries1
     });
     this.rangeFilterDashboardItem1.ShowCaption = false;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.rangeFilterDashboardItem1,
         this.pieMapDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.pieMapDashboardItem1;
     dashboardLayoutItem1.Weight        = 83.877995642701521D;
     dashboardLayoutItem2.DashboardItem = this.rangeFilterDashboardItem1;
     dashboardLayoutItem2.Weight        = 16.122004357298476D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieMapDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 29
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardObjectDataSource2 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "SalesPerson";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Quantity";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "SalesPerson";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "Quantity";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardObjectDataSource2
     //
     this.dashboardObjectDataSource2.ComponentName = "dashboardObjectDataSource2";
     this.dashboardObjectDataSource2.DataSource    = typeof(NewProject.Data);
     this.dashboardObjectDataSource2.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 39.098532494758906D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 60.901467505241094D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     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.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.chartDashboardItem1     = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardXpoDataSource1 = new DevExpress.DashboardCommon.DashboardXpoDataSource();
     this.pieDashboardItem1       = new DevExpress.DashboardCommon.PieDashboardItem();
     this.pivotDashboardItem1     = new DevExpress.DashboardCommon.PivotDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardXpoDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // chartDashboardItem1
     //
     dimension1.DataMember = "Year";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1
     });
     this.chartDashboardItem1.AxisX.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     this.chartDashboardItem1.AxisX.NumericFormat.Precision  = 0;
     this.chartDashboardItem1.AxisX.NumericFormat.Unit       = DevExpress.DashboardCommon.DataItemNumericUnit.Ones;
     this.chartDashboardItem1.AxisX.Title        = "Year";
     this.chartDashboardItem1.AxisX.TitleVisible = true;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure1.DataMember = "Revenue";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.chartDashboardItem1.DataMember = "";
     this.chartDashboardItem1.DataSource = this.dashboardXpoDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Revenue Analysis";
     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", measure1);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // dashboardXpoDataSource1
     //
     this.dashboardXpoDataSource1.ComponentName        = "dashboardXpoDataSource1";
     this.dashboardXpoDataSource1.ConnectionStringName = "XpoTutorial";
     this.dashboardXpoDataSource1.EntityTypeString     = "DashboardXpoDemo.DataAccess.RevenueAnalysisDataItem, DashboardXpoDemo, Version=1." +
                                                         "0.0.0, Culture=neutral, PublicKeyToken=null";
     this.dashboardXpoDataSource1.Name = "XPO Data Source 1";
     //
     // pieDashboardItem1
     //
     dimension2.DataMember = "State";
     this.pieDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.pieDashboardItem1.ComponentName = "pieDashboardItem1";
     measure2.DataMember = "Revenue";
     this.pieDashboardItem1.DataItemRepository.Clear();
     this.pieDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.pieDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.pieDashboardItem1.DataMember = "";
     this.pieDashboardItem1.DataSource = this.dashboardXpoDataSource1;
     this.pieDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pieDashboardItem1.Name        = "";
     this.pieDashboardItem1.ShowCaption = false;
     this.pieDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure2
     });
     //
     // pivotDashboardItem1
     //
     dimension3.DataMember = "State";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember = "UnitsSold";
     measure3.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure3.NumericFormat.Precision  = 0;
     measure4.DataMember = "Revenue";
     measure4.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     dimension4.DataMember             = "Category";
     dimension5.DataMember             = "Product";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem3");
     this.pivotDashboardItem1.DataItemRepository.Add(measure4, "DataItem4");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension5, "DataItem1");
     this.pivotDashboardItem1.DataMember = "";
     this.pivotDashboardItem1.DataSource = this.dashboardXpoDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Sales by State";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4,
         dimension5
     });
     this.pivotDashboardItem1.ShowCaption = true;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3,
         measure4
     });
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardXpoDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.chartDashboardItem1,
         this.pieDashboardItem1,
         this.pivotDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem1.Weight        = 50.077760497667185D;
     dashboardLayoutItem2.DashboardItem = this.pieDashboardItem1;
     dashboardLayoutItem2.Weight        = 49.922239502332815D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 37.873754152823921D;
     dashboardLayoutItem3.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem3.Weight         = 62.126245847176079D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Revenue Analysis";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardXpoDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pieDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }