Hello Markus,

I am struggling to get that to work as well. I have found out though
if you don't put it as a subview the example works fine.
So something is acting up a bit.

On Tue, Sep 6, 2011 at 5:52 PM, stonee74 <[email protected]> wrote:
> Hi guys,
>
> I am working on an application that uses an underlying scrollview and many
> xib's connected together to have some paging experience. I am adding to the
> scrollview those subviews one by one.
>
>                                FinalSlide1 = new SlidePixOnly();
>                                FinalSlide1.View.Frame = frame;
>                                FinalSlide1.setImage("pix/BackGround.png");
>                                
> FinalSlide1.setDetailImage("pix/Portability1.png");
>                                scrollView.AddSubview(FinalSlide1.View);
>                                //....
>
> I then add to the UIImageViews on that xib's all kinds of images and even
> movies:
>
>
>                                FinalSlide1.View.Frame = 
> FinalSlide33.Movieview.Frame;
>                                
> FinalSlide33.View.AddSubview(moviePlayerStart.View);
>                                moviePlayerStart.ContentUrl = videoUrl;
>                                moviePlayerStart.Play();
>
> That all works fine. Now I wanted to add a coreplot view to one of those
> views using the github scatterplot class sample.
>
>                                        ScatterPlot sp = new ScatterPlot();
>                                        sp.View.Frame = 
> FinalSlide1.DetailImage.Frame;
>                                        scrollView.AddSubview(sp.View);
>
> But nothing happens, no chart in the view?! Empty.
>
> Any idea what i am doing wrong?
> If I add it like that can see the chart:
>
>                        //that works
>                        ScatterPlot sp = new ScatterPlot();
>                        window.Add(sp.View);
>
> Many thanks for any hints,
> Markus
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Coreplot-View-to-Subview-tp3793793p3793793.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to