Skip to main content

Module spec

Module spec 

Source
Expand description

A declarative, serializable chart description shared by Rust, the host spec, Python, and wasm.

PlotSpec is deliberately independent of egui: the same value drives the desktop plot, the headless renderer, and every binding. The version field freezes the meaning of the rest; new optional fields are additive.

Structs§

PlotSpec
A complete chart as data.
PlotTheme
Theme colors for a headless chart.
SeriesSpec
One series in a PlotSpec.

Enums§

MarkerSpec
A marker shape.
PagePreset
A publication page preset.
SeriesKind
How a SeriesSpec is drawn.
SpecError
Why a PlotSpec is invalid.

Constants§

PLOT_SPEC_VERSION
The current PlotSpec version.