<UserControl x:Class="ControlExplorer.Controls.Chart.InteractiveChart"
    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:c1chart="using:C1.Xaml.Chart"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <c1chart:C1Chart  x:Name="c1chart" ChartType="Line" Palette="Metro"  Margin="0, 15 10 0" >
            <c1chart:C1Chart.View>
                <c1chart:ChartView Margin="50,10,10,50">
                    <c1chart:ChartView.AxisX>
                        <c1chart:Axis>
                            <c1chart:Axis.ScrollBar>
                                <c1chart:AxisScrollBar Visibility="Collapsed"/>
                            </c1chart:Axis.ScrollBar>
                        </c1chart:Axis>
                    </c1chart:ChartView.AxisX>
                    <c1chart:ChartView.AxisY>
                        <c1chart:Axis>
                            <c1chart:Axis.ScrollBar>
                                <c1chart:AxisScrollBar Visibility="Collapsed" />
                            </c1chart:Axis.ScrollBar>
                        </c1chart:Axis>
                    </c1chart:ChartView.AxisY>
                </c1chart:ChartView>
            </c1chart:C1Chart.View>
            <c1chart:C1ChartLegend Grid.Row="1" x:Name="legend"/>
        </c1chart:C1Chart>
        <TextBlock Grid.Row="1" Margin="12" TextAlignment="Center" Text="Drag, pinch and double-tap the chart to interact." />
    </Grid>
</UserControl>
