<UserControl x:Class="ChartSamples.TrendLines"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:samples ="clr-namespace:"
    xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
    Foreground="#FFF0F8FE">
  <UserControl.Resources>
    <SolidColorBrush x:Key="CE_SampleForeground" Color="#FFF0F8FE"/>
<SolidColorBrush x:Key="CE_SampleBorder" Color="#FF8FB4CC"/>
    
<Style x:Key="CE_SampleChart" TargetType="c1:C1Chart">
    	<Setter Property="Foreground" Value="#FFF0F8FE" />
    	<Setter Property="Background" Value="#ff071D2E" />
    	<Setter Property="BorderBrush" Value="#FF8FB4CC" />
	<Setter Property="BorderThickness" Value="1" />
	<Setter Property="Padding" Value="10" />
</Style>
  </UserControl.Resources>
  
    <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition Height="60" />
      <RowDefinition />
    </Grid.RowDefinitions>
      <StackPanel Margin="4" x:Name="sp" Orientation="Horizontal" >
      </StackPanel>

    <c1:C1Chart x:Name="chart" Grid.Row="1" Style="{StaticResource CE_SampleChart}" >
      <c1:C1ChartLegend DockPanel.Dock="Bottom" Foreground="{StaticResource CE_SampleForeground}"/>
    </c1:C1Chart>

  </Grid>
</UserControl>
