Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsInputView.cs =================================================================== diff -u -rb81b32bacd7ae86b70a551dc70b0b7ad832f28b5 -r89a3621eb11e6356d1af674fca44b7769de3c54b --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsInputView.cs (.../MacroStabilityInwardsInputView.cs) (revision b81b32bacd7ae86b70a551dc70b0b7ad832f28b5) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsInputView.cs (.../MacroStabilityInwardsInputView.cs) (revision 89a3621eb11e6356d1af674fca44b7769de3c54b) @@ -81,7 +81,7 @@ /// /// Creates a new instance of . /// - /// The data to show in the view. + /// The calculation to show the input for. /// for obtaining the normative assessment level. /// Thrown when any input parameter is null. public MacroStabilityInwardsInputView(MacroStabilityInwardsCalculationScenario data, Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsOutputChartControl.cs =================================================================== diff -u -rb81b32bacd7ae86b70a551dc70b0b7ad832f28b5 -r89a3621eb11e6356d1af674fca44b7769de3c54b --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsOutputChartControl.cs (.../MacroStabilityInwardsOutputChartControl.cs) (revision b81b32bacd7ae86b70a551dc70b0b7ad832f28b5) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsOutputChartControl.cs (.../MacroStabilityInwardsOutputChartControl.cs) (revision 89a3621eb11e6356d1af674fca44b7769de3c54b) @@ -102,7 +102,7 @@ /// /// Creates a new instance of . /// - /// The data to show in the view. + /// The calculation to show the output for. /// for obtaining the normative assessment level. /// Thrown when any input parameter is null. public MacroStabilityInwardsOutputChartControl(MacroStabilityInwardsCalculationScenario data, @@ -301,7 +301,7 @@ SetSoilProfileChartData(); } - SetWaternetExtremeChartData(DerivedMacroStabilityInwardsInput.GetWaternetExtreme(input, RoundedDouble.NaN)); + SetWaternetExtremeChartData(DerivedMacroStabilityInwardsInput.GetWaternetExtreme(input, GetEffectiveAssessmentLevel())); SetWaternetDailyChartData(DerivedMacroStabilityInwardsInput.GetWaternetDaily(input)); if (data.Output != null) @@ -469,5 +469,12 @@ waternetLineLookup.Add(waternetLine, waternetLineChartData); } } + + private RoundedDouble GetEffectiveAssessmentLevel() + { + return data.InputParameters.UseAssessmentLevelManualInput + ? data.InputParameters.AssessmentLevel + : getNormativeAssessmentLevelFunc(); + } } } \ No newline at end of file