Sparkline for WinRT > Getting Started with WinRT Edition > Sparkline for WinRT Quick Start > Step 1 of 3: Creating the Application |
In this step you'll create a new Windows 8.1 Style application in Visual Studio 2013 and add the C1Sparkline control to a page.
Markup Copy Codexmlns:c1="using:C1.Xaml.Sparkline"
The <Page> tag should resemble the following:
Markup Copy Code <Page x:Class="App2.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App2" xmlns:c1="using:C1.Xaml.Sparkline" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
Markup Copy Code <c1:C1Sparkline x:Name="sparkline" Width="100" Height="100" Data="{Binding Data}" DateAxisData="{Binding DateAxis}" SeriesColor="#FF4BC128" ShowMarkers="True"/>
What You’ve Accomplished
In this step, you created a new Windows Store application, added the appropriate assembly references to the application, and added a C1Sparkline control.