Module legend

Module legend 

Source
Expand description

Legend system for charts.

This module provides a comprehensive legend system for embedded graphics charts, supporting multiple legend types, flexible positioning, and customizable styling.

Re-exports§

pub use builder::CompactLegendBuilder;
pub use builder::CustomLegendBuilder;
pub use builder::LegendBuilder;
pub use builder::StandardLegendBuilder;
pub use position::LegendAlignment;
pub use position::LegendMargins;
pub use position::LegendPosition;
pub use position::PositionCalculator;
pub use style::BackgroundStyle;
pub use style::LegendStyle;
pub use style::SpacingStyle;
pub use style::SymbolStyle;
pub use style::TextStyle;
pub use traits::DefaultLegendRenderer;
pub use traits::Legend;
pub use traits::LegendEntry;
pub use traits::LegendRenderer;
pub use traits::StandardLegendRenderer;
pub use types::CompactLegend;
pub use types::CustomLegend;
pub use types::LegendEntryType;
pub use types::LegendOrientation;
pub use types::StandardLegend;

Modules§

builder
Builder pattern for legend configuration.
position
Legend positioning and layout calculation.
style
Legend styling configuration.
traits
Core traits for legend implementations.
types
Legend type implementations.

Structs§

DefaultLegend
Default legend configuration
DefaultLegendEntry
Default legend entry implementation