title: F# compile FSharpChart: inline error
body: <p>I tried to compile FSharpChart libary from <a href="http://blogs.msdn.com/b/dsyme/archive/2011/04/01/fsharpchart-wrapping-the-system-windows-forms-datavisualization-charting-charting-types.aspx" rel="nofollow">http://blogs.msdn.com/b/dsyme/archive/2011/04/01/fsharpchart-wrapping-the-system-windows-forms-datavisualization-charting-charting-types.aspx</a>, and got compile error like </p>
  
  <pre><code>Error   1   The value 'StackedArea100' was marked inline but its implementation makes use of an internal or private function which is not sufficiently accessible   
  </code></pre>
  
  <p>from </p>
  
  <pre><code>type FSharpChart =
      /// Displays multiple seriesÿof data as stacked areas. The cumulative proportion
      /// of each stacked element is always 100% of the Y
      /// axis.
      static member StackedArea100&lt;'TY when 'TY :&gt; IConvertible&gt;(data: seq&lt;'TY&gt;) = 
          GenericChart&lt;_&gt;.Create&lt;StackedArea100Chart&gt;(oneY data)
      /// Displays multiple seriesÿof data as stacked areas. The cumulative proportion
      /// of each stacked element is always 100% of the Y
      /// axis.
      static member inline StackedArea100&lt;'TX, 'TY when 'TX :&gt; IConvertible and 'TY :&gt; IConvertible&gt;(data:seq&lt;'TX * ('TY)&gt;) = 
          GenericChart&lt;_&gt;.Create&lt;StackedArea100Chart&gt;(oneXYSeq data)
      /// Displays multiple seriesÿof data as stacked areas. The cumulative proportion
      /// of each stacked element is always 100% of the Y
      /// axis.
  </code></pre>
  
  <p>Can anyone enlighten me what's going on? thanks.</p>