- Timestamp:
- 04/09/14 10:24:17 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/ChartLogic.cs
r10658 r10733 34 34 public ChartLogic(ITransactionalPreprocessingData preprocessingData) { 35 35 this.preprocessingData = preprocessingData; 36 }37 38 public DataTable CreateDataTable(String title, DataRowVisualProperties.DataRowChartType chartType) {39 DataTable dataTable = new DataTable(title);40 IEnumerable<string> variableNames = GetVariableNames();41 42 foreach (string variableName in variableNames) {43 DataRow row = CreateDataRow(variableName,chartType);44 dataTable.Rows.Add(row);45 }46 return dataTable;47 36 } 48 37 … … 83 72 } 84 73 74 75 public List<DataRow> CreateAllDataRows(DataRowVisualProperties.DataRowChartType chartType) { 76 List<DataRow> dataRows = new List<DataRow>(); 77 foreach (var name in GetVariableNames()) 78 dataRows.Add(CreateDataRow(name, chartType)); 79 return dataRows; 80 } 81 85 82 } 86 83 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IChartLogic.cs
r10658 r10733 28 28 public interface IChartLogic { 29 29 30 DataTable CreateDataTable(string title,DataRowVisualProperties.DataRowChartType chartType);30 List<DataRow> CreateAllDataRows( DataRowVisualProperties.DataRowChartType chartType); 31 31 32 32 event DataPreprocessingChangedEventHandler Changed;
Note: See TracChangeset
for help on using the changeset viewer.