Copyright | (C) 2016 Christopher Chalmers |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Christopher Chalmers |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
The title used for a plot.
Documentation
class HasTitle a b | a -> b where Source #
title :: Lens' a (Title b (V a) (N a)) Source #
titleText :: Lens' a String Source #
The text used for the title. If the string is empty, no title is drawn.
Default is ""
titleStyle :: Lens' a (Style (V a) (N a)) Source #
The style applied to the title.
Default is mempty
.
titlePlacement :: Lens' a Placement Source #
The placement of the title against the axis.
Default is mempty
.
titleTextFunction :: Lens' a (TextAlignment (N a) -> String -> QDiagram b (V a) (N a) Any) Source #
The function used to draw the title text.
Default is mkText
.
titleAlignment :: Lens' a (TextAlignment (N a)) Source #
The TextAlignment
used for the title text. This is given to the
titleTextFunction
.
Default is
.BoxAlignedText
0.5 0
titleGap :: Lens' a (N a) Source #
The gap between the axis and the title.
Default is mempty
.