plotkit-core 0.1.0

Core types and logic for the plotkit plotting library
Documentation
//! 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.

#![deny(missing_docs)]

pub mod primitives;
pub mod renderer;
pub mod error;
pub mod series;
pub mod scale;
pub mod ticks;
pub mod theme;
pub mod layout;
pub mod artist;
pub mod axes;
pub mod figure;
pub mod legend;
pub mod charts;

/// The plotkit-core prelude — import common types with a single `use` statement.
pub mod prelude {
    pub use crate::error::{PlotError, Result};
    pub use crate::figure::Figure;
    pub use crate::axes::Axes;
    pub use crate::primitives::Color;
    pub use crate::scale::Scale;
    pub use crate::series::{IntoSeries, IntoCategories};
    pub use crate::theme::{Theme, LineStyle, Marker, Loc};
}