Changeset 10712 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingChartView.cs
- Timestamp:
- 04/02/14 15:39:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingChartView.cs
r10658 r10712 36 36 private IChartLogic logic; 37 37 private DataTable dataTable; 38 private ICheckedItemList<StringValue> variableItemList; 38 private ICheckedItemList<StringValue> variableItemList; 39 39 protected DataRowVisualProperties.DataRowChartType chartType; 40 40 protected string chartTitle; … … 50 50 51 51 private void CheckedItemsChanged(object sender, CollectionItemsChangedEventArgs<IndexedItem<StringValue>> checkedItems) { 52 foreach(IndexedItem<StringValue> item in checkedItems.Items) 53 { 52 foreach (IndexedItem<StringValue> item in checkedItems.Items) { 54 53 string variableName = item.Value.Value; 55 54 if (VariableIsDisplayed(variableName)) { … … 122 121 case DataPreprocessingChangedEventType.ChangeItem: 123 122 dataTable.Rows.Remove(logic.GetVariableNameByIndex(e.Column)); 124 dataTable.Rows.Add(logic.CreateDataRow(logic.GetVariableNameByIndex(e.Column), chartType));123 dataTable.Rows.Add(logic.CreateDataRow(logic.GetVariableNameByIndex(e.Column), chartType)); 125 124 break; 126 125 case DataPreprocessingChangedEventType.DeleteRow: … … 155 154 } 156 155 157 158 156 } 159 157 }
Note: See TracChangeset
for help on using the changeset viewer.