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

Safe HaskellNone

Graphics.Rendering.Chart.Renderable

Description

 

Synopsis

Documentation

data Renderable Source

A Renderable is a record of functions required to layout a graphic element.

Constructors

Renderable 

Fields

minsize :: Render RectSize

a Cairo action to calculate a minimum size,

render :: Rect -> Render ()

a Cairo action for drawing it within a specified rectangle.

class ToRenderable a whereSource

A type class abtracting the conversion of a value to a Renderable.

data Legend Source

Constructors

Legend Bool LegendStyle [(String, Plot)] 

Instances