- Timestamp:
- 01/22/14 15:56:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/LineChartLogic.cs
r10303 r10377 3 3 using System.Linq; 4 4 using System.Text; 5 using HeuristicLab.Analysis; 5 6 6 7 namespace HeuristicLab.DataPreprocessing … … 8 9 public class LineChartLogic:ILineChartLogic 9 10 { 11 private IPreprocessingData preprocessingData; 12 13 public LineChartLogic(IPreprocessingData preprocessingData) { 14 this.preprocessingData = preprocessingData; 15 16 } 17 18 public void FillDataTable(DataTable dataTable) { 19 IEnumerable<string> variableNames = preprocessingData.VariableNames; 20 21 foreach(string variableName in variableNames) 22 { 23 IList<double> values = preprocessingData.GetValues<double>(variableName); 24 DataRow row = new DataRow(variableName, "", values); 25 dataTable.Rows.Add(row); 26 } 27 28 } 10 29 } 11 30 }
Note: See TracChangeset
for help on using the changeset viewer.