- Timestamp:
- 05/11/10 12:03:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/ScatterPlotView.cs
r3710 r3764 38 38 [Content(typeof(DataAnalysisSolution), true)] 39 39 public partial class ScatterPlotView : AsynchronousContentView { 40 private const string DEFAULT_CAPTION = "Scatter Plot";41 40 private const string ALL_SERIES = "All Samples"; 42 41 private const string TRAINING_SERIES = "Training Samples"; … … 51 50 : base() { 52 51 InitializeComponent(); 53 this.Caption = DEFAULT_CAPTION;54 52 55 53 this.chart.Series.Add(ALL_SERIES); … … 110 108 else { 111 109 if (Content != null) { 112 this.Caption = Content.ItemName + " " + DEFAULT_CAPTION;113 110 this.UpdateSeries(); 114 111 if (!this.chart.Series.Any(s => s.Points.Count > 0)) 115 112 this.ToggleSeriesData(this.chart.Series[TRAINING_SERIES]); 116 } else { 117 this.Caption = DEFAULT_CAPTION; 118 this.ClearChart(); 113 else 114 this.ClearChart(); 119 115 } 120 116 }
Note: See TracChangeset
for help on using the changeset viewer.