Changeset 4653
- Timestamp:
- 10/28/10 17:59:06 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBoxPlotView.Designer.cs
r4652 r4653 209 209 210 210 private System.Windows.Forms.Label xAxisLabel; 211 privateSystem.Windows.Forms.ComboBox xAxisComboBox;211 internal System.Windows.Forms.ComboBox xAxisComboBox; 212 212 private System.Windows.Forms.Label yAxisLabel; 213 privateSystem.Windows.Forms.ComboBox yAxisComboBox;213 internal System.Windows.Forms.ComboBox yAxisComboBox; 214 214 private HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart chart; 215 215 private System.Windows.Forms.Label noRunsLabel; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.Designer.cs
r4635 r4653 46 46 private void InitializeComponent() { 47 47 this.components = new System.ComponentModel.Container(); 48 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea 1= new System.Windows.Forms.DataVisualization.Charting.ChartArea();49 System.Windows.Forms.DataVisualization.Charting.Series series 1= new System.Windows.Forms.DataVisualization.Charting.Series();48 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); 49 System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series(); 50 50 this.yJitterLabel = new System.Windows.Forms.Label(); 51 51 this.xJitterlabel = new System.Windows.Forms.Label(); … … 66 66 this.tooltip = new System.Windows.Forms.ToolTip(this.components); 67 67 this.noRunsLabel = new System.Windows.Forms.Label(); 68 this.openBoxPlotViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 68 69 ((System.ComponentModel.ISupportInitialize)(this.xTrackBar)).BeginInit(); 69 70 ((System.ComponentModel.ISupportInitialize)(this.yTrackBar)).BeginInit(); … … 181 182 | System.Windows.Forms.AnchorStyles.Left) 182 183 | System.Windows.Forms.AnchorStyles.Right))); 183 chartArea 1.Name = "ChartArea1";184 this.chart.ChartAreas.Add(chartArea 1);184 chartArea2.Name = "ChartArea1"; 185 this.chart.ChartAreas.Add(chartArea2); 185 186 this.chart.Location = new System.Drawing.Point(6, 30); 186 187 this.chart.Name = "chart"; 187 series 1.ChartArea = "ChartArea1";188 series 1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bubble;189 series 1.CustomProperties = "BubbleMinSize=2, BubbleMaxSize=7";190 series 1.IsVisibleInLegend = false;191 series 1.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;192 series 1.Name = "Bubbles";193 series 1.YValuesPerPoint = 2;194 this.chart.Series.Add(series 1);188 series2.ChartArea = "ChartArea1"; 189 series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bubble; 190 series2.CustomProperties = "BubbleMinSize=2, BubbleMaxSize=7"; 191 series2.IsVisibleInLegend = false; 192 series2.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle; 193 series2.Name = "Bubbles"; 194 series2.YValuesPerPoint = 2; 195 this.chart.Series.Add(series2); 195 196 this.chart.Size = new System.Drawing.Size(633, 248); 196 197 this.chart.TabIndex = 16; … … 265 266 this.noRunsLabel.TabIndex = 21; 266 267 this.noRunsLabel.Text = "No runs could be displayed."; 268 // 269 // openBoxPlotViewToolStripMenuItem 270 // 271 this.chart.ContextMenuStrip.Items.Add(openBoxPlotViewToolStripMenuItem); 272 this.openBoxPlotViewToolStripMenuItem.Name = "openBoxPlotViewToolStripMenuItem"; 273 this.openBoxPlotViewToolStripMenuItem.Size = new System.Drawing.Size(256, 22); 274 this.openBoxPlotViewToolStripMenuItem.Text = "Open BoxPlot View"; 275 this.openBoxPlotViewToolStripMenuItem.Click += new System.EventHandler(this.openBoxPlotViewToolStripMenuItem_Click); 267 276 // 268 277 // RunCollectionBubbleChartView … … 317 326 private System.Windows.Forms.ToolTip tooltip; 318 327 private System.Windows.Forms.Label noRunsLabel; 328 private System.Windows.Forms.ToolStripMenuItem openBoxPlotViewToolStripMenuItem; 319 329 } 320 330 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
r4652 r4653 560 560 return colorImage; 561 561 } 562 563 private void openBoxPlotViewToolStripMenuItem_Click(object sender, EventArgs e) { 564 RunCollectionBoxPlotView boxplotView = new RunCollectionBoxPlotView(); 565 boxplotView.Content = this.Content; 566 boxplotView.xAxisComboBox.SelectedItem = xAxisComboBox.SelectedItem; 567 boxplotView.yAxisComboBox.SelectedItem = yAxisComboBox.SelectedItem; 568 boxplotView.Show(); 569 } 562 570 #endregion 563 571 }
Note: See TracChangeset
for help on using the changeset viewer.