Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
XamZoomBar in TabItems changes in all TabViews when zoomed in one tabView
posted

Hi,

I have a user control which includes XamDataChart with horizontal and vertical XamZoomBars.

This user control is appearing in 2 tabViews with different dataValues. When I change the zoom setting in tabItem1, it is also reflected in TabItem2 and vice versa. 

I need to changes zoom settings individually. How can I achieve this behavior? Any thoughts?

This is the code snippet for adding XamZoombars.

<ig:XamZoombar x:Name="XamZoombarVertical" Orientation="Vertical"
Margin="5,0,0,5"
Grid.Column="1"
Grid.RowSpan="2"
Grid.Row="0"
Range="{Binding ElementName=ChartMemoryData, Path=VerticalZoombar.Range, Mode=TwoWay}"/>

<ig:XamZoombar x:Name="XamZoombar"
Margin="0,2,0,5"
Grid.Row="3"
ZoomChanged="XamZoombar_OnZoomChanged"
Range="{Binding ElementName=ChartMemoryData, Path=HorizontalZoombar.Range, Mode=TwoWay}"/>

Parents
No Data
Reply Children