Changeset 11715


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

#2031 made it possible to set axis in boxplot view and enabled functionality in statistical tests view for showing data in the box plot

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Statistics.Views/3.3/StatisticalTestsView.cs

    r11705 r11715  
    473473      RunCollectionBoxPlotView boxplotView = new RunCollectionBoxPlotView();
    474474      boxplotView.Content = Content;
    475       // TODO: enable as soon as we move to HeuristicLab.Optimization.Views
    476       // boxplotView.xAxisComboBox.SelectedItem = xAxisComboBox.SelectedItem;
    477       // boxplotView.yAxisComboBox.SelectedItem = yAxisComboBox.SelectedItem;
     475      boxplotView.SetXAxis(groupComboBox.SelectedItem.ToString());
     476      boxplotView.SetYAxis(resultComboBox.SelectedItem.ToString());
     477
    478478      boxplotView.Show();
    479479    }
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.cs

    r11344 r11715  
    453453    }
    454454
     455    public void SetXAxis(string axisName) {
     456      xAxisComboBox.SelectedItem = axisName;
     457    }
     458
     459    public void SetYAxis(string axisName) {
     460      yAxisComboBox.SelectedItem = axisName;
     461    }
    455462  }
    456463}
Note: See TracChangeset for help on using the changeset viewer.