Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/07/16 19:31:49 (8 years ago)
Author:
bburlacu
Message:

#2597: Fixed some additional issues with the density charts (which are now turned on by default).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/GradientChart.cs

    r14014 r14021  
    142142        if ((value.HasValue && fixedYAxisMin.HasValue && !value.Value.IsAlmost(fixedYAxisMin.Value)) || (value.HasValue != fixedYAxisMin.HasValue)) {
    143143          fixedYAxisMin = value;
    144           // the check below prevents an exception when yMin >= yMax
    145           if (yMin < yMax)
    146             SetupAxis(chart.ChartAreas[0].AxisY, yMin, yMax, YAxisTicks, FixedYAxisMin, FixedYAxisMax);
     144          SetupAxis(chart.ChartAreas[0].AxisY, yMin, yMax, YAxisTicks, FixedYAxisMin, FixedYAxisMax);
    147145        }
    148146      }
     
    154152        if ((value.HasValue && fixedYAxisMax.HasValue && !value.Value.IsAlmost(fixedYAxisMax.Value)) || (value.HasValue != fixedYAxisMax.HasValue)) {
    155153          fixedYAxisMax = value;
    156           // the check below prevents an exception when yMin >= yMax
    157           if (yMin < yMax)
    158             SetupAxis(chart.ChartAreas[0].AxisY, yMin, yMax, YAxisTicks, FixedYAxisMin, FixedYAxisMax);
     154          SetupAxis(chart.ChartAreas[0].AxisY, yMin, yMax, YAxisTicks, FixedYAxisMin, FixedYAxisMax);
    159155        }
    160156      }
Note: See TracChangeset for help on using the changeset viewer.