<UserControl x:Class="MyApplication.UI.Charts.SuperSweetChart"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerikChart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
xmlns:chart="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<telerikChart:RadChart x:Name="Chart1"
Loaded="Chart1_Loaded">
<telerikChart:RadChart.DefaultView>
<chart:ChartDefaultView>
<chart:ChartDefaultView.ChartArea>
<chart:ChartArea LegendName="CustomLegend" NoDataString="">
<chart:ChartArea.DataSeries>
<chart:DataSeries x:Name="DataSeries1" >
<chart:DataSeries.Definition>
<chart:PieSeriesDefinition
LabelOffset="0.6d"
ShowItemToolTips="True"
ItemToolTipFormat = "#XCAT"
DefaultLabelFormat = "#%{p0}" />
</chart:DataSeries.Definition>
<chart:DataPoint YValue="35" />
<chart:DataPoint YValue="15" />
<chart:DataPoint YValue="55" />
</chart:DataSeries>
</chart:ChartArea.DataSeries>
</chart:ChartArea>
</chart:ChartDefaultView.ChartArea>
<chart:ChartDefaultView.ChartLegend>
<chart:ChartLegend x:Name="CustomLegend"
UseAutoGeneratedItems="True" />
</chart:ChartDefaultView.ChartLegend>
<chart:ChartDefaultView.ChartTitle>
<chart:ChartTitle>
<TextBlock Text="Traffic Sources"/>
</chart:ChartTitle>
</chart:ChartDefaultView.ChartTitle>
</chart:ChartDefaultView>
</telerikChart:RadChart.DefaultView>
</telerikChart:RadChart>
</Grid>