Skip to main content

Crate plotkit_core

Crate plotkit_core 

Source
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§

annotations
Text annotations and arrow annotations for axes.
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.
colorbar
Colorbar component for displaying color-to-value mappings.
colormap
Named colormap system for mapping scalar values to colors.
decimate
Downsampling algorithms for large datasets.
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 use statement.
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.