Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/12/10 01:21:11 (13 years ago)
Author:
swagner
Message:

Worked on flexible row coloring for data rows (#925)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis/3.3/AlleleFrequencyAnalyzer.cs

    r4722 r4777  
    164164          allelesTable = new DataTable("Alleles");
    165165          results.Add(new Result("Alleles", allelesTable));
     166
    166167          allelesTable.Rows.Add(new DataRow("Unique Alleles"));
    167           DataRowVisualProperties visualProperties = new DataRowVisualProperties();
    168           visualProperties.ChartType = DataRowVisualProperties.DataRowChartType.Line;
    169           visualProperties.SecondYAxis = true;
    170           visualProperties.StartIndexZero = true;
    171           allelesTable.Rows.Add(new DataRow("Unique Alleles of Best Known Solution", null, visualProperties));
    172           allelesTable.Rows.Add(new DataRow("Fixed Alleles", null, visualProperties));
    173           allelesTable.Rows.Add(new DataRow("Fixed Alleles of Best Known Solution", null, visualProperties));
    174           allelesTable.Rows.Add(new DataRow("Lost Alleles of Best Known Solution", null, visualProperties));
     168
     169          allelesTable.Rows.Add(new DataRow("Unique Alleles of Best Known Solution", null));
     170          allelesTable.Rows["Unique Alleles of Best Known Solution"].VisualProperties.SecondYAxis = true;
     171          allelesTable.Rows["Unique Alleles of Best Known Solution"].VisualProperties.StartIndexZero = true;
     172
     173          allelesTable.Rows.Add(new DataRow("Fixed Alleles", null));
     174          allelesTable.Rows["Fixed Alleles"].VisualProperties.SecondYAxis = true;
     175          allelesTable.Rows["Fixed Alleles"].VisualProperties.StartIndexZero = true;
     176
     177          allelesTable.Rows.Add(new DataRow("Fixed Alleles of Best Known Solution", null));
     178          allelesTable.Rows["Fixed Alleles of Best Known Solution"].VisualProperties.SecondYAxis = true;
     179          allelesTable.Rows["Fixed Alleles of Best Known Solution"].VisualProperties.StartIndexZero = true;
     180
     181          allelesTable.Rows.Add(new DataRow("Lost Alleles of Best Known Solution", null));
     182          allelesTable.Rows["Lost Alleles of Best Known Solution"].VisualProperties.SecondYAxis = true;
     183          allelesTable.Rows["Lost Alleles of Best Known Solution"].VisualProperties.StartIndexZero = true;
    175184        } else {
    176185          allelesTable = (DataTable)results["Alleles"].Value;
Note: See TracChangeset for help on using the changeset viewer.