suresh kumar

suresh kumar

  • NA
  • 1
  • 3.3k

DoughChart and 3D Pie Chart using SilverLight 5

Aug 29 2012 5:17 AM
HI All,

I am new to silver light technology, need to plot a 3D Pie chart using silver light 5 , tried to implement 3D pie chart but unable to view the output.

need assistance on the same.

find the below code:


<
UserControl xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
x:Class="PieChartSilverlightApps.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:legend="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="800" Height="600">
<Grid x:Name="LayoutRoot" Background="White" >

<chartingToolkit:Chart x:Name="myChart" Width="600" Height="400" Title="PieChart" >
<chartingToolkit:PieSeries Title="Total Sales" ItemsSource="{Binding}" IndependentValueBinding="{Binding Services}"
DependentValueBinding="{Binding Values}" />

</chartingToolkit:Chart>
</Grid>

</
UserControl>





Regards,
Suresh

Answers (3)