Changeset 13002
- Timestamp:
- 10/14/15 19:51:05 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.Designer.cs
r12493 r13002 46 46 private void InitializeComponent() { 47 47 this.components = new System.ComponentModel.Container(); 48 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea 2= new System.Windows.Forms.DataVisualization.Charting.ChartArea();49 System.Windows.Forms.DataVisualization.Charting.Legend legend 2= new System.Windows.Forms.DataVisualization.Charting.Legend();48 System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); 49 System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); 50 50 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 51 51 this.label1 = new System.Windows.Forms.Label(); … … 57 57 // chart 58 58 // 59 this.chart.AllowDrop = true; 59 60 this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 60 61 | System.Windows.Forms.AnchorStyles.Left) 61 62 | System.Windows.Forms.AnchorStyles.Right))); 62 chartArea 2.Name = "ChartArea1";63 this.chart.ChartAreas.Add(chartArea 2);64 legend 2.Alignment = System.Drawing.StringAlignment.Center;65 legend 2.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;66 legend 2.Name = "Legend1";67 this.chart.Legends.Add(legend 2);63 chartArea1.Name = "ChartArea1"; 64 this.chart.ChartAreas.Add(chartArea1); 65 legend1.Alignment = System.Drawing.StringAlignment.Center; 66 legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top; 67 legend1.Name = "Legend1"; 68 this.chart.Legends.Add(legend1); 68 69 this.chart.Location = new System.Drawing.Point(6, 28); 69 70 this.chart.Name = "chart"; … … 71 72 this.chart.TabIndex = 0; 72 73 this.chart.Text = "chart"; 74 this.chart.DragDrop += new System.Windows.Forms.DragEventHandler(this.chart_DragDrop); 75 this.chart.DragEnter += new System.Windows.Forms.DragEventHandler(this.chart_DragEnter); 73 76 this.chart.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.Chart_MouseDoubleClick); 74 77 this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs
r12642 r13002 265 265 } 266 266 267 private void chart_DragDrop(object sender, DragEventArgs e) { 268 if (e.Data.GetDataPresent("HeuristicLab")) { 269 var regressionSolution = (IRegressionSolution)e.Data.GetData("HeuristicLab"); 270 AddRegressionSolution(regressionSolution); 271 } 272 } 273 274 private void chart_DragEnter(object sender, DragEventArgs e) { 275 e.Effect = DragDropEffects.Copy; 276 } 277 267 278 private void residualComboBox_SelectedIndexChanged(object sender, EventArgs e) { 268 279 UpdateChart();
Note: See TracChangeset
for help on using the changeset viewer.