Index: Core/Components/src/Core.Components.Charting/IChart.cs =================================================================== diff -u -r2c97a81a5403ee33f12550aaa89fd1f1b3be52ea -r49d7fa72db4b07c74e58d15a2d4ac21dc06160ea --- Core/Components/src/Core.Components.Charting/IChart.cs (.../IChart.cs) (revision 2c97a81a5403ee33f12550aaa89fd1f1b3be52ea) +++ Core/Components/src/Core.Components.Charting/IChart.cs (.../IChart.cs) (revision 49d7fa72db4b07c74e58d15a2d4ac21dc06160ea) @@ -24,9 +24,9 @@ /// /// Sets the visibility of a series in this . /// - /// The to set the visibility for. + /// The to set the visibility for. /// A boolean value representing the new visibility. - void SetVisibility(ChartData serie, bool visibility); + void SetVisibility(ChartData data, bool visibility); /// /// Sets the position of the amongst the other data of the . Index: Core/Components/src/Core.Components.OxyPlot.Forms/BaseChart.cs =================================================================== diff -u -rd0f1bca0f6a4833a790ae7eba9fde30674a52ddb -r49d7fa72db4b07c74e58d15a2d4ac21dc06160ea --- Core/Components/src/Core.Components.OxyPlot.Forms/BaseChart.cs (.../BaseChart.cs) (revision d0f1bca0f6a4833a790ae7eba9fde30674a52ddb) +++ Core/Components/src/Core.Components.OxyPlot.Forms/BaseChart.cs (.../BaseChart.cs) (revision 49d7fa72db4b07c74e58d15a2d4ac21dc06160ea) @@ -60,16 +60,17 @@ /// /// Sets the visibility of a series in this . /// - /// The to set the visibility for. + /// The to set the visibility for. /// A boolean value representing the new visibility. - public void SetVisibility(ChartData serie, bool visibility) + /// Thrown when is null. + public void SetVisibility(ChartData data, bool visibility) { - if (serie == null) + if (data == null) { - throw new ArgumentNullException("serie", "Cannot set visibility of a null serie."); + throw new ArgumentNullException("data", "Cannot set visibility of a null serie."); } - serie.IsVisible = visibility; - series.First(t => ReferenceEquals(t.Item1, serie)).Item2.IsVisible = visibility; + data.IsVisible = visibility; + series.First(t => ReferenceEquals(t.Item1, data)).Item2.IsVisible = visibility; view.Invalidate(); } @@ -78,6 +79,8 @@ /// /// The to change the position for. /// The new position. + /// Thrown when is null. + /// Thrown when is out of range. public void SetPosition(ChartData data, int position) { if (data == null) @@ -168,7 +171,7 @@ } } - UpdateTreeData(); + UpdateData(); } /// @@ -229,9 +232,9 @@ } /// - /// Updates the tree with the currently known . + /// Updates the with the currently known . /// - private void UpdateTreeData() + private void UpdateData() { view.Model.Series.Clear(); Index: Core/Components/src/Core.Components.OxyPlot.Forms/Properties/AssemblyInfo.cs =================================================================== diff -u -rec36de61b0eb813fedd9616e5113bd695470935c -r49d7fa72db4b07c74e58d15a2d4ac21dc06160ea --- Core/Components/src/Core.Components.OxyPlot.Forms/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision ec36de61b0eb813fedd9616e5113bd695470935c) +++ Core/Components/src/Core.Components.OxyPlot.Forms/Properties/AssemblyInfo.cs (.../AssemblyInfo.cs) (revision 49d7fa72db4b07c74e58d15a2d4ac21dc06160ea) @@ -1,8 +1,6 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Core.Components.OxyPlot.Forms")] [assembly: AssemblyProduct("Core.Components.OxyPlot.Forms")] -[assembly: Guid("9b055a22-085f-40fb-89e6-38a9edc8b4c0")] -[assembly: InternalsVisibleTo("Core.Components.OxyPlot.Forms.Test")] \ No newline at end of file +[assembly: Guid("9b055a22-085f-40fb-89e6-38a9edc8b4c0")] \ No newline at end of file Index: Core/Components/test/Core.Components.Charting.Test/Core.Components.Charting.Test.csproj =================================================================== diff -u -race2d2aedcb70dbf614869b58145aec35d233c08 -r49d7fa72db4b07c74e58d15a2d4ac21dc06160ea --- Core/Components/test/Core.Components.Charting.Test/Core.Components.Charting.Test.csproj (.../Core.Components.Charting.Test.csproj) (revision ace2d2aedcb70dbf614869b58145aec35d233c08) +++ Core/Components/test/Core.Components.Charting.Test/Core.Components.Charting.Test.csproj (.../Core.Components.Charting.Test.csproj) (revision 49d7fa72db4b07c74e58d15a2d4ac21dc06160ea) @@ -44,11 +44,6 @@ - - - - - @@ -65,10 +60,6 @@ {516EBC95-B8F2-428C-B7F6-733F01BF8FDD} Core.Components.Charting - - {E900A014-CA87-4374-87F0-813D653A9698} - Core.Components.Charting.TestUtil -