Copyright | (c) Tim Docker 2006 2014 |
---|---|
License | BSD-style (see chart/COPYRIGHT) |
Safe Haskell | None |
Language | Haskell98 |
Graphics.Rendering.Chart.Plot.Annotation
Description
Show textual annotations on a chart.
Synopsis
- data PlotAnnotation x y = PlotAnnotation {}
- plot_annotation_hanchor :: forall x y f. Functor f => (HTextAnchor -> f HTextAnchor) -> PlotAnnotation x y -> f (PlotAnnotation x y)
- plot_annotation_vanchor :: forall x y f. Functor f => (VTextAnchor -> f VTextAnchor) -> PlotAnnotation x y -> f (PlotAnnotation x y)
- plot_annotation_angle :: forall x y f. Functor f => (Double -> f Double) -> PlotAnnotation x y -> f (PlotAnnotation x y)
- plot_annotation_style :: forall x y f. Functor f => (FontStyle -> f FontStyle) -> PlotAnnotation x y -> f (PlotAnnotation x y)
- plot_annotation_background :: forall x y f. Functor f => (Rectangle -> f Rectangle) -> PlotAnnotation x y -> f (PlotAnnotation x y)
- plot_annotation_offset :: forall x y f. Functor f => (Vector -> f Vector) -> PlotAnnotation x y -> f (PlotAnnotation x y)
- plot_annotation_values :: forall x1 y1 x2 y2 f. Functor f => ([(x1, y1, String)] -> f [(x2, y2, String)]) -> PlotAnnotation x1 y1 -> f (PlotAnnotation x2 y2)
Documentation
data PlotAnnotation x y Source #
Value for describing a series of text annotations to be placed at arbitrary points on the graph. Annotations can be rotated and styled.
Constructors
PlotAnnotation | |
Fields
|
Instances
ToPlot PlotAnnotation Source # | |
Defined in Graphics.Rendering.Chart.Plot.Annotation Methods toPlot :: PlotAnnotation x y -> Plot x y Source # | |
Default (PlotAnnotation x y) Source # | |
Defined in Graphics.Rendering.Chart.Plot.Annotation Methods def :: PlotAnnotation x y # |
plot_annotation_hanchor :: forall x y f. Functor f => (HTextAnchor -> f HTextAnchor) -> PlotAnnotation x y -> f (PlotAnnotation x y) Source #
plot_annotation_vanchor :: forall x y f. Functor f => (VTextAnchor -> f VTextAnchor) -> PlotAnnotation x y -> f (PlotAnnotation x y) Source #
plot_annotation_angle :: forall x y f. Functor f => (Double -> f Double) -> PlotAnnotation x y -> f (PlotAnnotation x y) Source #
plot_annotation_style :: forall x y f. Functor f => (FontStyle -> f FontStyle) -> PlotAnnotation x y -> f (PlotAnnotation x y) Source #
plot_annotation_background :: forall x y f. Functor f => (Rectangle -> f Rectangle) -> PlotAnnotation x y -> f (PlotAnnotation x y) Source #
plot_annotation_offset :: forall x y f. Functor f => (Vector -> f Vector) -> PlotAnnotation x y -> f (PlotAnnotation x y) Source #
plot_annotation_values :: forall x1 y1 x2 y2 f. Functor f => ([(x1, y1, String)] -> f [(x2, y2, String)]) -> PlotAnnotation x1 y1 -> f (PlotAnnotation x2 y2) Source #