title: How to draw a straight line at Value X with WinRTXamlToolkit.Controls.DataVisualization?
body: <p>I've created a bar chart via the below code however I'd like to add the red line at some X value as seen in the image below. Is this possible? And if so, how could I accomplish this?</p>
  
  <pre><code>&lt;charting:Chart x:Name="BarChart" HorizontalAlignment="Left" VerticalAlignment="Top" Visibility="Visible" Width="280" Height="500" Margin="-5,-35,0,20" FontSize="10"&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:BarSeries Visibility="Visible"/&gt;
                  &lt;charting:Chart.Palette&gt;
                      &lt;charting:ResourceDictionaryCollection&gt;
                          &lt;ResourceDictionary&gt;
                              &lt;SolidColorBrush x:Key="Background" Color="#2574a9" /&gt;
                              &lt;Style x:Key="DataPointStyle" TargetType="Control"&gt;
                                  &lt;Setter Property="Background" Value="{StaticResource Background}" /&gt;
                              &lt;/Style&gt;
                              &lt;Style x:Key="DataShapeStyle" TargetType="Shape"&gt;
                                  &lt;Setter Property="Stroke" Value="{StaticResource Background}" /&gt;
                                  &lt;Setter Property="StrokeThickness" Value="2" /&gt;
                                  &lt;Setter Property="StrokeMiterLimit" Value="1" /&gt;
                                  &lt;Setter Property="Fill" Value="{StaticResource Background}" /&gt;
                              &lt;/Style&gt;
                          &lt;/ResourceDictionary&gt;
                      &lt;/charting:ResourceDictionaryCollection&gt;
                  &lt;/charting:Chart.Palette&gt;
              &lt;/charting:Chart&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/JQ54l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JQ54l.png" alt="enter image description here"></a></p>