Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/10 12:03:25 (14 years ago)
Author:
mkommend
Message:

adapted view captions (ticket #893)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/ScatterPlotView.cs

    r3710 r3764  
    3838  [Content(typeof(DataAnalysisSolution), true)]
    3939  public partial class ScatterPlotView : AsynchronousContentView {
    40     private const string DEFAULT_CAPTION = "Scatter Plot";
    4140    private const string ALL_SERIES = "All Samples";
    4241    private const string TRAINING_SERIES = "Training Samples";
     
    5150      : base() {
    5251      InitializeComponent();
    53       this.Caption = DEFAULT_CAPTION;
    5452
    5553      this.chart.Series.Add(ALL_SERIES);
     
    110108      else {
    111109        if (Content != null) {
    112           this.Caption = Content.ItemName + " " + DEFAULT_CAPTION;
    113110          this.UpdateSeries();
    114111          if (!this.chart.Series.Any(s => s.Points.Count > 0))
    115112            this.ToggleSeriesData(this.chart.Series[TRAINING_SERIES]);
    116         } else {
    117           this.Caption = DEFAULT_CAPTION;
    118           this.ClearChart();
     113          else
     114            this.ClearChart();
    119115        }
    120116      }
Note: See TracChangeset for help on using the changeset viewer.