Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5960039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:46:11+00:00 2026-05-22T18:46:11+00:00

I tried to compile FSharpChart libary from http://blogs.msdn.com/b/dsyme/archive/2011/04/01/fsharpchart-wrapping-the-system-windows-forms-datavisualization-charting-charting-types.aspx , and got compile error like

  • 0

I tried to compile FSharpChart libary from http://blogs.msdn.com/b/dsyme/archive/2011/04/01/fsharpchart-wrapping-the-system-windows-forms-datavisualization-charting-charting-types.aspx, and got compile error like

Error   1   The value 'StackedArea100' was marked inline but its implementation makes use of an internal or private function which is not sufficiently accessible   

from

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<'TY when 'TY :> IConvertible>(data: seq<'TY>) = 
        GenericChart<_>.Create<StackedArea100Chart>(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<'TX, 'TY when 'TX :> IConvertible and 'TY :> IConvertible>(data:seq<'TX * ('TY)>) = 
        GenericChart<_>.Create<StackedArea100Chart>(oneXYSeq data)
    /// Displays multiple seriesÿof data as stacked areas. The cumulative proportion
    /// of each stacked element is always 100% of the Y
    /// axis.

Can anyone enlighten me what’s going on? thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:46:12+00:00Added an answer on May 22, 2026 at 6:46 pm

    There is no reason why the StackedArea100 (and other similar members) should be inline. You can fix it by replacing all occurrences of static member inline with just static member. If you can post a comment to the F# team’s blog post, that would be great (so that they can correct this in the next release).

    To add some more details:

    The reason why the F# compiler doesn’t like the code is that the oneXYSeq function that is used in the implementation should be internal and so the StackedArea100 cannot be inlined (because it would need to access an inaccessible helper function). The reason why it works in F# Interactive is that the FSharpChart.fsx file is loaded into the current assembly, so internal members are visible.

    Andy why is there unnecessary inline in the source code? It is because I originally experimented with using hat-types e.g. ^T to write generic members that work with any numeric type (and hat types require inline). Then we decided to switch to IConvertible, so the inline annotation is no longer needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I downloaded stlport from https://stlport.svn.sourceforge.net/svnroot/stlport/trunk/STLport and tried to compile it with Visual Studio 2008
so I downloaded this chess engine: http://www.ascotti.org/programming/chess/chess.htm and I tried to compile & run
I tried to compile the example posted ( C++ Service Providers ) and failed
I got this error when I tried to compile an application that includes the
Tried to map it from Preferences -> Settings -> Keyboard, but the key combo
I tried compile apache 2.2, my Visual Studio 2008 returned error on RC. After
I tried to compile my program, with Code::Blocks (gcc compiler). And I get an
I tried to compile the following code, but the compiler wouldn't doing because *
I tried to compile this example: #include <stdio.h> #include <stdlib.h> #include <stddef.h> main(){ size_t
I tried to compile a fortran program for soil-plant-atmosphere model, but I can't compile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.