<UserControl x:Class="TradeBlotter.Views.HistoricalView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:dc="clr-namespace:TradeBlotter.UIUtils"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"              
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:wpfx="http://schemas.xceed.com/wpf/xaml/toolkit"				 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">


	<UserControl.Resources>
		<Style x:Key="StandardBorder" TargetType="Border">
			<Setter Property="BorderBrush" Value="Gainsboro" />
			<Setter Property="BorderThickness" Value="1,1,1,0" />
			<Setter Property="Background" Value="GhostWhite" />
		</Style>
		<Style x:Key="RedBorder" TargetType="Border">
			<Setter Property="BorderBrush" Value="Red" />
			<Setter Property="BorderThickness" Value="0,0,0,1" />
		</Style>
	</UserControl.Resources>

	<wpfx:BusyIndicator Name="BusyBar" IsBusy="{Binding Path=BusyIndicator}" BusyContent="Loading Historical Time Series...">
    <Grid  Background="LightGray">
        <DockPanel>
            <Grid Margin="4">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="6" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="3" />
                    <RowDefinition Height="30" />
                </Grid.RowDefinitions>
                <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
                <Label Content="Watch List" HorizontalAlignment="Left"></Label>
                <ComboBox ItemsSource="{Binding Path=WatchListNames, Mode=OneTime}" SelectedItem="{Binding Path=SelectedWatchList, ValidatesOnDataErrors=True}" Validation.ErrorTemplate="{x:Null}" ></ComboBox>
                <!--<Label Content="Symbol" HorizontalAlignment="Left" Target="{Binding ElementName=tradeDateLbl}" ></Label>-->
                <Label Content="Symbol" HorizontalAlignment="Left"></Label>									
                <ComboBox x:Name="symbolCmb" ItemsSource="{Binding Path=Symbols, Mode=OneWay}" SelectedItem="{Binding Path=SelectedSymbol, ValidatesOnDataErrors=True}" Validation.ErrorTemplate="{x:Null}" >
								<ComboBox.ItemsPanel>
									<ItemsPanelTemplate>
										<VirtualizingStackPanel/>
									</ItemsPanelTemplate>
								</ComboBox.ItemsPanel>
						</ComboBox>
                <Button Content="Refresh" HorizontalAlignment="Left" Command="{Binding Path=RefreshCommand}"></Button>
                </StackPanel>
            </Grid>
      <ScrollViewer x:Name="scrollviewer" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
        <Grid>
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="6" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="6" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
          </Grid.ColumnDefinitions>
          <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="3" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="3" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="3" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="3" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="3" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="3" />
            <RowDefinition Height="Auto" />						
          </Grid.RowDefinitions>
          <Label Grid.Row="0" Grid.Column="2" FontFamily="Arial" Content="{Binding Path=Title}" HorizontalAlignment="Left" FontSize="20"></Label>
          <!-- Revenue-->
						<Border Grid.Row="1" Grid.Column="0" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="1" Grid.Column="0" Name="revenue" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="revenueDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalIntegerAxis Name="revenueCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=Revenue}" Stroke="Green" StrokeThickness="2"/>
							<d3:CursorCoordinateGraph Name="cursorGraphRevenue" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->
							<d3:Header FontFamily="Arial" Content="{Binding Path=RevenueTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="Annual Revenue (Mils)"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>
						<!-- Quarterly Revenue-->
					<Border Grid.Row="1" Grid.Column="2" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="1" Grid.Column="2" Name="quarterlyrevenue" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="quarterlyRevenueDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="quarterlyRevenueCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=QuarterlyRevenue}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphQuarterlyRevenue" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=QuarterlyRevenueTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Quarterly Revenue (Mils)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>	
          <!-- Working Capital-->
					<Border Grid.Row="1" Grid.Column="4" Style="{StaticResource StandardBorder}">	
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="1" Grid.Column="4" Name="workingcapital" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="workingCapitalDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="workingCapitalCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=WorkingCapital}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphWorkingCapital" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=WorkingCapitalTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Working Capital (Mils)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
          <!-- Inventory-->
					<Border Grid.Row="3" Grid.Column="0" Style="{StaticResource StandardBorder}">	
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="3" Grid.Column="0" Name="inventory" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="inventoryDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="inventoryCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=Inventory}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphInventory" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=InventoryTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Annual Inventory (Mils)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
          <!-- Quarterly Inventory-->
					<Border Grid.Row="3" Grid.Column="2" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="3" Grid.Column="2" Name="quarterlyinventory" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="quarterlyInventoryDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalIntegerAxis Name="quarterlyInventoryCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=QuarterlyInventory}" Stroke="Green" StrokeThickness="2"/>
							<d3:CursorCoordinateGraph Name="cursorGraphQuarterlyInventory" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->
							<d3:Header FontFamily="Arial" Content="{Binding Path=QuarterlyInventoryTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="Quarterly Inventory (Mils)"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>
          <!-- BVPS -->
					<Border Grid.Row="3" Grid.Column="4" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="3" Grid.Column="4" Name="bvps" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="bvpsDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="bvpsCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=BVPS}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphBVPS" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=BVPSTitle}" HorizontalAlignment="Right" FontSize="12" />
            <d3:VerticalAxisTitle FontFamily="Arial" Content="BVPS"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>						
					<!-- Goodwill-->
					<Border Grid.Row="5" Grid.Column="0" Style="{StaticResource StandardBorder}">					
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="5" Grid.Column="0" Name="goodwill" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="goodwillDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="goodwillCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=Goodwill}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphGoodwill" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=GoodwillTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Annual Goodwill (Mils)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
      <!-- Quarterly Goodwill-->
					<Border Grid.Row="5" Grid.Column="2" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="5" Grid.Column="2" Name="quarterlygoodwill" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="quarterlyGoodwillDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="quarterlyGoodwillCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=QuarterlyGoodwill}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphQuarterlyGoodwill" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=QuarterlyGoodwillTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Quarterly Goodwill (Mils)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
				<!-- Net Income Available To Common Shareholders-->
					<Border Grid.Row="5" Grid.Column="4" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="5" Grid.Column="4" Name="niatcs" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="niatcsDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalIntegerAxis Name="niatcsCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=NetIncomeAvailableToCommonShareholders}" Stroke="Green" StrokeThickness="2"/>
							<d3:CursorCoordinateGraph Name="cursorGraphNIATCS" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->
							<d3:Header FontFamily="Arial" Content="{Binding Path=NetIncomeAvailableToCommonShareholdersTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="NIACS (Mils)"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>
						<!-- ROIC-->
					<Border Grid.Row="7" Grid.Column="0" Style="{StaticResource StandardBorder}">					
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="7" Grid.Column="0" Name="roic" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="roicDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="roicCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=ROIC}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphROIC" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=ROICTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="ROIC"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
          <!-- ROA-->
					<Border Grid.Row="7" Grid.Column="2" Style="{StaticResource StandardBorder}">	
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="11" Grid.Column="0" Name="roa" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="roaDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="roaCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=ROA}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphROA" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=ROATitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="ROA"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>										
          <!-- ROIC/WACC-->
					<Border Grid.Row="7" Grid.Column="4" Style="{StaticResource StandardBorder}">	
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="7" Grid.Column="4" Name="roicwacc" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="roicwaccDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="roicwaccCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=ROICWACC}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphROICWACC" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=ROICWACCTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="ROIC - WACC"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>					
          <!-- FreeCashflow -->
					<Border Grid.Row="9" Grid.Column="0" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="9" Grid.Column="0" Name="freecashflow" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="fcfDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalIntegerAxis Name="fcfCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=FreeCashflow}" Stroke="Green" StrokeThickness="2"/>
							<d3:CursorCoordinateGraph Name="cursorGraphFreeCashflow" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->
							<d3:Header FontFamily="Arial" Content="{Binding Path=FCFTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="Free Cashflow (Mils)"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>
						<!-- OperatingCashflow-->
					<Border Grid.Row="9" Grid.Column="2" Style="{StaticResource StandardBorder}">					
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="9" Grid.Column="2" Name="operatingcashflow" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="ocfDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="ocfCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=OperatingCashflow}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphOperatingCashflow" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=OCFTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Operating Cashflow"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
          <!-- OperatingIncome-->
					<Border Grid.Row="9" Grid.Column="4" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="9" Grid.Column="4" Name="operatingIncome" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="oiDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="oiCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=OperatingIncome}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphOperatingIncome" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=OITitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Operating Income - EBIT"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
          <!-- Profit Margin-->
					<Border Grid.Row="11" Grid.Column="0" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="11" Grid.Column="0" Name="pm" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="pmDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="pmCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=ProfitMargin}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphPM" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=ProfitMarginTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="Profit Margin (%)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
						<!-- EPS -->
					<Border Grid.Row="11" Grid.Column="2" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="11" Grid.Column="2" Name="eps" Margin="10,19,20,0.5" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="epsDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="epsCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=EPS}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphEPS" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=EPSTitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="EPS ($)"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
						<!-- PE-->
					<Border Grid.Row="11" Grid.Column="4" Style="{StaticResource StandardBorder}">
          <d3:ChartPlotter Background="WhiteSmoke" Grid.Row="11" Grid.Column="4" Name="pe" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
            <d3:ChartPlotter.MainHorizontalAxis>
              <d3:HorizontalDateTimeAxis Name="peDateAxis"/>
            </d3:ChartPlotter.MainHorizontalAxis>
            <d3:ChartPlotter.MainVerticalAxis>
              <d3:VerticalIntegerAxis Name="peCountAxis"/>
            </d3:ChartPlotter.MainVerticalAxis>
            <d3:LineGraph DataSource="{Binding Path=PE}" Stroke="Green" StrokeThickness="2"/>
            <d3:CursorCoordinateGraph Name="cursorGraphPE" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>  
            <!--<d3:AxisCursorGraph></d3:AxisCursorGraph>-->          
            <d3:Header FontFamily="Arial" Content="{Binding Path=PETitle}" HorizontalAlignment="Right" FontSize="12"/>
            <d3:VerticalAxisTitle FontFamily="Arial" Content="PE"/>
            <d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
          </d3:ChartPlotter>
					</Border>
					<!-- Total Cash -->
					<Border Grid.Row="13" Grid.Column="0" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="13" Grid.Column="0" Name="TotalCash" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="totalCashDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalNumericAxis Name="totalCashCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=TotalCash}" Stroke="Green" StrokeThickness="2"/>
								<d3:CursorCoordinateGraph Name="cursorGraphTotalCash" dc:CoordinateGraphBehavior.YTextMappingProperty="C" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<d3:Header FontFamily="Arial" Content="{Binding Path=TotalCashTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="Total Cash (Mils)"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>

					<!-- Dividend Load -->
					<Border Grid.Row="13" Grid.Column="2" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="13" Grid.Column="2" Name="DividendLoad" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="dividendLoadDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalNumericAxis Name="dividendLoadCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=DividendLoad}" Stroke="Green" StrokeThickness="2"/>
								<d3:CursorCoordinateGraph Name="cursorGraphDividendLoad" dc:CoordinateGraphBehavior.YTextMappingProperty="N2" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<d3:Header FontFamily="Arial" Content="{Binding Path=DividendLoadTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="Dividend Load"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>				
					
					<!-- DebtToEquity -->
					<Border Grid.Row="13" Grid.Column="4" Style="{StaticResource StandardBorder}">
						<d3:ChartPlotter Background="WhiteSmoke" Grid.Row="13" Grid.Column="4" Name="DebtToEquity" Margin="10,10,20,10" LegendVisibility="Hidden" NewLegendVisible="False" d3:Viewport2D.UsesApproximateContentBoundsComparison="False" BorderThickness="0">
							<d3:ChartPlotter.MainHorizontalAxis>
								<d3:HorizontalDateTimeAxis Name="debtToEquityDateAxis"/>
							</d3:ChartPlotter.MainHorizontalAxis>
							<d3:ChartPlotter.MainVerticalAxis>
								<d3:VerticalNumericAxis Name="debtToEquityCountAxis"/>
							</d3:ChartPlotter.MainVerticalAxis>
							<d3:LineGraph DataSource="{Binding Path=DebtToEquity}" Stroke="Green" StrokeThickness="2"/>
								<d3:CursorCoordinateGraph Name="cursorGraphDebtToEquity" dc:CoordinateGraphBehavior.YTextMappingProperty="N2" dc:CoordinateGraphBehavior.XTextMappingProperty="MM/dd/yyyy" LineStrokeThickness="1"/>
							<d3:Header FontFamily="Arial" Content="{Binding Path=DebtToEquityTitle}" HorizontalAlignment="Right" FontSize="12"/>
							<d3:VerticalAxisTitle FontFamily="Arial" Content="Debt To Equity (Ratio)"/>
							<d3:HorizontalAxisTitle FontFamily="Arial" Content="" />
						</d3:ChartPlotter>
					</Border>							
					
					
					</Grid>
        </ScrollViewer>
    </DockPanel>
  </Grid>
  </wpfx:BusyIndicator>
</UserControl>
