<UserControl
    x:Class="FlexChartExplorer.AxisBinding"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    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"
    xmlns:Chart="http://schemas.componentone.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:FlexChartExplorer"
    DataContext="{Binding RelativeSource={RelativeSource  Mode=Self}}"
    mc:Ignorable="d">
    <Grid>
        <Chart:C1FlexChart x:Name="flexChart" ItemsSource="{Binding DataContext.Data}">
            <Chart:Series Binding="Price" x:Name="series1" ChartType="Line" BindingX="Time" SeriesName="Price" />
            <Chart:C1FlexChart.AxisY>
                <Chart:Axis Position="Left" AxisLine="False" MajorGrid="True" MajorTickMarks="None" Binding="Value,Text"/>
            </Chart:C1FlexChart.AxisY>
        </Chart:C1FlexChart>
    </Grid>
</UserControl>
