Skip to main content

Module annotations

Module annotations 

Source
Expand description

Text annotations and arrow annotations for axes.

This module defines the types used by [Axes::text] and [Axes::annotate] to place text labels and annotated callouts on a plot. Both types support builder-style configuration for font size, color, alignment, and (for annotations) arrow styling.

Structs§

Annotation
An annotation with optional arrow from a text position to a data point.
TextAnnotation
A text label placed at a data-space coordinate.

Enums§

ArrowStyle
Arrow style for annotations connecting text to a data point.