Copyright | (C) 2015 Christopher Chalmers |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Christopher Chalmers |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The lines that make up an axis.
Synopsis
- data AxisLine v n
- class HasAxisLine f a where
- data AxisLineType
Grid lines
Information about position and style of axis lines.
Instances
HasAxisLine f (AxisLine v n) Source # | |
Defined in Plots.Axis.Line axisLine :: LensLike' f (AxisLine v n) (AxisLine (V (AxisLine v n)) (N (AxisLine v n))) Source # axisLineType :: LensLike' f (AxisLine v n) AxisLineType Source # axisLineArrowOpts :: LensLike' f (AxisLine v n) (Maybe (ArrowOpts (N (AxisLine v n)))) Source # axisLineStyle :: LensLike' f (AxisLine v n) (Style (V (AxisLine v n)) (N (AxisLine v n))) Source # | |
Typeable n => Default (AxisLine v n) Source # | |
Defined in Plots.Axis.Line | |
HasVisibility (AxisLine v n) Source # | |
type N (AxisLine v n) Source # | |
Defined in Plots.Axis.Line | |
type V (AxisLine v n) Source # | |
Defined in Plots.Axis.Line |
class HasAxisLine f a where Source #
Class of object that have an AxisLine
.
axisLine :: LensLike' f a (AxisLine (V a) (N 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
.
axisLineArrowOpts :: Functor f => LensLike' f a (Maybe (ArrowOpts (N a))) Source #
The options for if you want the axis line to have arrows at the end.
XXX (feature not currently implimented)
axisLineStyle :: Functor f => LensLike' f a (Style (V a) (N a)) Source #
The Style
applied to the axis line
Instances
HasAxisLine f (AxisLine v n) Source # | |
Defined in Plots.Axis.Line axisLine :: LensLike' f (AxisLine v n) (AxisLine (V (AxisLine v n)) (N (AxisLine v n))) Source # axisLineType :: LensLike' f (AxisLine v n) AxisLineType Source # axisLineArrowOpts :: LensLike' f (AxisLine v n) (Maybe (ArrowOpts (N (AxisLine v n)))) Source # axisLineStyle :: LensLike' f (AxisLine v n) (Style (V (AxisLine v n)) (N (AxisLine v n))) Source # | |
Functor f => HasAxisLine f (SingleAxis b v n) Source # | |
Defined in Plots.Axis axisLine :: LensLike' f (SingleAxis b v n) (AxisLine (V (SingleAxis b v n)) (N (SingleAxis b v n))) Source # axisLineType :: LensLike' f (SingleAxis b v n) AxisLineType Source # axisLineArrowOpts :: LensLike' f (SingleAxis b v n) (Maybe (ArrowOpts (N (SingleAxis b v n)))) Source # axisLineStyle :: LensLike' f (SingleAxis b v n) (Style (V (SingleAxis b v n)) (N (SingleAxis b v n))) Source # |
Axis line types
data AxisLineType Source #
Where axis line for coordinate should be drawn. The Default
is
BoxAxisLine
.
Instances
Show AxisLineType Source # | |
Defined in Plots.Axis.Line showsPrec :: Int -> AxisLineType -> ShowS # show :: AxisLineType -> String # showList :: [AxisLineType] -> ShowS # | |
Default AxisLineType Source # | |
Defined in Plots.Axis.Line def :: AxisLineType # | |
Eq AxisLineType Source # | |
Defined in Plots.Axis.Line (==) :: AxisLineType -> AxisLineType -> Bool # (/=) :: AxisLineType -> AxisLineType -> Bool # |