- Timestamp:
- 11/12/14 15:58:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Exporters/SymbolicSolutionExcelExporter.cs
r11523 r11541 44 44 } 45 45 46 public v oid Export(IDataAnalysisSolution solution, string fileName) {46 public virtual void Export(IDataAnalysisSolution solution, string fileName) { 47 47 var symbSolution = solution as ISymbolicDataAnalysisSolution; 48 48 if (symbSolution == null) throw new NotSupportedException("This solution cannot be exported to Excel"); … … 52 52 } 53 53 54 pr otected virtualvoid ExportChart(string fileName, ISymbolicDataAnalysisSolution solution, string formula) {54 private void ExportChart(string fileName, ISymbolicDataAnalysisSolution solution, string formula) { 55 55 FileInfo newFile = new FileInfo(fileName); 56 56 if (newFile.Exists) { … … 85 85 } 86 86 87 pr otected virtualvoid FormatModelSheet(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisSolution solution, IEnumerable<string> formulaParts) {87 private void FormatModelSheet(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisSolution solution, IEnumerable<string> formulaParts) { 88 88 int row = 1; 89 89 modelWorksheet.Cells[row, 1].Value = "Model"; … … 224 224 } 225 225 226 pr otected virtualvoid AddCharts(ExcelWorksheet chartsWorksheet) {226 private void AddCharts(ExcelWorksheet chartsWorksheet) { 227 227 chartsWorksheet.Names.AddFormula("AllId", "OFFSET('Estimated Values'!$A$1,1,0, COUNTA('Estimated Values'!$A:$A)-1)"); 228 228 chartsWorksheet.Names.AddFormula("AllTarget", "OFFSET('Estimated Values'!$B$1,1,0, COUNTA('Estimated Values'!$B:$B)-1)"); … … 260 260 } 261 261 262 protected v irtual void AddModelTreePicture(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisModel model) {262 protected void AddModelTreePicture(ExcelWorksheet modelWorksheet, ISymbolicDataAnalysisModel model) { 263 263 SymbolicExpressionTreeChart modelTreePicture = new SymbolicExpressionTreeChart(); 264 264 modelTreePicture.Tree = model.SymbolicExpressionTree;
Note: See TracChangeset
for help on using the changeset viewer.