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

Safe HaskellNone

Graphics.Rendering.Chart.Legend

Description

Types and functions for handling the legend(s) on a chart. A legend is an area on the chart used to label the plotted values.

Synopsis

Documentation

data Legend x y Source

Constructors

Legend LegendStyle [(String, Rect -> ChartBackend ())] 

Instances

data LegendOrientation Source

Legends can be constructed in two orientations: in rows (where we specify the maximum number of columns), and in columns (where we specify the maximum number of rows)

Constructors

LORows Int 
LOCols Int 

defaultLegendStyle :: LegendStyleSource

Deprecated: Use the according Data.Default instance!