FSharp.Charting: Referencing the Library
FSharp.Charting is most often used from F# scripts. To use the library
in a script, load the FSharp.Charting.fsx
file, for example from the NuGet package:
1: 2: |
|
You can now create a chart:
1: 2: 3: |
|
When using F# Interactive, each of these examples needs to be evaluated separately. This way, F# Interactive invokes a handler that automatically shows the created chart.
Alternatively, you can reference FSharp.Charting.dll
directly and manually display the charts using ShowChart
:
1: 2: 3: 4: 5: 6: |
|
To use the library in a project, either
- add the
FSharp.Charting
NuGet package, or - reference
FSharp.Charting.dll
directly