Expand description
Core types and rendering logic for the plotkit plotting library.
This crate provides the fundamental types (Figure, Axes, Artist),
the Renderer trait, and all chart rendering logic. It is backend-agnostic —
concrete renderers live in separate crates.
Most users should use the plotkit umbrella crate instead of depending on
this crate directly.
Modules§
- artist
- Artist types – data + styling for each visual chart element.
- axes
- The Axes container – holds chart data and renders a single subplot.
- charts
- Chart builder methods for configuring visual properties.
- error
- Error types for plotkit.
- figure
- The top-level Figure container.
- layout
- Layout engine for computing plot area and margins.
- legend
- Legend layout and rendering.
- prelude
- The plotkit-core prelude — import common types with a single
usestatement. - primitives
- Core primitive types for plotkit rendering.
- renderer
- The renderer trait — the single seam between chart logic and output backends.
- scale
- Axis scale transformations (data space → axes space).
- series
- Data series abstraction for chart input.
- theme
- Theme system controlling all visual defaults.
- ticks
- Axis tick generation using the Talbot/Wilkinson extended algorithm.