Chart-1.9: A library for generating 2D Charts and Plots

Graphics.Rendering.Chart.Plot.Annotation

Description

Show textual annotations on a chart.

Synopsis

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_plot_annotation_hanchor :: HTextAnchor _plot_annotation_vanchor :: VTextAnchor _plot_annotation_angle :: DoubleAngle, in degrees, to rotate the annotation about the anchor point._plot_annotation_style :: FontStyle _plot_annotation_background :: RectangleRectangle which style determines the background of the annotation text and which _rect_minsize determines the additional width and height of the background area_plot_annotation_values :: [(x, y, String)]

Instances

 Source # MethodstoPlot :: PlotAnnotation x y -> Plot x y Source # Source # Methodsdef :: PlotAnnotation x y #

plot_annotation_values :: forall x y x y. Lens (PlotAnnotation x y) (PlotAnnotation x y) [(x, y, String)] [(x, y, String)] Source #