Hi,
Is Scaling for the axes possible in XamWebcahrt ?Please let me know
Thanks,
Vijay
I may reduce the scroll scale to see all the values in a sigle shot,where the user need not have a scroll bar to see all the values plotted in the chart.
It does not look like the chart honors the scaling settings unless you select ScrollEnabled. So your best option would probably be to try and hide the scrollbar. Could you describe your usage scenario for scaling the chart but not allowing the scale and positioning to be adjusted? Are you controlling these externally to the chart? Does relate to your question about displaying thumbnails of the chart?
I think this is the case, although I will try to confirm. You can hide the scrollbar if you want to remove it while keeping the scaling, see:
...
<UserControl.Resources>
<Style x:Key="HideZoom" TargetType="igControls:XamWebZoombar">
<Setter Property="Visibility" Value="Collapsed" />
</Style>
</UserControl.Resources>
<igChart:Axis AxisType="PrimaryX"
ScrollEnabled="True"
ScrollScale="0.75"
ScrollPosition="0"
ZoombarStyle="{StaticResource HideZoom}"/>
You could also use the style to set the IsEnabled property to false if you wanted to show the zoombar but not allow interaction.
Thanks Graham .It works !!
Does it work only if the scrollbar is enabled ?
vijay
Vijay,
Are you searching for this functionality?
http://help.infragistics.com/Help/NetAdvantage/DV/2009.2/CLR3.5/html/SL_DV_xamWebChart_Working_with_ZoomBars_and_Using_the_ZoomRectangle.html
Or do you mean something else?
-Graham