﻿<Page
    x:Class="UWP.CartesianChart.InLineSyntax.InLineSyntaxTest"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:UWP.CartesianChart.InLineSyntax"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:lc="using:LiveCharts.Uwp"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <TextBlock>This chart is totally built with XAML.</TextBlock>
        <lc:CartesianChart Grid.Row="1">
            <lc:CartesianChart.Series>
                <lc:LineSeries Values="{x:Bind LineSeries1}" />
                <lc:LineSeries Values="{x:Bind LineSeries2}" />
            </lc:CartesianChart.Series>
            <lc:CartesianChart.AxisX>
                <lc:Axis Labels="{x:Bind Labels}"/>
            </lc:CartesianChart.AxisX>
        </lc:CartesianChart>
    </Grid>
</Page>
