Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/LocationsView.cs
===================================================================
diff -u -r55ef1e185a9cdaac7edd90877fb57c50370a1140 -r13d9407c89466e20fe912bb64d078358f8d03afc
--- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/LocationsView.cs (.../LocationsView.cs) (revision 55ef1e185a9cdaac7edd90877fb57c50370a1140)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/LocationsView.cs (.../LocationsView.cs) (revision 13d9407c89466e20fe912bb64d078358f8d03afc)
@@ -25,6 +25,7 @@
using System.Windows.Forms;
using Core.Common.Controls.Views;
using Core.Common.Utils.Extensions;
+using Ringtoets.Common.Data.Hydraulics.IllustrationPoints;
using Ringtoets.Common.Forms.Properties;
namespace Ringtoets.Common.Forms.Views
@@ -180,6 +181,8 @@
private void OnSelectionChanged()
{
SelectionChanged?.Invoke(this, new EventArgs());
+
+ illustrationPointsChartControl.Data = GetGeneralIllustrationPointsResult();
}
#region Event handling
@@ -202,6 +205,13 @@
OnSelectionChanged();
}
+ ///
+ /// Gets the general illustration points result.
+ ///
+ /// The general illustration points if it has obtained as part of the calculation, null
+ /// otherwise.
+ protected abstract GeneralResult GetGeneralIllustrationPointsResult();
+
private void SelectAllButton_Click(object sender, EventArgs e)
{
SetShouldCalculateForAllRowsAndRefresh(true);