XYAxisSeries.EnsureAxes is not called for all series. Therefore one gets an exception in XYAxisSeris.VerifyAxes which is called when the series is rendered. For us that happens when the user selects to view a group of plots which have already been rendered once.
The problem seems connected to the fact that PlotModel.InvalidatePlot() will do nothing if the PlotView is null.
Our workaround is to always call
((IPlotModel)PlotModel).Update(false);
before
PlotModel.InvalidatePlot(true);
but this seems unnatural.
The problem seems connected to the fact that PlotModel.InvalidatePlot() will do nothing if the PlotView is null.
Our workaround is to always call
((IPlotModel)PlotModel).Update(false);
before
PlotModel.InvalidatePlot(true);
but this seems unnatural.