Changeset 3614 for trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
- Timestamp:
- 05/05/10 00:10:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
r3566 r3614 63 63 this.isSelecting = false; 64 64 65 66 65 this.chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 67 66 this.chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; … … 122 121 private void run_Changed(object sender, EventArgs e) { 123 122 IRun run = (IRun)sender; 123 UpdateRun(run); 124 } 125 126 private void UpdateRun(IRun run) { 124 127 DataPoint point = this.chart.Series[0].Points.Where(p => p.Tag == run).SingleOrDefault(); 125 128 if (point != null) { … … 129 132 } else 130 133 AddDataPoint(run); 134 135 if (this.chart.Series[0].Points.Count == 0) 136 noRunsLabel.Visible = true; 137 else 138 noRunsLabel.Visible = false; 131 139 } 132 140 … … 136 144 UpdateComboBoxes(); 137 145 UpdateDataPoints(); 146 foreach(IRun run in Content) 147 UpdateRun(run); 138 148 } 139 149 private void Content_ColumnNamesChanged(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.