<?xml version="1.0" encoding="utf-8"?>
<UserControl mc:Ignorable="d" x:Class="ChartSamples.LogAxes" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" 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">
  <UserControl.Resources>
    <DataTemplate x:Key="ax">
      <StackPanel Orientation="Horizontal">
      	<TextBlock FontSize="12" VerticalAlignment="Bottom" Text="{Binding FormattedLogBase}" />
        <TextBlock FontSize="10" VerticalAlignment="Top" Text="{Binding LogValue}" />
      </StackPanel>
    </DataTemplate>
  </UserControl.Resources>
  <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="AxisX LogBase:" Margin="0 0 5 0" VerticalAlignment="Center" />
        <ComboBox x:Name="xbase" Width="70" />
        <TextBlock Text="AxisY LogBase:" Margin="30,0,5,0" VerticalAlignment="Center" />
        <ComboBox x:Name="ybase" Width="70" />
        <CheckBox x:Name="templ" Loaded="CheckBox_Loaded" Content="Custom template" VerticalAlignment="Center" Margin="30,0,0,0" />
      </StackPanel>
    </Border>
    <c1:C1Chart Grid.Row="1" x:Name="chart" ChartType="LineSymbols">
      <c1:C1ChartLegend />
    </c1:C1Chart>
  </Grid>
</UserControl>