Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/21/11 16:20:18 (13 years ago)
Author:
ascheibe
Message:

#1611

  • switched VisualPropertiesDialog to non-resizeable
  • corrected space between textboxes and made them also anchor to the right
  • the name of the chart can now be changed
Location:
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization
Files:
2 edited

Legend:

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

    r7201 r7221  
    9595      VisualProperties = new DataTableVisualProperties();
    9696      rows = new NamedItemCollection<DataRow>();
     97      visualProperties.Title = name;
    9798      this.RegisterRowsEvents();
    9899    }
     
    101102      VisualProperties = new DataTableVisualProperties();
    102103      rows = new NamedItemCollection<DataRow>();
     104      visualProperties.Title = name;
    103105      this.RegisterRowsEvents();
    104106    }
  • trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataTableVisualProperties.cs

    r6676 r7221  
    5252      }
    5353    }
     54    private string title;
     55    public string Title {
     56      get { return title; }
     57      set {
     58        if (title != value) {
     59          title = value;
     60          OnPropertyChanged("Title");
     61        }
     62      }
     63    }
    5464    private Font axisTitleFont;
    5565    public Font AxisTitleFont {
     
    315325      get { return titleColor; }
    316326      set { titleColor = value; }
     327    }
     328    [Storable(Name = "Title")]
     329    private string StorableTitle {
     330      get { return title; }
     331      set { title = value; }
    317332    }
    318333    [Storable(Name = "AxisTitleFont")]
     
    436451      if (original.axisTitleFont != null)
    437452        this.axisTitleFont = (Font)original.axisTitleFont.Clone();
     453      this.title = original.title;
    438454      this.xAxisTitle = original.xAxisTitle;
    439455      this.yAxisTitle = original.yAxisTitle;
     
    458474    }
    459475    public DataTableVisualProperties() {
    460       titleColor = Color.Black;
    461       axisTitleColor = Color.Black;
     476      this.titleColor = Color.Black;
     477      this.axisTitleColor = Color.Black;
     478      this.title = string.Empty;
    462479      this.xAxisTitle = string.Empty;
    463480      this.yAxisTitle = string.Empty;
Note: See TracChangeset for help on using the changeset viewer.