Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/09 20:10:48 (16 years ago)
Author:
dwagner
Message:

Changed Behaviour of Single value lines; They are now shown without bounds.
OptionsDialog now modifies the model and not the view; (#501 and #502)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/Options/OptionsDialog.cs

    r1237 r1242  
    55namespace HeuristicLab.Visualization.Options {
    66  public partial class OptionsDialog : Form {
    7     private readonly LineChart lc;
     7    private readonly IChartDataRowsModel model;
    88
    9     public OptionsDialog(LineChart lc) {
     9    public OptionsDialog(IChartDataRowsModel model) {
    1010      InitializeComponent();
    11       this.lc = lc;
     11      this.model = model;
    1212    }
    1313
     
    2727
    2828    private void OptionsDialog_Load(object sender, EventArgs e) {
    29       if (lc.GetRows().Count != 0) {
    30         LineSelectCB.DataSource = lc.GetRows();
     29      if (model.Rows.Count != 0) {
     30        LineSelectCB.DataSource = model.Rows;
    3131        LineSelectCB.DisplayMember = "Label";
    3232
Note: See TracChangeset for help on using the changeset viewer.