﻿<Page
    x:Class="UWP.CartesianChart.Basic_Stacked_Bar.BasicStackedColumnExample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:UWP.CartesianChart.Basic_Stacked_Bar"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:uwp="using:LiveCharts.Uwp"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <uwp:CartesianChart Series="{x:Bind SeriesCollection}" LegendLocation="Bottom">
            <uwp:CartesianChart.AxisX>
                <uwp:Axis Title="Browser" 
                          Labels="{x:Bind Labels}" 
                          Separator="{x:Bind CleanSeparator}" />
            </uwp:CartesianChart.AxisX>
            <uwp:CartesianChart.AxisY>
                <uwp:Axis Title="Usage" LabelFormatter="{x:Bind Formatter}"></uwp:Axis>
            </uwp:CartesianChart.AxisY>
        </uwp:CartesianChart>
    </Grid>
</Page>
