In this step you'll create a new Windows application in Visual Studio and add the C1Sparkline control to a page.
Markup |
Copy Code
|
---|---|
xmlns: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"/> |
In this step, you created a new Windows Store application, added the appropriate assembly references to the application, and added a C1Sparkline control.