Hi,
Is there any inbuilt support for thumbnail view in XamWebChart? Please let me know.
Thanks,
vijay
Vijay,
Could you define more closely what you mean by a thumbnail of the chart? Do you mean a smaller image that you can click to view the fullsize chart? Or some sort of navigation thumbnail?
-Graham
Hi ,For Example, I am trying to show 10 charts in a single page or in a tile view control .Tile view control helps in showing multiple contents in minimzed mode (thumbnail view).Rather i do scaling for X-Axis and Y-Axis for each and every chart,is there any way to show the chart in the minimized mode(something like this chart.ThumbNailMode = true",so that chart minimizes its scale accordingly). Hope it clarifies.Please let me know ?
Vijay
Do you mean these kind of thumbnails? If you throw the charts in ViewBoxes (see the Silverlight Toolkit), then they will scale with their aspect ratio maintained rather then the available size for the chart shrinking. Let me know if this is the sort of thing you are talking about:
<UserControl x:Class="SilverlightApplication40.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
xmlns:igTile="clr-namespace:Infragistics.Silverlight.Controls;assembly=Infragistics.Silverlight.XamWebTileView.v9.2"
xmlns:igChart="clr-namespace:Infragistics.Silverlight.Chart;assembly=Infragistics.Silverlight.DataVisualization.Chart.v9.2"
xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit">
<Grid x:Name="LayoutRoot">
<igTile:XamWebTileView x:Name="tileView">
<igTile:TilePane x:Name="pane1" >
<toolkit:Viewbox>
<igChart:XamWebChart x:Name="chart1" Width="600" Height="500" >
<igChart:XamWebChart.Series>
<igChart:Series>
<igChart:Series.DataPoints>
<igChart:DataPoint Label="Point1" Value="5" />
<igChart:DataPoint Label="Point2" Value="1" />
<igChart:DataPoint Label="Point3" Value="7" />
<igChart:DataPoint Label="Point4" Value="2" />
<igChart:DataPoint Label="Point5" Value="3" />
</igChart:Series.DataPoints>
</igChart:Series>
</igChart:XamWebChart.Series>
</igChart:XamWebChart>
</toolkit:Viewbox>
</igTile:TilePane>
<igTile:TilePane x:Name="pane2">
<igChart:XamWebChart x:Name="chart2" Width="600" Height="500" >
<igChart:DataPoint Label="Point1" Value="2" />
<igChart:DataPoint Label="Point2" Value="3" />
<igChart:DataPoint Label="Point3" Value="9" />
<igChart:DataPoint Label="Point4" Value="1" />
<igChart:DataPoint Label="Point5" Value="5" />
<igTile:TilePane x:Name="pane3">
<igChart:XamWebChart x:Name="chart3" Width="600" Height="500" >
<igChart:DataPoint Label="Point2" Value="8" />
<igChart:DataPoint Label="Point3" Value="2" />
<igChart:DataPoint Label="Point5" Value="2" />
</igTile:XamWebTileView>
</Grid>
</UserControl>