Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13808


Ignore:
Timestamp:
04/27/16 22:05:41 (8 years ago)
Author:
bburlacu
Message:

#2597: Start implementing table layout panel for gradient charts in a separate view.

Location:
branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/GradientChart.cs

    r13783 r13808  
    179179    }
    180180
    181     private void UpdateChart() {
     181    public void Configure(IEnumerable<IRegressionSolution> solutions, IRegressionProblemData pd, ModifiableDataset dataset, string variable, double min, double max, int points) {
     182      if (!SolutionsCompatibleWithProblemData(pd, solutions))
     183        throw new ArgumentException("Solutions are not compatible with the problem data.");
     184      this.solutionList = new List<IRegressionSolution>(solutions);
     185      this.problemData = pd;
     186      this.variable = variable;
     187      this.internalDataset = dataset;
     188      this.min = min;
     189      this.max = max;
     190      this.points = points;
     191    }
     192
     193    public void UpdateChart() {
    182194      // throw exceptions?
    183195      if (internalDataset == null || solutionList == null || !solutionList.Any())
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj

    r13780 r13808  
    293293    <Compile Include="RegressionSolutionGradientView.Designer.cs">
    294294      <DependentUpon>RegressionSolutionGradientView.cs</DependentUpon>
     295    </Compile>
     296    <Compile Include="RegressionSolutionTargetResponseGradientView.cs">
     297      <SubType>UserControl</SubType>
     298    </Compile>
     299    <Compile Include="RegressionSolutionTargetResponseGradientView.Designer.cs">
     300      <DependentUpon>RegressionSolutionTargetResponseGradientView.cs</DependentUpon>
    295301    </Compile>
    296302    <Compile Include="Regression\RegressionEnsembleSolutionModelWeightsView.cs">
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/RegressionSolutionGradientView.cs

    r13780 r13808  
    2727namespace HeuristicLab.Problems.DataAnalysis.Views {
    2828  [View("Gradient View")]
    29   [Content(typeof(IRegressionSolution), false)]
     29  [Content(typeof(IRegressionSolution))]
    3030  public partial class RegressionSolutionGradientView : DataAnalysisSolutionEvaluationView {
    3131    public RegressionSolutionGradientView() {
Note: See TracChangeset for help on using the changeset viewer.