Index: Core/Components/src/Core.Components.OxyPlot.Forms/ChartControl.cs =================================================================== diff -u -r848c3a050bda5fb0dd74232deb7f1d5eba8ecbf6 -r640df7c0609a81e19cc3661323ee461d801049b0 --- Core/Components/src/Core.Components.OxyPlot.Forms/ChartControl.cs (.../ChartControl.cs) (revision 848c3a050bda5fb0dd74232deb7f1d5eba8ecbf6) +++ Core/Components/src/Core.Components.OxyPlot.Forms/ChartControl.cs (.../ChartControl.cs) (revision 640df7c0609a81e19cc3661323ee461d801049b0) @@ -46,7 +46,7 @@ public ChartControl() { InitializePlotView(); - MinimumSize = new Size(50, 75); + MinimumSize = new Size(100, 100); Data = new ChartDataCollection("Root"); Data.Attach(this); Index: Core/Components/test/Core.Components.OxyPlot.Forms.Test/ChartControlTest.cs =================================================================== diff -u -r848c3a050bda5fb0dd74232deb7f1d5eba8ecbf6 -r640df7c0609a81e19cc3661323ee461d801049b0 --- Core/Components/test/Core.Components.OxyPlot.Forms.Test/ChartControlTest.cs (.../ChartControlTest.cs) (revision 848c3a050bda5fb0dd74232deb7f1d5eba8ecbf6) +++ Core/Components/test/Core.Components.OxyPlot.Forms.Test/ChartControlTest.cs (.../ChartControlTest.cs) (revision 640df7c0609a81e19cc3661323ee461d801049b0) @@ -40,8 +40,8 @@ { // Assert Assert.IsInstanceOf(chart); - Assert.AreEqual(75, chart.MinimumSize.Height); - Assert.AreEqual(50, chart.MinimumSize.Width); + Assert.AreEqual(100, chart.MinimumSize.Height); + Assert.AreEqual(100, chart.MinimumSize.Width); Assert.IsNotNull(chart.Data); CollectionAssert.IsEmpty(chart.Data.Collection); Assert.IsTrue(chart.IsPanningEnabled); Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.Designer.cs =================================================================== diff -u -rfea3ed82dfb6dfcad535eef16efcbaa9c01564ed -r640df7c0609a81e19cc3661323ee461d801049b0 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.Designer.cs (.../PipingInputView.Designer.cs) (revision fea3ed82dfb6dfcad535eef16efcbaa9c01564ed) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.Designer.cs (.../PipingInputView.Designer.cs) (revision 640df7c0609a81e19cc3661323ee461d801049b0) @@ -19,8 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; - namespace Ringtoets.Piping.Forms.Views { partial class PipingInputView @@ -43,15 +41,15 @@ // // chartControl // + this.chartControl.BottomAxisTitle = ""; + this.chartControl.ChartTitle = null; this.chartControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.chartControl.LeftAxisTitle = ""; this.chartControl.Location = new System.Drawing.Point(0, 0); - this.chartControl.MinimumSize = new System.Drawing.Size(50, 75); this.chartControl.Name = "chartControl"; this.chartControl.Size = new System.Drawing.Size(150, 150); this.chartControl.TabIndex = 0; this.chartControl.Text = "chartControl"; - this.chartControl.BottomAxisTitle = RingtoetsCommonFormsResources.InputView_Distance_DisplayName; - this.chartControl.LeftAxisTitle = RingtoetsCommonFormsResources.InputView_Height_DisplayName; // // PipingInputView // Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.cs =================================================================== diff -u -r71144e484518b806157fb6613779981342542462 -r640df7c0609a81e19cc3661323ee461d801049b0 --- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.cs (.../PipingInputView.cs) (revision 71144e484518b806157fb6613779981342542462) +++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingInputView.cs (.../PipingInputView.cs) (revision 640df7c0609a81e19cc3661323ee461d801049b0) @@ -31,6 +31,7 @@ using Ringtoets.Piping.Forms.Properties; using Ringtoets.Piping.Primitives; using PipingDataResources = Ringtoets.Piping.Data.Properties.Resources; +using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.Piping.Forms.Views { @@ -65,6 +66,7 @@ public PipingInputView() { InitializeComponent(); + InitializeChartControl(); calculationObserver = new Observer(UpdateChartTitle); calculationInputObserver = new Observer(UpdateChartData); @@ -96,6 +98,12 @@ soilLayerChartDataLookup = new List(); // Use lookup because the ordering in the chart data collection might change } + private void InitializeChartControl() + { + chartControl.LeftAxisTitle = RingtoetsCommonFormsResources.InputView_Height_DisplayName; + chartControl.BottomAxisTitle = RingtoetsCommonFormsResources.InputView_Distance_DisplayName; + } + public object Data { get