FSharp.Charting: The F# Charting Library

The new version of FSharp.Chart (formely FSharpChart) can now be found on GitHib at: http://fsharp.github.io/FSharp.Charting/

FSharpChart - Wrapping the System.Windows.Forms.DataVisualization.Charting Charting Types

FSharpChart contains F#-friendly wrappers for the types in the System.Windows.Forms.DataVisualization.Charting namespace (http://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.aspx), making it easy to interactively chart data from F# Interactive.

Basic features

These methods make it easy to directly pipe data into a chart. Furthermore, the FSharpChart library adds a custom printer to F# Interactive which automatically opens each chart control in its own window.

Each chart control also has a context menu which makes it easy to copy the chart to the clipboard, save to a file, or view (and modify) detailed chart properties.

An introduction of the code can be found on the fsharp team blog at:

A summary of some of the 0.5 features can be found at:

A summary of the 0.55 features can be found here:


A summary of the 0.60 changes can be found here:


Version History:

0.2 - Base Version

0.3 - Includes Clipboard and SaveAs Capabilities (supporting multiple file formats)

0.4 - Property Change Events for Name, Title, Margin, Legend, and Custom properties.

0.5 - Support for 3D Charts and naming of data series for BoxPlot charts

0.55 - Support for defaults and ToolTip's in addition to some WPF samples

0.56 - Minor changes for additional With properties and WithSeries.Marker()

0.60 - Support for binding a StackedChart with multiple Data Series

A minor change has been added to support naming form windows with the chart type and for FastLines binding.

In version 0.4 the solution is broken down into individual FS source files. The root directory of the ZIP download however still contains a FSX file containing all the source code in a single script file; FSharpChart.fsx.

Code is also available as a NuGet Package: