iOS PlotView Sealed?

Mar 13, 2014 at 12:43 AM
I'm trying to punt around iOS - Can't Add PlotView via AddSubview, and one way I can accomplish that is to derive my own class from PlotView, thus allowing me to easily add the PlotView to another UIController, or not use a UIController at all.

Why did you decide to seal PlotView?

I can easily unseal it, derive from it, and everything works as expected. The only oddity is I need to create a second PlotModel in my derived class, fully build the model, and then assign this.Model = model, else I get a null reference exception while trying to render the plot.
Mar 13, 2014 at 6:00 AM
I don´t remember any reason to seal the class, maybe this happened by mistake :) I have removed the seal now! Thanks.
Marked as answer by benhysell on 3/15/2014 at 10:04 AM
Mar 13, 2014 at 1:11 PM
What are your thoughts on the PlotModel issue?

i.e. I need to have a second local variable to hold the PlotModel, build it up, then assign it to this.PlotModel = localPlotModel; else rendering fails down in the core OxyPlot project?