chart-unit-0.3.2: A set of native haskell charts.

Safe HaskellNone
LanguageHaskell2010

Chart.Types

Synopsis

Documentation

type Chart a = Renderable (Path V2 Double) a => QDiagram a V2 Double Any Source #

a Chart has a concrete scale, and combinatory options amount to mappend (on top of) and beside

type Chart' a = (Renderable (Path V2 Double) a, Renderable (Text Double) a) => QDiagram a V2 Double Any Source #

an alternative synonym where text is involved.

data Aspect Source #

the rendering aspect (or plane) of the chart. Wrapped to distinguish this from a plain XY

Constructors

Aspect 

Fields

data QChart a b Source #

The concrete nature of a QDiagram, and a desire to scale data and hud items naturally, a QChart is mostly a late binding of the Aspect that the chart is to be projected on to and the data.

Constructors

QChart 

qXY :: forall a b. Lens' (QChart a b) (Rect Double) Source #

qChart :: forall a b. (Renderable (Text Double) a, Renderable (Path V2 Double) a) => Getter (QChart a b) (Aspect -> b -> QDiagram a V2 Double Any) Source #

qData :: forall a b. Lens' (QChart a b) b Source #

data Orientation Source #

Constructors

X 
Y 

data Color Source #

Constructors

Color 

Fields

Instances

Eq Color Source # 

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Show Color Source # 

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

data LineConfig Source #

Constructors

LineConfig 

Instances