title: MS Charts: Getting the real InnerPlotPosition?
body: <p>When creating charts using Microsoft Charts, I need to get the exact position of the grid on the chart.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/dd456696.aspx" rel="nofollow noreferrer">This page</a> says -- as I understand it -- that this can be achieved with InnerPlotPosition. However, when using this property, I get the following rectangle:<img src="https://i.stack.imgur.com/wfs27.jpg" alt="InnerPlotPosition"></p>
  
  <p>This rectangle seems to scale with the chart size; when resizing the chart, the rectangle shrinks, but still keeps on the outside of the grid on all edges. I have tried both adding and multiplying the sizes with a constant, but no single constant works for all sizes.</p>
  
  <p>So, just to clarify, what I want is the outer black rectangle on the grid. Is there any way to get this?</p>
  
  <p>(I have been thinking of scanning pixels from the edges, and detecting the first black pixel in each direction, but that sounds like a grotty hack.)</p>