PositionalViewportUIContainer and InjectedPlotter

Nov 22, 2011 at 8:51 AM
Edited Nov 22, 2011 at 12:42 PM
I want to add an element to chartplotter or injected plotter in such a manner that it would not have binding to plotter.Viewport.Visible
The same situation is examined in TwoIndependantAxes sample.
So the problem is that when I set the injected plotter to have *no movements* (I suppose it i achieved by 
ViewportConjunctionMode.None) and after that add some custom element --  I have no elemet on my plotter =( 

 injpl.ConjunctionMode = ViewportConjunctionMode.None;
            PositionalViewportUIContainer pui = new PositionalViewportUIContainer()
                Content = new NpsElement() { Width = 50, Height = 50 },
                Position = new Point(0, 800)

Can you please tell me when I should use
ViewportUIContainer(I suppose it is dated)
Nov 22, 2011 at 1:46 PM

I found the solution, but it seem to be suspicious 


First of all I made such thing ↓↓↓↓

injectedplotter.Viewport.Visible = mainplotter.Viewport.Visible

and it seems to make mainplotter coordinates be the inj.plotter coordinates too