This PlotModel is already in use by some other PlotView control. (#497)

This commit is contained in:
Thomas Ibel 2015-07-01 10:00:25 +02:00
Родитель 68bdf140da
Коммит 401d44bcd2
5 изменённых файлов: 1 добавлений и 22 удалений

Просмотреть файл

@ -81,6 +81,7 @@ All notable changes to this project will be documented in this file.
- Fix StringFormat for TimeSpanAxis not recognizing f, ff, fff, etc (#330)
- Fix LineSeries SMOOTH=True will crash WinForms on right click (#499)
- Fix PlotView leak on iOS (#503)
- This PlotModel is already in use by some other PlotView control (#497)
## [2014.1.546] - 2014-10-22
### Added

Просмотреть файл

@ -116,12 +116,6 @@ namespace OxyPlot.MonoTouch
if (value != null)
{
if (value.PlotView != null)
{
throw new InvalidOperationException(
"This PlotModel is already in use by some other PlotView control.");
}
((IPlotModel)value).AttachPlotView(this);
this.model = value;
}

Просмотреть файл

@ -126,11 +126,6 @@ namespace OxyPlot.Xamarin.Android
if (value != null)
{
if (value.PlotView != null)
{
throw new InvalidOperationException("This PlotModel is already in use by some other PlotView control.");
}
((IPlotModel)value).AttachPlotView(this);
this.model = value;
}

Просмотреть файл

@ -98,11 +98,6 @@ namespace OxyPlot.Xamarin.Mac
if (value != null)
{
if (value.PlotView != null)
{
throw new InvalidOperationException("This PlotModel is already in use by some other PlotView control.");
}
((IPlotModel)value).AttachPlotView(this);
this.model = value;
}

Просмотреть файл

@ -109,12 +109,6 @@ namespace OxyPlot.Xamarin.iOS
if (value != null)
{
if (value.PlotView != null)
{
throw new InvalidOperationException(
"This PlotModel is already in use by some other PlotView control.");
}
((IPlotModel)value).AttachPlotView(this);
this.model = value;
}