1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
----------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.Chart
-- Copyright : (c) Tim Docker 2006-2013
-- License : BSD-style (see chart/COPYRIGHT)
--
-- A framework for creating 2D charts in Haskell.
--
-- For the simplest API, see the "Graphics.Rendering.Chart.Easy"
-- module.
--
-- When more control is required, understanding the various data types
-- is necessary. The basic model is that you define a value
-- representing a chart to be displayed (eg. a `Layout`), and then
-- convert it to a 'Renderable' by applying 'toRenderable'. This
-- 'Renderable' is then actually output by calling a function in an
-- appropriate graphics backend, eg 'renderableToFile'.
--
-- Currently, there are three types of charts:
--
-- * 'Layout' is a standard XY chart
--
-- * 'LayoutLR' is an XY chart with independent left
-- and right axes
--
-- * 'PieLayout' is a pie chart
--
-- 'Layout' and 'LayoutLR' charts can be stacked vertically using
-- the 'StackedLayouts' type.
--
-- 'Renderable's can be composed in arbitrary ways using the
-- "Graphics.Rendering.Chart.Grid" module.
--
-- Many of the record structure involved in the API have a large
-- number of fields. 'Lens'es are provided to access each field. Also,
-- for each record type, there is generally a default value, which can
-- be accessed through the 'def' value of the 'Default' typeclass.
--
-----------------------------------------------------------------------------
module Graphics.Rendering.Chart(
module Graphics.Rendering.Chart.Geometry,
module Graphics.Rendering.Chart.Drawing,
module Graphics.Rendering.Chart.Renderable,
module Graphics.Rendering.Chart.Layout,
module Graphics.Rendering.Chart.Axis,
module Graphics.Rendering.Chart.Plot,
module Graphics.Rendering.Chart.Legend,
module Graphics.Rendering.Chart.Backend.Types
) where
import Graphics.Rendering.Chart.Geometry
import Graphics.Rendering.Chart.Drawing
import Graphics.Rendering.Chart.Renderable
import Graphics.Rendering.Chart.Layout
import Graphics.Rendering.Chart.Axis
import Graphics.Rendering.Chart.Plot
import Graphics.Rendering.Chart.Legend
import Graphics.Rendering.Chart.Backend.Types
|