Changeset 15839
- Timestamp:
- 03/12/18 15:37:28 (7 years ago)
- Location:
- trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/FactorPartialDependencePlot.cs
r15583 r15839 144 144 chart.CustomizeAllChartAreas(); 145 145 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 146 chart.ChartAreas[0].AxisX.ScaleView.Zoomable = true;147 146 chart.ChartAreas[0].CursorX.Interval = 0; 148 147 149 148 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 150 chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true;151 149 chart.ChartAreas[0].CursorY.Interval = 0; 150 151 chart.ChartAreas[0].Axes.ToList().ForEach(x => { x.ScaleView.Zoomable = false; }); 152 152 153 153 Disposed += Control_Disposed; -
trunk/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/PartialDependencePlot.cs
r15818 r15839 216 216 chart.CustomizeAllChartAreas(); 217 217 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 218 chart.ChartAreas[0].AxisX.ScaleView.Zoomable = true;219 218 chart.ChartAreas[0].CursorX.Interval = 0; 220 219 221 220 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 222 chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true;223 221 chart.ChartAreas[0].CursorY.Interval = 0; 222 223 chart.ChartAreas[0].Axes.ToList().ForEach(x => { x.ScaleView.Zoomable = false; }); 224 224 225 225 configToolStripMenuItem = new ToolStripMenuItem("Configuration"); … … 351 351 352 352 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();353 trainingMin = solutions.Select(s => s.ProblemData.Dataset.GetDoubleValues(freeVariable, s.ProblemData.TrainingIndices).Where(x => !double.IsNaN(x)).Min()).Max(); 354 trainingMax = solutions.Select(s => s.ProblemData.Dataset.GetDoubleValues(freeVariable, s.ProblemData.TrainingIndices).Where(x => !double.IsNaN(x)).Max()).Min(); 355 355 356 356 if (initializeAxisRanges) {
Note: See TracChangeset
for help on using the changeset viewer.