title: WinRTXamlToolkit.Controls.DataVisualization.Charting is not working on .appx bundle
body: <p>I am using <code>WinRTXamlToolkit.Controls.DataVisualization.Charting</code> in my Windows Phone 8.1 winrt app.</p>
  
  <p>Charts are working fine on debug mode in the phone.</p>
  
  <p>But when I tried to create app package and installed the same using deployment tool in my phone, in that case charts are not working.</p>
  
  <p>App is not crashing but the page with chart controls is not opening.</p>
  
  <p>Please find below code</p>
  
  <pre><code>&lt;Charting:Chart Name="LineChart"
                              Grid.Column="1"
                              Margin="0"&gt;
                  &lt;Charting:Chart.LegendStyle&gt;
                      &lt;Style TargetType="datavis:Legend"&gt;
                          &lt;Setter Property="Width"
                                  Value="0" /&gt;
                       &lt;/Style&gt;
                  &lt;/Charting:Chart.LegendStyle&gt;
                  &lt;Charting:Chart.Axes&gt;
                      &lt;Charting:CategoryAxis Orientation="X"
                                             Location="Bottom"
                                             Title="{Binding x_axis}"
                                             ShowGridLines="True"
                                             Foreground="{StaticResource DarkGrayBrush}"
                                             x:Name="xAxis"&gt;
                          &lt;Charting:CategoryAxis.TitleStyle&gt;
                              &lt;Style TargetType="datavis:Title"&gt;
                                  &lt;Setter Property="FontSize"
                                          Value="16" /&gt;
                                  &lt;Setter Property="HorizontalAlignment"
                                          Value="Center" /&gt;
                                  &lt;Setter Property="Margin"
                                          Value="0,10,0,0" /&gt;
                              &lt;/Style&gt;
                          &lt;/Charting:CategoryAxis.TitleStyle&gt;
                          &lt;Charting:CategoryAxis.AxisLabelStyle&gt;
                              &lt;Style TargetType="Charting:AxisLabel"&gt;
                                  &lt;Setter Property="Foreground"
                                          Value="{StaticResource DarkGrayBrush}"&gt;&lt;/Setter&gt;
                                  &lt;Setter Property="Template"&gt;
                                      &lt;Setter.Value&gt;
                                          &lt;ControlTemplate TargetType="Charting:AxisLabel"&gt;
                                              &lt;TextBlock Text="{TemplateBinding FormattedContent}"
                                                         TextAlignment="Right"
                                                         TextWrapping="Wrap"
                                                         Width="50"
                                                         Margin="-40,-5,0,26"
                                                         RenderTransformOrigin="1,.5"&gt;
                                                  &lt;TextBlock.RenderTransform&gt;
                                                      &lt;RotateTransform Angle="300" /&gt;
                                                  &lt;/TextBlock.RenderTransform&gt;
                                              &lt;/TextBlock&gt;
                                          &lt;/ControlTemplate&gt;
                                      &lt;/Setter.Value&gt;
                                  &lt;/Setter&gt;
                              &lt;/Style&gt;
                          &lt;/Charting:CategoryAxis.AxisLabelStyle&gt;
                          &lt;Charting:CategoryAxis.GridLineStyle&gt;
                              &lt;Style TargetType="Line"&gt;
                                  &lt;Setter Property="Stroke"
                                          Value="{StaticResource GreyBrush}" /&gt;
                                  &lt;Setter Property="StrokeDashArray"
                                          Value="2" /&gt;
                              &lt;/Style&gt;
                          &lt;/Charting:CategoryAxis.GridLineStyle&gt;
                      &lt;/Charting:CategoryAxis&gt;
                      &lt;Charting:LinearAxis Orientation="Y"
                                           x:Name="yAxis"
                                           Foreground="{StaticResource DarkGrayBrush}"
                                           Title="{Binding y_axis}"
                                           ShowGridLines="True"&gt;
                          &lt;Charting:LinearAxis.TitleStyle&gt;
                              &lt;Style TargetType="datavis:Title"&gt;
                                  &lt;Setter Property="FontSize"
                                          Value="16" /&gt;
                                  &lt;Setter Property="HorizontalAlignment"
                                          Value="Center" /&gt;
                                  &lt;Setter Property="Margin"
                                          Value="10" /&gt;
                              &lt;/Style&gt;
                          &lt;/Charting:LinearAxis.TitleStyle&gt;
                          &lt;Charting:LinearAxis.AxisLabelStyle&gt;
                              &lt;Style TargetType="Charting:AxisLabel"&gt;
                                  &lt;Setter Property="Foreground"
                                          Value="{StaticResource DarkGrayBrush}"&gt;&lt;/Setter&gt;
                              &lt;/Style&gt;
                          &lt;/Charting:LinearAxis.AxisLabelStyle&gt;
                          &lt;Charting:LinearAxis.GridLineStyle&gt;
                              &lt;Style TargetType="Line"&gt;
                                  &lt;Setter Property="Stroke"
                                          Value="{StaticResource GreyBrush}" /&gt;
                                  &lt;Setter Property="StrokeDashArray"
                                          Value="2" /&gt;
                              &lt;/Style&gt;
                          &lt;/Charting:LinearAxis.GridLineStyle&gt;
                      &lt;/Charting:LinearAxis&gt;
                  &lt;/Charting:Chart.Axes&gt;
                  &lt;Charting:ColumnSeries  Margin="0"
                                          IndependentValuePath="label"
                                          IsSelectionEnabled="True"
                                          DependentValuePath="refilled"&gt;
                      &lt;Charting:ColumnSeries.DataPointStyle&gt;
                          &lt;Style TargetType="Charting:ColumnDataPoint"&gt;
                              &lt;Setter Property="Background"
                                      Value="{StaticResource columnBrush}" /&gt;
                          &lt;/Style&gt;
                      &lt;/Charting:ColumnSeries.DataPointStyle&gt;
                  &lt;/Charting:ColumnSeries&gt;
                  &lt;Charting:LineSeries Margin="0"
                                       IndependentValuePath="label"
                                       DependentValuePath="text"
                                       IsSelectionEnabled="True"&gt;
                      &lt;Charting:LineSeries.PolylineStyle&gt;
                          &lt;Style TargetType="Polyline"&gt;
                              &lt;Setter Property="StrokeThickness"
                                      Value="2" /&gt;
                              &lt;Setter Property="Stroke"
                                      Value="{StaticResource BrownBrush}" /&gt;
                          &lt;/Style&gt;
                      &lt;/Charting:LineSeries.PolylineStyle&gt;
                      &lt;Charting:LineSeries.DataPointStyle&gt;
                          &lt;!--&lt;Style TargetType="Charting:LineDataPoint"&gt;
                              &lt;Setter Property="Background"
                                      Value="{StaticResource BrownBrush}" /&gt;
                              &lt;Setter Property="BorderThickness"
                                      Value="1" /&gt;
                          &lt;/Style&gt;--&gt;
                          &lt;Style TargetType="Control"&gt;
                              &lt;Setter Property="Width"
                                      Value="10" /&gt;
                              &lt;Setter Property="Height"
                                      Value="10" /&gt;
                              &lt;Setter Property="Template"&gt;
                                  &lt;Setter.Value&gt;
                                      &lt;ControlTemplate TargetType="Charting:LineDataPoint"&gt;
                                          &lt;Grid Opacity="1"
                                                ToolTipService.Placement="Left"
                                                ToolTipService.ToolTip="test"&gt;
                                              &lt;Ellipse StrokeThickness="1"
                                                       Fill="{StaticResource BrownBrush}" /&gt;
                                          &lt;/Grid&gt;
                                      &lt;/ControlTemplate&gt;
                                  &lt;/Setter.Value&gt;
                              &lt;/Setter&gt;
                          &lt;/Style&gt;
                      &lt;/Charting:LineSeries.DataPointStyle&gt;
                  &lt;/Charting:LineSeries&gt;
              &lt;/Charting:Chart&gt;
  </code></pre>
  
  <p>Below is the c# code</p>
  
  <pre><code>(LineChart.Series[1] as LineSeries).ItemsSource = listItem;
  (LineChart.Series[0] as ColumnSeries).ItemsSource = listItem;
  </code></pre>