title: Get Mouse click event from Microsoft Chart Control click on data marker
body: <p>I have a .net 4.0 point chart in my app.  I would like to capture the mouse click on a data marker.  When the user clicks on a particular point, I'd like to go to the row in the bound table where the data came from.</p>
  
  <p>Is this functionality built-in to the .net chart control?</p>
  
  <p>EDIT:  I found that I may have actually wanted the cursor position value rather than requiring the user to click on a specific data point.  Once I have the cursor location, that value can be used to find the row in the dataset that is closest to the mouse click. I accepted the answer to my original question below as it was a correct answer to what I initially requested.</p>
  
  <p>The solution to my 'real' problem was found in the post by user quinn in the post 
  <a href="https://stackoverflow.com/questions/5425122/ms-chart-control-showing-mouse-axis-coordinates">Showing Mouse Axis Coordinates on Chart Control</a></p>
  
  <pre><code>{
      var chartArea = _chart.ChartAreas[0];
      var xValue = chartArea.AxisX.PixelPositionToValue(x);
      var yValue = chartArea.AxisY.PixelPositionToValue(y);
      return new Tuple&lt;double, double&gt;(xValue, yValue);
  }
  </code></pre>