Changeset 10992 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/HistogramView.cs
- Timestamp:
- 06/11/14 15:06:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/HistogramView.cs
r10942 r10992 18 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 19 */ 20 #endregion 20 #endregion 21 21 using System; 22 22 using System.Windows.Forms; … … 40 40 base.OnContentChanged(); 41 41 if (Content != null) { 42 logic = Content.ChartLogic;43 42 44 43 classifierComboBox.Items.Clear(); 45 44 classifierComboBox.Items.Add("None"); 46 45 47 foreach (string var in logic.GetVariableNamesForHistogramClassification()) {46 foreach (string var in Content.GetVariableNamesForHistogramClassification()) { 48 47 classifierComboBox.Items.Add(var); 49 48 } … … 66 65 67 66 if (classifierComboBox.SelectedIndex != 0) { 68 Classification = logic.GetVariableValues(classifierComboBox.SelectedItem.ToString()); 67 int columndIndex = Content.PreprocessingData.GetColumnIndex(classifierComboBox.SelectedItem.ToString()); 68 Classification = Content.PreprocessingData.GetValues<double>(columndIndex); 69 69 } else { 70 70 Classification = null;
Note: See TracChangeset
for help on using the changeset viewer.