Changeset 15607
- Timestamp:
- 01/12/18 18:12:58 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.Designer.cs
r15583 r15607 54 54 this.yAxisComboBox = new System.Windows.Forms.ComboBox(); 55 55 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 56 this.openBubbleChartViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 56 57 this.noRunsLabel = new System.Windows.Forms.Label(); 57 58 this.splitContainer = new System.Windows.Forms.SplitContainer(); … … 112 113 // chart 113 114 // 114 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 115 | System.Windows.Forms.AnchorStyles.Left) 115 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 116 | System.Windows.Forms.AnchorStyles.Left) 116 117 | System.Windows.Forms.AnchorStyles.Right))); 117 118 chartArea1.Name = "ChartArea1"; … … 132 133 this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove); 133 134 // 135 // openBubbleChartViewToolStripMenuItem 136 // 137 this.openBubbleChartViewToolStripMenuItem.Name = "openBubbleChartViewToolStripMenuItem"; 138 this.openBubbleChartViewToolStripMenuItem.Size = new System.Drawing.Size(256, 22); 139 this.openBubbleChartViewToolStripMenuItem.Text = "Open BubbleChart View"; 140 this.openBubbleChartViewToolStripMenuItem.Click += new System.EventHandler(this.openBubbleChartViewToolStripMenuItem_Click); 141 // 134 142 // noRunsLabel 135 143 // … … 183 191 // statisticsGroupBox 184 192 // 185 this.statisticsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 186 | System.Windows.Forms.AnchorStyles.Left) 193 this.statisticsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 194 | System.Windows.Forms.AnchorStyles.Left) 187 195 | System.Windows.Forms.AnchorStyles.Right))); 188 196 this.statisticsGroupBox.Controls.Add(this.statisticsMatrixView); … … 239 247 private System.Windows.Forms.ToolTip tooltip; 240 248 protected System.Windows.Forms.CheckBox showStatisticsCheckBox; 249 private System.Windows.Forms.ToolStripMenuItem openBubbleChartViewToolStripMenuItem; 241 250 } 242 251 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.cs
r15583 r15607 48 48 public RunCollectionBoxPlotView() { 49 49 InitializeComponent(); 50 chart.ContextMenuStrip.Items.Insert(0, openBubbleChartViewToolStripMenuItem); 51 50 52 categoricalMapping = new Dictionary<int, Dictionary<object, double>>(); 51 53 seriesCache = new SortedDictionary<double, Series>(); … … 224 226 AxisDimension axisDimension = (AxisDimension)Enum.Parse(typeof(AxisDimension), selectedAxis); 225 227 switch (axisDimension) { 226 case AxisDimension.Color: value = new StringValue(run.Color.ToString()); 228 case AxisDimension.Color: 229 value = new StringValue(run.Color.ToString()); 227 230 break; 228 231 } … … 445 448 } 446 449 450 private void openBubbleChartViewToolStripMenuItem_Click(object sender, EventArgs e) { 451 RunCollectionBubbleChartView bubbleChartView = new RunCollectionBubbleChartView(); 452 bubbleChartView.Content = this.Content; 453 bubbleChartView.xAxisComboBox.SelectedItem = xAxisComboBox.SelectedItem; 454 bubbleChartView.yAxisComboBox.SelectedItem = yAxisComboBox.SelectedItem; 455 bubbleChartView.Show(); 456 } 457 447 458 private void chart_MouseMove(object sender, MouseEventArgs e) { 448 459 string newTooltipText = string.Empty; … … 463 474 } 464 475 465 466 467 468 469 476 public bool StatisticsVisible { 477 get { return splitContainer.Panel2Collapsed; } 478 set { splitContainer.Panel2Collapsed = value; } 479 } 480 470 481 public void SetXAxis(string axisName) { 471 482 xAxisComboBox.SelectedItem = axisName; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.Designer.cs
r15583 r15607 201 201 // chart 202 202 // 203 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 204 | System.Windows.Forms.AnchorStyles.Left) 203 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 204 | System.Windows.Forms.AnchorStyles.Left) 205 205 | System.Windows.Forms.AnchorStyles.Right))); 206 206 chartArea1.Name = "ChartArea1"; … … 455 455 456 456 private System.Windows.Forms.Label xAxisLabel; 457 privateSystem.Windows.Forms.ComboBox xAxisComboBox;457 internal System.Windows.Forms.ComboBox xAxisComboBox; 458 458 private System.Windows.Forms.Label yAxisLabel; 459 privateSystem.Windows.Forms.ComboBox yAxisComboBox;459 internal System.Windows.Forms.ComboBox yAxisComboBox; 460 460 private System.Windows.Forms.TrackBar yTrackBar; 461 461 private System.Windows.Forms.TrackBar xTrackBar;
Note: See TracChangeset
for help on using the changeset viewer.