Changeset 15973 for branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls
- Timestamp:
- 06/28/18 11:13:37 (6 years ago)
- Location:
- branches/2522_RefactorPluginInfrastructure
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2522_RefactorPluginInfrastructure
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/FactorPartialDependencePlot.cs
r15583 r15973 143 143 // Configure axis 144 144 chart.CustomizeAllChartAreas(); 145 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 146 chart.ChartAreas[0].AxisX.ScaleView.Zoomable = true; 147 chart.ChartAreas[0].CursorX.Interval = 0; 148 149 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 150 chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true; 151 chart.ChartAreas[0].CursorY.Interval = 0; 145 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = false; 146 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = false; 147 148 chart.ChartAreas[0].Axes.ToList().ForEach(x => { x.ScaleView.Zoomable = false; }); 152 149 153 150 Disposed += Control_Disposed; -
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/PartialDependencePlot.cs
r15583 r15973 215 215 // Configure axis 216 216 chart.CustomizeAllChartAreas(); 217 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 218 chart.ChartAreas[0].AxisX.ScaleView.Zoomable = true; 219 chart.ChartAreas[0].CursorX.Interval = 0; 220 221 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 222 chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true; 223 chart.ChartAreas[0].CursorY.Interval = 0; 217 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = false; 218 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = false; 219 220 chart.ChartAreas[0].Axes.ToList().ForEach(x => { x.ScaleView.Zoomable = false; }); 224 221 225 222 configToolStripMenuItem = new ToolStripMenuItem("Configuration"); … … 351 348 352 349 private void RecalculateTrainingLimits(bool initializeAxisRanges) { 353 trainingMin = solutions.Select(s => s.ProblemData.Dataset.GetDoubleValues(freeVariable, s.ProblemData.TrainingIndices). Min()).Max();354 trainingMax = solutions.Select(s => s.ProblemData.Dataset.GetDoubleValues(freeVariable, s.ProblemData.TrainingIndices). Max()).Min();350 trainingMin = solutions.Select(s => s.ProblemData.Dataset.GetDoubleValues(freeVariable, s.ProblemData.TrainingIndices).Where(x => !double.IsNaN(x)).Min()).Max(); 351 trainingMax = solutions.Select(s => s.ProblemData.Dataset.GetDoubleValues(freeVariable, s.ProblemData.TrainingIndices).Where(x => !double.IsNaN(x)).Max()).Min(); 355 352 356 353 if (initializeAxisRanges) { … … 702 699 private void config_Click(object sender, EventArgs e) { 703 700 configurationDialog.ShowDialog(this); 701 OnZoomChanged(this, EventArgs.Empty); 704 702 } 705 703
Note: See TracChangeset
for help on using the changeset viewer.