How to open and use Library : "Fsharp.Charting && Fsharp.Charts" in Fsharp?

230 Views Asked by At

I tried my's best by finding a answer in Google . But all I think that it's not accordant with my case . enter image description here

Please give me a guide . Thank you very much .

If you were I , you can Uninstall + Install Visual Emprise .

This's reasons takes me many times .

Thank you everyone who help me in my difficulty .

2

There are 2 best solutions below

0
Tomislav Markovski On BEST ANSWER

You can add a reference directly to the DLL using the #r directive in your script.

#r "../packages/FSharp.Charting.0.91.1/lib/net45/FSharp.Charting.dll"

open FSharp.Charting
0
JosephStevens On

Right click on Fsharp.Charting reference in the references section of visual studio, and send to Fsharp.Interactive

then the below code will work

open FSharp.Charting

Chart.Line [ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ]
|> Chart.Show

Related Questions in F#

Related Questions in F#-DATA