Imports C1.Xaml.Chart
Imports C1.Chart
Imports Windows.UI.Xaml.Shapes
Imports Windows.UI
Imports Windows.UI.Xaml.Navigation
Imports Windows.UI.Xaml.Media
Imports Windows.UI.Xaml.Input
Imports Windows.UI.Xaml.Data
Imports Windows.UI.Xaml.Controls.Primitives
Imports Windows.UI.Xaml.Controls
Imports Windows.UI.Xaml
Imports Windows.Foundation.Collections
Imports Windows.Foundation
Imports System.Runtime.InteropServices.WindowsRuntime
Imports System.Linq
Imports System.IO
Imports System.Collections.Generic
Imports System
' The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

Partial Public NotInheritable Class QuarterlySales
    Inherits UserControl
    Public Sub New()
        Me.InitializeComponent()
    End Sub

    Private Sub UserControl_Loaded(sender As Object, e As RoutedEventArgs)
        Me.flexChart.BeginUpdate()
        Me.flexChart.ItemsSource = (TryCast(Me.DataContext, DataModel.SampleDataSource)).SalesByQuarter
        Me.flexChart.EndUpdate()
    End Sub
End Class