Changeset 15210
- Timestamp:
- 07/12/17 15:45:31 (7 years ago)
- Location:
- trunk/sources
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.Designer.cs
r15110 r15210 99 99 // statisticsTextBox 100 100 // 101 this.statisticsTextBox.Size = new System.Drawing.Size( 1133, 13);101 this.statisticsTextBox.Size = new System.Drawing.Size(421, 13); 102 102 // 103 103 // btnApplySort -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/FilterView.Designer.cs
r14185 r15210 62 62 this.label2 = new System.Windows.Forms.Label(); 63 63 this.label3 = new System.Windows.Forms.Label(); 64 this.bottomPanel = new System.Windows.Forms.Panel(); 64 65 this.groupBoxFilter.SuspendLayout(); 65 66 this.groupBoxFilterInfo.SuspendLayout(); 66 67 this.groupBox1.SuspendLayout(); 68 this.bottomPanel.SuspendLayout(); 67 69 this.SuspendLayout(); 68 70 // 69 71 // groupBoxFilter 70 72 // 71 this.groupBoxFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 73 this.groupBoxFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 72 74 | System.Windows.Forms.AnchorStyles.Right))); 73 75 this.groupBoxFilter.Controls.Add(this.checkedFilterView); … … 93 95 // groupBoxFilterInfo 94 96 // 95 this.groupBoxFilterInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 97 this.groupBoxFilterInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 96 98 | System.Windows.Forms.AnchorStyles.Right))); 97 99 this.groupBoxFilterInfo.Controls.Add(this.lblPercentage); … … 103 105 this.groupBoxFilterInfo.Location = new System.Drawing.Point(4, 337); 104 106 this.groupBoxFilterInfo.Name = "groupBoxFilterInfo"; 105 this.groupBoxFilterInfo.Size = new System.Drawing.Size(65 9, 102);107 this.groupBoxFilterInfo.Size = new System.Drawing.Size(658, 102); 106 108 this.groupBoxFilterInfo.TabIndex = 1; 107 109 this.groupBoxFilterInfo.TabStop = false; … … 119 121 // tbPercentage 120 122 // 121 this.tbPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 123 this.tbPercentage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 122 124 | System.Windows.Forms.AnchorStyles.Right))); 123 125 this.tbPercentage.Enabled = false; 124 126 this.tbPercentage.Location = new System.Drawing.Point(104, 71); 125 127 this.tbPercentage.Name = "tbPercentage"; 126 this.tbPercentage.Size = new System.Drawing.Size(54 9, 20);128 this.tbPercentage.Size = new System.Drawing.Size(548, 20); 127 129 this.tbPercentage.TabIndex = 10; 128 130 // 129 // tb Filtered130 // 131 this.tbRemaining.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 131 // tbRemaining 132 // 133 this.tbRemaining.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 132 134 | System.Windows.Forms.AnchorStyles.Right))); 133 135 this.tbRemaining.Enabled = false; 134 136 this.tbRemaining.Location = new System.Drawing.Point(104, 45); 135 137 this.tbRemaining.Name = "tbRemaining"; 136 this.tbRemaining.Size = new System.Drawing.Size(54 9, 20);138 this.tbRemaining.Size = new System.Drawing.Size(548, 20); 137 139 this.tbRemaining.TabIndex = 9; 138 140 // 139 // lbl Filtered141 // lblRemaining 140 142 // 141 143 this.lblRemaining.AutoSize = true; … … 148 150 // tbTotal 149 151 // 150 this.tbTotal.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 152 this.tbTotal.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 151 153 | System.Windows.Forms.AnchorStyles.Right))); 152 154 this.tbTotal.Enabled = false; 153 155 this.tbTotal.Location = new System.Drawing.Point(104, 19); 154 156 this.tbTotal.Name = "tbTotal"; 155 this.tbTotal.Size = new System.Drawing.Size(54 9, 20);157 this.tbTotal.Size = new System.Drawing.Size(548, 20); 156 158 this.tbTotal.TabIndex = 7; 157 159 // … … 167 169 // applyFilterButton 168 170 // 169 this.applyFilterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));171 this.applyFilterButton.Anchor = System.Windows.Forms.AnchorStyles.Right; 170 172 this.applyFilterButton.Cursor = System.Windows.Forms.Cursors.Default; 171 173 this.applyFilterButton.Enabled = false; 172 this.applyFilterButton.Location = new System.Drawing.Point(55 4, 628);174 this.applyFilterButton.Location = new System.Drawing.Point(559, 3); 173 175 this.applyFilterButton.Name = "applyFilterButton"; 174 176 this.applyFilterButton.Size = new System.Drawing.Size(107, 23); … … 180 182 // rBtnOr 181 183 // 182 this.rBtnOr.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));184 this.rBtnOr.Anchor = System.Windows.Forms.AnchorStyles.Left; 183 185 this.rBtnOr.AutoSize = true; 184 186 this.rBtnOr.Cursor = System.Windows.Forms.Cursors.Default; 185 187 this.rBtnOr.Enabled = false; 186 this.rBtnOr.Location = new System.Drawing.Point( 60, 634);188 this.rBtnOr.Location = new System.Drawing.Point(53, 6); 187 189 this.rBtnOr.Name = "rBtnOr"; 188 190 this.rBtnOr.Size = new System.Drawing.Size(36, 17); … … 193 195 // rBtnAnd 194 196 // 195 this.rBtnAnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));197 this.rBtnAnd.Anchor = System.Windows.Forms.AnchorStyles.Left; 196 198 this.rBtnAnd.AutoSize = true; 197 199 this.rBtnAnd.Checked = true; 198 200 this.rBtnAnd.Cursor = System.Windows.Forms.Cursors.Default; 199 201 this.rBtnAnd.Enabled = false; 200 this.rBtnAnd.Location = new System.Drawing.Point( 10, 634);202 this.rBtnAnd.Location = new System.Drawing.Point(3, 6); 201 203 this.rBtnAnd.Name = "rBtnAnd"; 202 204 this.rBtnAnd.Size = new System.Drawing.Size(44, 17); … … 209 211 // groupBox1 210 212 // 211 this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 213 this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 212 214 | System.Windows.Forms.AnchorStyles.Right))); 213 215 this.groupBox1.Controls.Add(this.label4); … … 215 217 this.groupBox1.Controls.Add(this.label2); 216 218 this.groupBox1.Controls.Add(this.label3); 217 this.groupBox1.Location = new System.Drawing.Point( 7, 445);219 this.groupBox1.Location = new System.Drawing.Point(4, 445); 218 220 this.groupBox1.Name = "groupBox1"; 219 this.groupBox1.Size = new System.Drawing.Size(65 9, 130);221 this.groupBox1.Size = new System.Drawing.Size(658, 130); 220 222 this.groupBox1.TabIndex = 12; 221 223 this.groupBox1.TabStop = false; … … 261 263 this.label3.Text = "A filter specifies the data rows which should remain."; 262 264 // 265 // bottomPanel 266 // 267 this.bottomPanel.Controls.Add(this.applyFilterButton); 268 this.bottomPanel.Controls.Add(this.rBtnAnd); 269 this.bottomPanel.Controls.Add(this.rBtnOr); 270 this.bottomPanel.Dock = System.Windows.Forms.DockStyle.Bottom; 271 this.bottomPanel.Location = new System.Drawing.Point(0, 580); 272 this.bottomPanel.Name = "bottomPanel"; 273 this.bottomPanel.Size = new System.Drawing.Size(670, 30); 274 this.bottomPanel.TabIndex = 13; 275 // 263 276 // FilterView 264 277 // 265 278 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 266 279 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 280 this.Controls.Add(this.bottomPanel); 267 281 this.Controls.Add(this.groupBox1); 268 this.Controls.Add(this.rBtnAnd);269 this.Controls.Add(this.rBtnOr);270 this.Controls.Add(this.applyFilterButton);271 282 this.Controls.Add(this.groupBoxFilterInfo); 272 283 this.Controls.Add(this.groupBoxFilter); 273 284 this.Name = "FilterView"; 274 this.Size = new System.Drawing.Size(670, 6 60);285 this.Size = new System.Drawing.Size(670, 610); 275 286 this.groupBoxFilter.ResumeLayout(false); 276 287 this.groupBoxFilterInfo.ResumeLayout(false); … … 278 289 this.groupBox1.ResumeLayout(false); 279 290 this.groupBox1.PerformLayout(); 291 this.bottomPanel.ResumeLayout(false); 292 this.bottomPanel.PerformLayout(); 280 293 this.ResumeLayout(false); 281 this.PerformLayout();282 294 283 295 } … … 302 314 private System.Windows.Forms.Label label2; 303 315 private System.Windows.Forms.Label label3; 304 305 316 private System.Windows.Forms.Panel bottomPanel; 306 317 } 307 318 } -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/HistogramView.cs
r15110 r15210 39 39 aggregationComboBox.SelectedItem = DataTableVisualProperties.DataTableHistogramAggregation.Overlapping; 40 40 orderComboBox.DataSource = Enum.GetValues(typeof(PreprocessingChartContent.LegendOrder)); 41 orderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.A ppearance;41 orderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.Alphabetically; 42 42 } 43 43 -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.Designer.cs
r15110 r15210 69 69 // 70 70 this.splitContainer.Panel2.Controls.Add(this.scrollPanel); 71 this.splitContainer.Panel2.Resize += new System.EventHandler(this.splitContainer_Panel2_Resize); 71 72 // 72 73 // tableLayoutPanel -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs
r15110 r15210 51 51 dataTables = new Dictionary<string, DataTable>(); 52 52 dataTableViews = new Dictionary<string, DataTableView>(); 53 scrollPanel.HorizontalScroll.Visible = false; 53 54 } 54 55 … … 203 204 GenerateLayout(); 204 205 } 206 207 private void splitContainer_Panel2_Resize(object sender, EventArgs e) { 208 if (SuppressCheckedChangedUpdate) 209 return; 210 211 scrollPanel.SuspendRepaint(); 212 213 if (tableLayoutPanel.ColumnCount > 0 && tableLayoutPanel.RowCount > 0) { 214 var width = (splitContainer.Panel2.Width - SystemInformation.VerticalScrollBarWidth) / tableLayoutPanel.ColumnCount; 215 var height = width * 0.75f; 216 217 for (int i = 0; i < tableLayoutPanel.RowStyles.Count - 1; i++) { 218 tableLayoutPanel.RowStyles[i].Height = height; 219 } 220 for (int i = 0; i < tableLayoutPanel.ColumnStyles.Count; i++) { 221 tableLayoutPanel.ColumnStyles[i].Width = width; 222 } 223 } 224 225 scrollPanel.ResumeRepaint(true); 226 } 205 227 } 206 228 } -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingIcons.resx
r15110 r15210 120 120 <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 121 121 <data name="All" type="System.Resources.ResXFileRef, System.Windows.Forms"> 122 <value> icons\all.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>122 <value>Icons\All.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 123 123 </data> 124 124 <data name="Inputs" type="System.Resources.ResXFileRef, System.Windows.Forms"> 125 <value> icons\inputs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>125 <value>Icons\Inputs.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 126 126 </data> 127 127 <data name="None" type="System.Resources.ResXFileRef, System.Windows.Forms"> 128 <value> icons\none.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>128 <value>Icons\None.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> 129 129 </data> 130 130 </root> -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotMultiView.cs
r15110 r15210 60 60 61 61 legendOrderComboBox.DataSource = Enum.GetValues(typeof(PreprocessingChartContent.LegendOrder)); 62 legendOrderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.A ppearance;62 legendOrderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.Alphabetically; 63 63 64 64 #region Initialize Scrollbars -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
r15110 r15210 48 48 regressionTypeComboBox.SelectedItem = RegressionType.None; 49 49 orderComboBox.DataSource = Enum.GetValues(typeof(PreprocessingChartContent.LegendOrder)); 50 orderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.A ppearance;50 orderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.Alphabetically; 51 51 } 52 52 … … 74 74 comboBoxYVariable.Items.AddRange(variables.ToArray()); 75 75 comboBoxGroup.Items.Add(NoGroupItem); 76 foreach (string var in Content.PreprocessingData.VariableNames) {76 foreach (string var in PreprocessingChartContent.GetVariableNamesForGrouping(Content.PreprocessingData, 50)) { 77 77 comboBoxGroup.Items.Add(var); 78 78 } … … 148 148 149 149 private void comboBoxYVariable_SelectedIndexChanged(object sender, EventArgs e) { 150 SuspendRepaint(); 150 151 var oldPlot = scatterPlotView.Content; 151 152 UpdateScatterPlot(); … … 163 164 x.nr.VisualProperties = newVisuapProperties; 164 165 } 166 ResumeRepaint(true); 165 167 } 166 168 -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/StatisticsView.Designer.cs
r15110 r15210 53 53 this.stringMatrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 54 54 this.showVariablesGroupBox = new System.Windows.Forms.GroupBox(); 55 this.checkInputsTargetButton = new System.Windows.Forms.Button();56 this.uncheckAllButton = new System.Windows.Forms.Button();57 this.checkAllButton = new System.Windows.Forms.Button();58 55 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 59 56 this.lblTNumValues = new System.Windows.Forms.Label(); … … 69 66 this.missingValuesTextBox = new System.Windows.Forms.TextBox(); 70 67 this.overviewGroupBox = new System.Windows.Forms.GroupBox(); 68 this.checkInputsTargetButton = new System.Windows.Forms.Button(); 69 this.uncheckAllButton = new System.Windows.Forms.Button(); 70 this.checkAllButton = new System.Windows.Forms.Button(); 71 71 this.showVariablesGroupBox.SuspendLayout(); 72 72 this.orientationGroupBox.SuspendLayout(); … … 101 101 this.lblMissingValuesTotal.AutoSize = true; 102 102 this.lblMissingValuesTotal.Dock = System.Windows.Forms.DockStyle.Fill; 103 this.lblMissingValuesTotal.Location = new System.Drawing.Point(2 37, 26);103 this.lblMissingValuesTotal.Location = new System.Drawing.Point(275, 26); 104 104 this.lblMissingValuesTotal.Name = "lblMissingValuesTotal"; 105 105 this.lblMissingValuesTotal.Size = new System.Drawing.Size(77, 26); … … 112 112 this.lblNumericColumns.AutoSize = true; 113 113 this.lblNumericColumns.Dock = System.Windows.Forms.DockStyle.Fill; 114 this.lblNumericColumns.Location = new System.Drawing.Point(1 00, 0);114 this.lblNumericColumns.Location = new System.Drawing.Point(119, 0); 115 115 this.lblNumericColumns.Name = "lblNumericColumns"; 116 116 this.lblNumericColumns.Size = new System.Drawing.Size(92, 26); … … 123 123 this.lblNominalColumns.AutoSize = true; 124 124 this.lblNominalColumns.Dock = System.Windows.Forms.DockStyle.Fill; 125 this.lblNominalColumns.Location = new System.Drawing.Point(1 00, 26);125 this.lblNominalColumns.Location = new System.Drawing.Point(119, 26); 126 126 this.lblNominalColumns.Name = "lblNominalColumns"; 127 127 this.lblNominalColumns.Size = new System.Drawing.Size(92, 26); … … 142 142 this.stringMatrixView.ShowRowsAndColumnsTextBox = false; 143 143 this.stringMatrixView.ShowStatisticalInformation = true; 144 this.stringMatrixView.Size = new System.Drawing.Size( 592, 331);144 this.stringMatrixView.Size = new System.Drawing.Size(655, 374); 145 145 this.stringMatrixView.TabIndex = 4; 146 146 // … … 150 150 this.showVariablesGroupBox.Controls.Add(this.uncheckAllButton); 151 151 this.showVariablesGroupBox.Controls.Add(this.checkAllButton); 152 this.showVariablesGroupBox.Location = new System.Drawing.Point( 393, 0);152 this.showVariablesGroupBox.Location = new System.Drawing.Point(458, 0); 153 153 this.showVariablesGroupBox.Name = "showVariablesGroupBox"; 154 154 this.showVariablesGroupBox.Size = new System.Drawing.Size(97, 71); … … 157 157 this.showVariablesGroupBox.Text = "Show Variables"; 158 158 // 159 // checkInputsTargetButton160 //161 this.checkInputsTargetButton.Image = global::HeuristicLab.DataPreprocessing.Views.PreprocessingIcons.Inputs;162 this.checkInputsTargetButton.Location = new System.Drawing.Point(36, 19);163 this.checkInputsTargetButton.Name = "checkInputsTargetButton";164 this.checkInputsTargetButton.Size = new System.Drawing.Size(24, 24);165 this.checkInputsTargetButton.TabIndex = 14;166 this.toolTip.SetToolTip(this.checkInputsTargetButton, "Show Inputs & Target");167 this.checkInputsTargetButton.UseVisualStyleBackColor = true;168 this.checkInputsTargetButton.Click += new System.EventHandler(this.checkInputsTargetButton_Click);169 //170 // uncheckAllButton171 //172 this.uncheckAllButton.Image = global::HeuristicLab.DataPreprocessing.Views.PreprocessingIcons.None;173 this.uncheckAllButton.Location = new System.Drawing.Point(66, 19);174 this.uncheckAllButton.Name = "uncheckAllButton";175 this.uncheckAllButton.Size = new System.Drawing.Size(24, 24);176 this.uncheckAllButton.TabIndex = 12;177 this.toolTip.SetToolTip(this.uncheckAllButton, "Show None");178 this.uncheckAllButton.UseVisualStyleBackColor = true;179 this.uncheckAllButton.Click += new System.EventHandler(this.uncheckAllButton_Click);180 //181 // checkAllButton182 //183 this.checkAllButton.Image = global::HeuristicLab.DataPreprocessing.Views.PreprocessingIcons.All;184 this.checkAllButton.Location = new System.Drawing.Point(6, 19);185 this.checkAllButton.Name = "checkAllButton";186 this.checkAllButton.Size = new System.Drawing.Size(24, 24);187 this.checkAllButton.TabIndex = 13;188 this.toolTip.SetToolTip(this.checkAllButton, "Show All");189 this.checkAllButton.UseVisualStyleBackColor = true;190 this.checkAllButton.Click += new System.EventHandler(this.checkAllButton_Click);191 //192 159 // lblTNumValues 193 160 // 194 161 this.lblTNumValues.AutoSize = true; 195 162 this.lblTNumValues.Dock = System.Windows.Forms.DockStyle.Fill; 196 this.lblTNumValues.Location = new System.Drawing.Point(2 37, 0);163 this.lblTNumValues.Location = new System.Drawing.Point(275, 0); 197 164 this.lblTNumValues.Name = "lblTNumValues"; 198 165 this.lblTNumValues.Size = new System.Drawing.Size(77, 26); … … 206 173 this.orientationGroupBox.Controls.Add(this.verticalRadioButton); 207 174 this.orientationGroupBox.Controls.Add(this.horizontalRadioButton); 208 this.orientationGroupBox.Location = new System.Drawing.Point( 496, 0);175 this.orientationGroupBox.Location = new System.Drawing.Point(561, 0); 209 176 this.orientationGroupBox.Name = "orientationGroupBox"; 210 177 this.orientationGroupBox.Size = new System.Drawing.Size(94, 71); … … 216 183 // 217 184 this.verticalRadioButton.AutoSize = true; 185 this.verticalRadioButton.Checked = true; 218 186 this.verticalRadioButton.Location = new System.Drawing.Point(6, 32); 219 187 this.verticalRadioButton.Name = "verticalRadioButton"; … … 228 196 // 229 197 this.horizontalRadioButton.AutoSize = true; 230 this.horizontalRadioButton.Checked = true;231 198 this.horizontalRadioButton.Location = new System.Drawing.Point(6, 14); 232 199 this.horizontalRadioButton.Name = "horizontalRadioButton"; 233 200 this.horizontalRadioButton.Size = new System.Drawing.Size(72, 17); 234 201 this.horizontalRadioButton.TabIndex = 0; 235 this.horizontalRadioButton.TabStop = true;236 202 this.horizontalRadioButton.Text = "Horizontal"; 237 203 this.horizontalRadioButton.UseVisualStyleBackColor = true; … … 244 210 this.rowsTextBox.Name = "rowsTextBox"; 245 211 this.rowsTextBox.ReadOnly = true; 246 this.rowsTextBox.Size = new System.Drawing.Size( 33, 20);212 this.rowsTextBox.Size = new System.Drawing.Size(52, 20); 247 213 this.rowsTextBox.TabIndex = 18; 214 this.rowsTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 248 215 // 249 216 // columnsTextBox … … 253 220 this.columnsTextBox.Name = "columnsTextBox"; 254 221 this.columnsTextBox.ReadOnly = true; 255 this.columnsTextBox.Size = new System.Drawing.Size( 33, 20);222 this.columnsTextBox.Size = new System.Drawing.Size(52, 20); 256 223 this.columnsTextBox.TabIndex = 18; 224 this.columnsTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 257 225 // 258 226 // totalValuesTextBox 259 227 // 260 228 this.totalValuesTextBox.Dock = System.Windows.Forms.DockStyle.Fill; 261 this.totalValuesTextBox.Location = new System.Drawing.Point(3 20, 3);229 this.totalValuesTextBox.Location = new System.Drawing.Point(358, 3); 262 230 this.totalValuesTextBox.Name = "totalValuesTextBox"; 263 231 this.totalValuesTextBox.ReadOnly = true; 264 this.totalValuesTextBox.Size = new System.Drawing.Size( 55, 20);232 this.totalValuesTextBox.Size = new System.Drawing.Size(82, 20); 265 233 this.totalValuesTextBox.TabIndex = 18; 234 this.totalValuesTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 266 235 // 267 236 // overviewTableLayoutPanel … … 293 262 this.overviewTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 294 263 this.overviewTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 295 this.overviewTableLayoutPanel.Size = new System.Drawing.Size( 378, 52);264 this.overviewTableLayoutPanel.Size = new System.Drawing.Size(443, 52); 296 265 this.overviewTableLayoutPanel.TabIndex = 19; 297 266 // … … 299 268 // 300 269 this.numericColumnsTextBox.Dock = System.Windows.Forms.DockStyle.Fill; 301 this.numericColumnsTextBox.Location = new System.Drawing.Point( 198, 3);270 this.numericColumnsTextBox.Location = new System.Drawing.Point(217, 3); 302 271 this.numericColumnsTextBox.Name = "numericColumnsTextBox"; 303 272 this.numericColumnsTextBox.ReadOnly = true; 304 this.numericColumnsTextBox.Size = new System.Drawing.Size( 33, 20);273 this.numericColumnsTextBox.Size = new System.Drawing.Size(52, 20); 305 274 this.numericColumnsTextBox.TabIndex = 18; 275 this.numericColumnsTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 306 276 // 307 277 // nominalColumnsTextBox5 308 278 // 309 279 this.nominalColumnsTextBox5.Dock = System.Windows.Forms.DockStyle.Fill; 310 this.nominalColumnsTextBox5.Location = new System.Drawing.Point( 198, 29);280 this.nominalColumnsTextBox5.Location = new System.Drawing.Point(217, 29); 311 281 this.nominalColumnsTextBox5.Name = "nominalColumnsTextBox5"; 312 282 this.nominalColumnsTextBox5.ReadOnly = true; 313 this.nominalColumnsTextBox5.Size = new System.Drawing.Size( 33, 20);283 this.nominalColumnsTextBox5.Size = new System.Drawing.Size(52, 20); 314 284 this.nominalColumnsTextBox5.TabIndex = 18; 285 this.nominalColumnsTextBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 315 286 // 316 287 // missingValuesTextBox 317 288 // 318 289 this.missingValuesTextBox.Dock = System.Windows.Forms.DockStyle.Fill; 319 this.missingValuesTextBox.Location = new System.Drawing.Point(3 20, 29);290 this.missingValuesTextBox.Location = new System.Drawing.Point(358, 29); 320 291 this.missingValuesTextBox.Name = "missingValuesTextBox"; 321 292 this.missingValuesTextBox.ReadOnly = true; 322 this.missingValuesTextBox.Size = new System.Drawing.Size( 55, 20);293 this.missingValuesTextBox.Size = new System.Drawing.Size(82, 20); 323 294 this.missingValuesTextBox.TabIndex = 18; 295 this.missingValuesTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; 324 296 // 325 297 // overviewGroupBox … … 328 300 this.overviewGroupBox.Location = new System.Drawing.Point(3, 0); 329 301 this.overviewGroupBox.Name = "overviewGroupBox"; 330 this.overviewGroupBox.Size = new System.Drawing.Size( 384, 71);302 this.overviewGroupBox.Size = new System.Drawing.Size(449, 71); 331 303 this.overviewGroupBox.TabIndex = 20; 332 304 this.overviewGroupBox.TabStop = false; 333 305 this.overviewGroupBox.Text = "Overview"; 306 // 307 // checkInputsTargetButton 308 // 309 this.checkInputsTargetButton.Image = global::HeuristicLab.DataPreprocessing.Views.PreprocessingIcons.Inputs; 310 this.checkInputsTargetButton.Location = new System.Drawing.Point(36, 19); 311 this.checkInputsTargetButton.Name = "checkInputsTargetButton"; 312 this.checkInputsTargetButton.Size = new System.Drawing.Size(24, 24); 313 this.checkInputsTargetButton.TabIndex = 14; 314 this.toolTip.SetToolTip(this.checkInputsTargetButton, "Show Inputs & Target"); 315 this.checkInputsTargetButton.UseVisualStyleBackColor = true; 316 this.checkInputsTargetButton.Click += new System.EventHandler(this.checkInputsTargetButton_Click); 317 // 318 // uncheckAllButton 319 // 320 this.uncheckAllButton.Image = global::HeuristicLab.DataPreprocessing.Views.PreprocessingIcons.None; 321 this.uncheckAllButton.Location = new System.Drawing.Point(66, 19); 322 this.uncheckAllButton.Name = "uncheckAllButton"; 323 this.uncheckAllButton.Size = new System.Drawing.Size(24, 24); 324 this.uncheckAllButton.TabIndex = 12; 325 this.toolTip.SetToolTip(this.uncheckAllButton, "Show None"); 326 this.uncheckAllButton.UseVisualStyleBackColor = true; 327 this.uncheckAllButton.Click += new System.EventHandler(this.uncheckAllButton_Click); 328 // 329 // checkAllButton 330 // 331 this.checkAllButton.Image = global::HeuristicLab.DataPreprocessing.Views.PreprocessingIcons.All; 332 this.checkAllButton.Location = new System.Drawing.Point(6, 19); 333 this.checkAllButton.Name = "checkAllButton"; 334 this.checkAllButton.Size = new System.Drawing.Size(24, 24); 335 this.checkAllButton.TabIndex = 13; 336 this.toolTip.SetToolTip(this.checkAllButton, "Show All"); 337 this.checkAllButton.UseVisualStyleBackColor = true; 338 this.checkAllButton.Click += new System.EventHandler(this.checkAllButton_Click); 334 339 // 335 340 // StatisticsView … … 342 347 this.Controls.Add(this.stringMatrixView); 343 348 this.Name = "StatisticsView"; 344 this.Size = new System.Drawing.Size( 598, 408);349 this.Size = new System.Drawing.Size(661, 451); 345 350 this.showVariablesGroupBox.ResumeLayout(false); 346 351 this.orientationGroupBox.ResumeLayout(false); -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/StatisticsView.cs
r15110 r15210 34 34 [Content(typeof(StatisticsContent), true)] 35 35 public partial class StatisticsView : ItemView { 36 private bool horizontal = true;36 private bool horizontal = false; 37 37 private StringMatrix statisticsMatrix; 38 38 private static readonly string[] StatisticsNames = new[] { -
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Content/HistogramContent.cs
r15110 r15210 54 54 } 55 55 56 public static DataTable CreateHistogram(IFilteredPreprocessingData preprocessingData, string variableName, string groupingVariableName, DataTableVisualProperties.DataTableHistogramAggregation aggregation, LegendOrder legendOrder = LegendOrder.A ppearance) {56 public static DataTable CreateHistogram(IFilteredPreprocessingData preprocessingData, string variableName, string groupingVariableName, DataTableVisualProperties.DataTableHistogramAggregation aggregation, LegendOrder legendOrder = LegendOrder.Alphabetically) { 57 57 var dataTable = new DataTable { 58 58 VisualProperties = { Title = variableName, HistogramAggregation = aggregation }, -
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Content/PreprocessingChartContent.cs
r15110 r15210 34 34 public class PreprocessingChartContent : Item, IViewShortcut { 35 35 public enum LegendOrder { 36 A ppearance,37 A lphabetically36 Alphabetically, 37 Appearance 38 38 } 39 39 … … 91 91 } 92 92 93 private const int MAX_DISTINCT_VALUES_FOR_GROUPING = 20; 94 public static IEnumerable<string> GetVariableNamesForGrouping(IPreprocessingData preprocessingData) { 93 public static IEnumerable<string> GetVariableNamesForGrouping(IPreprocessingData preprocessingData, int maxDistinctValues = 20) { 95 94 var variableNames = new List<string>(); 96 95 … … 104 103 distinctValues = preprocessingData.GetValues<DateTime>(i).GroupBy(x => x).Count(); 105 104 106 if (distinctValues <= MAX_DISTINCT_VALUES_FOR_GROUPING)105 if (distinctValues <= maxDistinctValues) 107 106 variableNames.Add(preprocessingData.GetVariableName(i)); 108 107 } -
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Content/ScatterPlotContent.cs
r15110 r15210 40 40 } 41 41 42 public static ScatterPlot CreateScatterPlot(IFilteredPreprocessingData preprocessingData, string variableNameX, string variableNameY, string variableNameGroup = "-", LegendOrder legendOrder = LegendOrder.A ppearance) {42 public static ScatterPlot CreateScatterPlot(IFilteredPreprocessingData preprocessingData, string variableNameX, string variableNameY, string variableNameGroup = "-", LegendOrder legendOrder = LegendOrder.Alphabetically) { 43 43 ScatterPlot scatterPlot = new ScatterPlot(); 44 44
Note: See TracChangeset
for help on using the changeset viewer.