How can I bind Visible X property(Solved)

Feb 10, 2012 at 12:57 PM

I can bind the whole Visible area of Viewports. But I need binding only by HorizontalAxes.

I haven`r used it, but I thing one of approaches is to use InjectedPlotters of those Plotters , set ConjunctionMode= "X" . Then Bind visible areas of ChartPlotters and then make opeations within InjectionPlotters. 

But are there any properties of HorizontalAxes responsible for ticks and so on? May It would be better approach

Looking forward to hearing from you....

Feb 17, 2012 at 1:05 PM
Edited Feb 17, 2012 at 1:15 PM

I want plotters to be binded in x direction navigation only.   Consuming that in _pl2 plotter exist injected plotter with ConjunctionMode="X", 

 _pl2.Viewport.SetBinding(Viewport2D.VisibleProperty, new Binding("Visible")
                Mode = BindingMode.TwoWay,
                Source = _pl1.Viewport,
 injectedPlotter.ViewPort.Visible = _pl2.Viewport.Visible; // may be it is not nessesary but, if I add data to injectedplotter
// it would be not very presentable
The main problem i sthat I don`t know how to bind Y axis of injected plotter to Y axis of its host
And how can I bind plotters with different Y-scale, y-independently.