<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ChartSamples.AggregateChart" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:local="clr-namespace:ChartSamples">
  
    <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition />
    </Grid.RowDefinitions>
	<Border Margin="0,0,0,10">
	    <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
	    	<TextBlock Text="Aggregate:" VerticalAlignment="Center" Margin="0 0 5 0" />
	      	<ComboBox x:Name="cb" />
	    </StackPanel>
	</Border>	
    <c1:C1Chart x:Name="chart" Grid.Row="1">
      <c1:C1Chart.Resources>
        <local:AxisLabelConverter x:Key="al_cnv" />
        <DataTemplate x:Key="al_tmpl">
          <Image Width="48" Height="48" Stretch="None" Source="{Binding Converter={StaticResource al_cnv},Path=DataObject}" />
        </DataTemplate>
      </c1:C1Chart.Resources>
    </c1:C1Chart>
  </Grid>
</UserControl>