Chart-0.14: A library for generating 2D Charts and Plots



A framework for creating 2D charts in Haskell.

The basic model is that you define a value of type Renderable, typically by applying toRenderable to some other value. This Renderable is then actually displayed or output by calling either renderableToPNGFile, or renderableToWindow.

Currently, there are two kinds of Renderable for displaying charts:

Multiple Renderables can be composed using the Graphics.Rendering.Chart.Grid module.

Many of the record structure involved in the API have a large number of fields. For each record type X, there is generally a default value called defaultX with sensibly initialised fields. For example, Layout1 has defaultLayout1, etc.

For a simpler though less flexible API, see Graphics.Rendering.Chart.Simple.