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
Hello Kamlendra,
Could you pelase be more specific about your requirement, becasue when I start the sample I sent you, the XamDataChart shows only the points that are zoomed by the Zoombar. I will be great if you could modify the sample, so it reproduces your behavior and sent screenshots of the current result and teh result you want to achieve, so I could be able to investigate this further for you.
Looking forward for your reply.
Hi Stefan,
just wanted to check. have you got a chance to look into the small issue left.
hi Stefan,
i am able to achieve the required functionality with help of your suggestion.Thank you!! only 1 issue :initially the chart shows all the data( Expected : it should show only data's which are in range of zoom bar). once user click on zoom bar the chart is started showing the proper zoomed data. My observation: OnXamZoombarZoomChanged not getting hit initially. once user click the zoombar this methods executes everything works fine.
hope i explained it properly.now i am also stopping zooming on moiuse wheel with solution provided here.:http://ko.infragistics.com/community/forums/p/66762/337565.aspx#337565
I have created a sample project for you where I used behavior in order to achieve the same funtionality as in the sample you reffered. Please let me know if this helps you or you have further questions o this matter.
Looking forward to hear from you.
kamlendra sharma said: 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. 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.
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.