<UserControl x:Class="ChartSamples.RangeBarChart"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources> 
        <DataTemplate x:Key="highlowlabel">
            <StackPanel>
                <TextBlock Text="{Binding DataObject.DateTime, StringFormat=Date: {0:d}}" />
                <TextBlock Text="{Binding [HighValues], StringFormat=High: {0}°}" />
                <TextBlock Text="{Binding DataObject.TAvg, StringFormat=Avg: {0}°}" />
                <TextBlock Text="{Binding [LowValues], StringFormat=Low: {0}°}" />
            </StackPanel>
        </DataTemplate>
        <Style x:Key="highlowseries" TargetType="c1:HighLowSeries">
            <Setter Property="PointTooltipTemplate" Value="{StaticResource highlowlabel}" />
        </Style>
    </UserControl.Resources>
    <Grid>
        <c1:C1Chart Name="chart" Palette="Oriel" ChartType="Column" Margin="0 20 0 0">
            <c1:C1Chart.Data>
                <c1:ChartData >
                </c1:ChartData>
            </c1:C1Chart.Data>
            <c1:C1Chart.View>
                <c1:ChartView PlotBackground="#22FFFFFF" />
            </c1:C1Chart.View>
            <c1:C1ChartLegend Position="TopLeft" Orientation="Horizontal"/>
        </c1:C1Chart>
       
        <!--<Grid Grid.Column="1" DataContext="{Binding View.CurrentItem}">
            <Grid.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="Margin" Value="5 10" />
                </Style>
            </Grid.Resources>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding MonthFull}" FontSize="30" />
            <StackPanel Grid.Row="1" Orientation="Horizontal">
                <TextBlock Grid.Row="1" Text="Average High:" />
                <TextBlock Text="{Binding TempHigh}" FontWeight="Bold" />
                <TextBlock Text="°" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="2" Orientation="Horizontal">
                <TextBlock Text="Average Low:" />
                <TextBlock Text="{Binding TempLow}" FontWeight="Bold" />
                <TextBlock Text="°" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="3" Orientation="Horizontal">
                <TextBlock Text="Record High:" />
                <TextBlock Text="{Binding RecordTempHigh}" FontWeight="Bold" />
                <TextBlock Text="°" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="4" Orientation="Horizontal">
                <TextBlock Text="Record Low:" />
                <TextBlock Text="{Binding RecordTempLow}" FontWeight="Bold" />
                <TextBlock Text="days" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="5" Orientation="Horizontal">
                <TextBlock Text="Rainfall:" />
                <TextBlock Text="{Binding Rainfall}" FontWeight="Bold" />
                <TextBlock Text="inches" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="6" Orientation="Horizontal">
                <TextBlock Text="Snow days:" />
                <TextBlock Text="{Binding SnowDays}" FontWeight="Bold" />
                <TextBlock Text="days" FontWeight="Bold"/>
            </StackPanel>
            <StackPanel Grid.Row="7" Orientation="Horizontal">
                <TextBlock Text="RainDays:" />
                <TextBlock Text="{Binding RainDays}" FontWeight="Bold" />
                <TextBlock Text="days" FontWeight="Bold"/>
            </StackPanel>
           
        </Grid>-->
    </Grid>
</UserControl>
