plots-0.1.1.1: Diagrams based plotting library.

Copyright(C) 2015 Christopher Chalmers
LicenseBSD-style (see the file LICENSE)
MaintainerChristopher Chalmers
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Plots.Axis.Line

Contents

Description

The lines that make up an axis.

Synopsis

Grid lines

data AxisLine v Source #

Information about position and style of axis lines.

Instances
HasAxisLine f (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

Default (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

Methods

def :: AxisLine v #

ApplyStyle (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

Methods

applyStyle :: Style (V (AxisLine v)) (N (AxisLine v)) -> AxisLine v -> AxisLine v

HasStyle (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

Methods

style :: Lens' (AxisLine v) (Style (V (AxisLine v)) (N (AxisLine v)))

HasVisibility (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

type N (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

type N (AxisLine v) = Double
type V (AxisLine v) Source # 
Instance details

Defined in Plots.Axis.Line

type V (AxisLine v) = v

class HasAxisLine f a where Source #

Class of object that have an AxisLine.

Minimal complete definition

axisLine

Methods

axisLine :: LensLike' f a (AxisLine (V a)) Source #

Lens onto the AxisLine.

axisLineType :: Functor f => LensLike' f a AxisLineType Source #

The position of the axis line around the axis.

Default is BoxAxisLine.

axisLineStyle :: Functor f => LensLike' f a (Style (V a) Double) Source #

The options for if you want the axis line to have arrows at the end.

Default is Nothing.

XXX (feature not currently implimented) axisLineArrowOpts :: Functor f => LensLike' f a (Maybe (ArrowOpts (N a))) axisLineArrowOpts = axisLine . lens alArrowOpts (al sty -> al {alArrowOpts = sty})

The Style applied to the axis line

Axis line types

data AxisLineType Source #

Where axis line for coordinate should be drawn. The Default is BoxAxisLine.

Instances
Eq AxisLineType Source # 
Instance details

Defined in Plots.Axis.Line

Show AxisLineType Source # 
Instance details

Defined in Plots.Axis.Line

Default AxisLineType Source # 
Instance details

Defined in Plots.Axis.Line

Methods

def :: AxisLineType #