title: How to draw vertical line on mschart that fills graph but isn't infinite?
body: <p>I am trying to draw a vertical line that is anchored to a point. I tried to use the height of my Y axis which is fixed to draw the line, but it wasn't centered correctly. So right now I have an infinite line, but that I want is the line to just fill the graph like so</p>
  
  <p><img src="https://i.stack.imgur.com/Th3BZ.png" alt="http://i.imgur.com/OKdjcdU.png?1"></p>
  
  <pre><code>VerticalLineAnnotation lineannot = new VerticalLineAnnotation();
  lineannot.AnchorDataPoint = chart.Series[item].Points.Last();
  lineannot.LineColor = Color.Red;
  lineannot.Width = 3;
  lineannot.Visible = true;
  lineannot.IsInfinitive = true;
  chart.Annotations.Add(lineannot);
  </code></pre>