<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ChartSamples.StackedPie" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" 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" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
  <UserControl.Resources>
    <DataTemplate x:Key="lbl">
      <Border Background="White" CornerRadius="2" BorderBrush="Black" BorderThickness="0.5">
        <TextBlock Foreground="Black" Margin="2">
          <Run Text="{Binding Name,Mode=OneWay}" />
          <Run Text="{Binding Mode=OneWay}" />
          <Run Text="%" />
        </TextBlock>
      </Border>
    </DataTemplate>
    <DataTemplate x:Key="lbl1">
      <Border c1:PlotElement.LabelAlignment="Auto" c1:PlotElement.LabelOffset="16,16">
        <TextBlock FontSize="8" Text="{Binding DataObject.Version}" />
      </Border>
    </DataTemplate>

  </UserControl.Resources>

  <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition />
    </Grid.RowDefinitions>
    <TextBlock FontSize="12" TextAlignment="Left" Text="Browser usage statistics, April 2012" Margin="10 0 0 0" />
    <c1:C1Chart Name="chart" Grid.Row="1" Palette="Verve" />
  </Grid>

</UserControl>