Changeset 11611


Ignore:
Timestamp:
12/01/14 22:09:58 (8 years ago)
Author:
ascheibe
Message:

#2031 adapted statistical testing view to new histogram

Location:
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/HeuristicLab.Analysis.Statistics-3.3.csproj

    r11601 r11611  
    120120  <ItemGroup>
    121121    <Compile Include="BonferroniHolm.cs" />
    122     <Compile Include="DensityDataTableView.cs">
    123       <SubType>UserControl</SubType>
    124     </Compile>
    125122    <Compile Include="EnumerableStatisticsExtension.cs" />
    126123    <Compile Include="ExpFitting.cs" />
    127124    <Compile Include="IFitting.cs" />
    128     <Compile Include="NormalDistribution.cs" />
    129125    <Compile Include="LinearLeastSquaresFitting.cs" />
    130126    <Compile Include="LogFitting.cs" />
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.cs

    r11601 r11611  
    205205        }
    206206
    207         dataTableView.Content = histogramDataTable;
     207        GenerateChart(histogramDataTable);
    208208        stringConvertibleMatrixView.Content = dt;
     209      }
     210    }
     211
     212    private void GenerateChart(DataTable histogramTable) {
     213      foreach (var row in histogramTable.Rows) {
     214        dataTableView.AddPoints(row.Name, row.Values, true);
    209215      }
    210216    }
  • branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestingView.designer.cs

    r11601 r11611  
    7474      this.tabPage1 = new System.Windows.Forms.TabPage();
    7575      this.tabPage2 = new System.Windows.Forms.TabPage();
    76       this.dataTableView = new DensityDataTableView();
     76      this.dataTableView = new HeuristicLab.Analysis.Views.HistogramControl();
    7777      this.contextMenuStrip1.SuspendLayout();
    7878      ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     
    456456            | System.Windows.Forms.AnchorStyles.Left)
    457457            | System.Windows.Forms.AnchorStyles.Right)));
    458       this.dataTableView.Caption = "DataTable View";
    459       this.dataTableView.Content = null;
    460458      this.dataTableView.Location = new System.Drawing.Point(6, 6);
    461459      this.dataTableView.Name = "dataTableView";
    462       this.dataTableView.ReadOnly = false;
    463460      this.dataTableView.Size = new System.Drawing.Size(910, 529);
    464461      this.dataTableView.TabIndex = 0;
     
    523520    private System.Windows.Forms.TabPage tabPage1;
    524521    private System.Windows.Forms.TabPage tabPage2;
    525     private DensityDataTableView dataTableView;
     522    private HeuristicLab.Analysis.Views.HistogramControl dataTableView;
    526523  }
    527524}
Note: See TracChangeset for help on using the changeset viewer.