<Page
    x:Class="BasicLibrarySamples.View.SalesPerAgents"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:BasicLibrarySamples.View"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c1="using:C1.Xaml.Chart"
    mc:Ignorable="d">

    <Grid x:Name="LayoutRoot">
        <Grid.Transitions>
            <TransitionCollection>
                <EntranceThemeTransition />
            </TransitionCollection>
        </Grid.Transitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid HorizontalAlignment="Right" Margin="0,0,15,6" Width="38" Height="38" VerticalAlignment="Bottom">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.138*"/>
                <ColumnDefinition Width="0.862*"/>
            </Grid.ColumnDefinitions>
            <Ellipse Fill="#FF2C383D" Stroke="Black" StrokeThickness="0" Grid.ColumnSpan="2"/>
            <Ellipse Fill="White" Stroke="Black" StrokeThickness="0" Margin="2" Grid.ColumnSpan="2"/>
            <Path Stretch="Fill" Fill="#FF4775A9" Stroke="Black" StrokeThickness="0" Height="14.67" Margin="14.647,3.683,3.683,0" VerticalAlignment="Top" UseLayoutRounding="False" Grid.Column="1" Data="M2.9057262E-06,0 C9.3888426,0 17.000002,7.6111584 17.000002,16.999998 L0,17 z" d:LayoutOverrides="VerticalAlignment"/>
            <Path Stretch="Fill" Fill="#FF5B9200" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Left" Margin="-1.317,3.71,0,5.918" Width="14.094" UseLayoutRounding="False" Grid.Column="1" Data="M15.999996,0 L15.999996,17.449839 C15.999996,17.449839 9.4539824,32.207588 9.4539824,32.207588 C3.8512123,29.427641 0,23.648544 0,16.969946 C0,8.0212078 6.9143362,0.68739891 15.692011,0.019517422 z"/>
            <Path Stretch="Fill" Fill="#FFC13B08" Stroke="Black" StrokeThickness="0" Height="13.954" Margin="8.705,0,3.71,3.683" VerticalAlignment="Bottom" UseLayoutRounding="False" Grid.Column="1" Data="M-0.129338,0 L16.96995,0 L16.950432,0.30798525 C16.282549,9.0856609 8.948741,15.999998 2.8312204E-06,15.999998 C-2.5099769,15.90144 -4.6997151,15.38966 -6.6337628,14.547951 z"/>
        </Grid>
        <TextBlock Margin="15,0,1,0" Text="Sales Per Sales Agent" TextWrapping="NoWrap"  FontSize="28" FontWeight="SemiLight" HorizontalAlignment="Left" VerticalAlignment="Center" />
        <c1:C1Chart ChartType="Pie" x:Name="salesPieChart" Background="#11000000" Palette="Flow" Theme="None" Margin="15 0 15 15" Grid.Row="1" BorderThickness="0">
            <c1:C1Chart.Data>
                <c1:ChartData>
                    <c1:ChartData.Children>
                    <c1:DataSeries Values="5892 2300 3412 976 400" />
                    </c1:ChartData.Children>
                </c1:ChartData>
            </c1:C1Chart.Data>
            <c1:C1ChartLegend x:Name="legend" FontSize="11" 
                                   HorizontalAlignment="Stretch" 
                                   VerticalAlignment="Stretch" 
                                   Height="152" Width="165" Grid.Row="1"/>
        </c1:C1Chart>
    </Grid>
</Page>