Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsInputView.cs =================================================================== diff -u -r93036b575ee81b4517b29db51f1eadf81454fb93 -r7938567fa945e26d2e66bba8101841eb12d01d88 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsInputView.cs (.../GrassCoverErosionInwardsInputView.cs) (revision 93036b575ee81b4517b29db51f1eadf81454fb93) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsInputView.cs (.../GrassCoverErosionInwardsInputView.cs) (revision 7938567fa945e26d2e66bba8101841eb12d01d88) @@ -21,6 +21,7 @@ using System.Windows.Forms; using Core.Common.Base; +using Core.Common.Utils.Extensions; using Core.Components.Chart.Data; using Core.Components.Chart.Forms; using Ringtoets.Common.Data.DikeProfiles; @@ -123,9 +124,7 @@ { SetChartData(); - foreshoreChartData.NotifyObservers(); - dikeGeometryChartData.NotifyObservers(); - dikeHeightChartData.NotifyObservers(); + chartDataCollection.Collection.ForEachElementDo(cd => cd.NotifyObservers()); } private void SetChartData() Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.cs =================================================================== diff -u -r83c8f376bcd0ebf1bdfc1301d5fea953e98a3f12 -r7938567fa945e26d2e66bba8101841eb12d01d88 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.cs (.../PipingInputView.cs) (revision 83c8f376bcd0ebf1bdfc1301d5fea953e98a3f12) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.cs (.../PipingInputView.cs) (revision 7938567fa945e26d2e66bba8101841eb12d01d88) @@ -160,16 +160,7 @@ { SetChartData(); - surfaceLineChartData.NotifyObservers(); - ditchPolderSideChartData.NotifyObservers(); - bottomDitchPolderSideChartData.NotifyObservers(); - bottomDitchDikeSideChartData.NotifyObservers(); - ditchDikeSideChartData.NotifyObservers(); - dikeToeAtPolderChartData.NotifyObservers(); - dikeToeAtRiverChartData.NotifyObservers(); - exitPointChartData.NotifyObservers(); - entryPointChartData.NotifyObservers(); - soilProfileChartData.NotifyObservers(); + chartDataCollection.Collection.ForEachElementDo(cd => cd.NotifyObservers()); soilProfileChartData.Collection.ForEachElementDo(md => md.NotifyObservers()); } Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Views/WaveConditionsInputView.cs =================================================================== diff -u -r93036b575ee81b4517b29db51f1eadf81454fb93 -r7938567fa945e26d2e66bba8101841eb12d01d88 --- Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Views/WaveConditionsInputView.cs (.../WaveConditionsInputView.cs) (revision 93036b575ee81b4517b29db51f1eadf81454fb93) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Views/WaveConditionsInputView.cs (.../WaveConditionsInputView.cs) (revision 7938567fa945e26d2e66bba8101841eb12d01d88) @@ -22,6 +22,7 @@ using System; using System.Windows.Forms; using Core.Common.Base; +using Core.Common.Utils.Extensions; using Core.Components.Chart.Data; using Core.Components.Chart.Forms; using Ringtoets.Common.Data.Calculation; @@ -155,15 +156,7 @@ { SetChartData(); - foreshoreChartData.NotifyObservers(); - lowerBoundaryRevetmentChartData.NotifyObservers(); - upperBoundaryRevetmentChartData.NotifyObservers(); - lowerBoundaryWaterLevelsChartData.NotifyObservers(); - upperBoundaryWaterLevelsChartData.NotifyObservers(); - designWaterLevelChartData.NotifyObservers(); - waterLevelsChartData.NotifyObservers(); - revetmentBaseChartData.NotifyObservers(); - revetmentChartData.NotifyObservers(); + chartDataCollection.Collection.ForEachElementDo(cd => cd.NotifyObservers()); } private void UpdateChartTitle()