i am not able to upload an image on infragisitcs website from my system . so, i am posted my question here.
http://stackoverflow.com/questions/20992041/infragistic-zoombar-size-change-default-value
Regards,
Kamlendra
about the link: http://ko.infragistics.com/products/wpf/sample/zoombar/data-chart-integration here things are written in code behind. Is there a way these things exposed to XAML or (OnSampleLoaded,OnXamZoombarZoomChanged) wrappend in a behaviour. so i can use them with MVVM.
Hi Stefan,
the solution provided by you helps me to achieve what i want. but i am loosing synchronization with my chart.
My Chart:
<ig:XamDataChart x:Name="xmDataChart" DataContext="{Binding Path=SelectedDevice.RFMonitorData}" Margin="30,20,30,0" Background="Transparent" PlotAreaBackground="Transparent" HorizontalZoomable="True" HorizontalZoombarVisibility="Collapsed" VerticalZoomable="False" VerticalZoombarVisibility="Collapsed" OverviewPlusDetailPaneVisibility="Collapsed" > <ig:SyncManager.SyncSettings> <ig:SyncSettings SyncChannel="charts" SynchronizeHorizontally="True" SynchronizeVertically="False" /> </ig:SyncManager.SyncSettings>
...
My ZoomBar:
<ig:XamZoombar Name="xamZoombar1" VerticalAlignment="Top" Background="Transparent" Opacity=".8" Range="{Binding ElementName=xmDataChart, Path=HorizontalZoombar.Range, Mode=TwoWay}" >
please let me know how can i sync with my chart and at the same time have the range between 0.9 to 1.
Hello Kamlendra,
Thank for your post. I have been looking into it and I can sat that you can add images by pressing the Options tab while you are composing your post and there you can upload an image. As for the question about the xamzoombar, as Damyan suggested in the Stackoverflow thread, you can see this Data Chart Integration (identical Silverlight live version) samples.
As described in the documentation the Zoombar's thumb location and size are determined by the range, so looking at your image I think you want range like { 0.9 - 1 }: <ig:XamZoombar>
<ig:XamZoombar.Range>
<ig:Range Minimum="0.9" Maximum="1"/>
</ig:XamZoombar.Range>
</ig:XamZoombar>
Adjust the minimum value to match what you want to achieve and check out the documentation/sample for snippets to set it in code. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.