Skip to main content

Crate chartml_core

Crate chartml_core 

Source

Re-exports§

pub use error::ChartError;
pub use spec::parse;
pub use spec::ChartMLSpec;
pub use spec::Component;
pub use element::ChartElement;
pub use plugin::ChartConfig;
pub use plugin::ChartRenderer;
pub use plugin::DataSource;
pub use plugin::TransformMiddleware;
pub use plugin::DatasourceResolver;
pub use registry::ChartMLRegistry;
pub use theme::Theme;
pub use pipeline::FetchedChart;
pub use pipeline::PreparedChart;
pub use pipeline::FetchMetadata;
pub use pipeline::PreparedMetadata;
pub use pipeline::RenderOptions;
pub use resolver::CacheBackend;
pub use resolver::CacheBackendRef;
pub use resolver::CacheConfig;
pub use resolver::CacheError;
pub use resolver::CachedEntry;
pub use resolver::CacheHitEvent;
pub use resolver::CacheMissEvent;
pub use resolver::CacheTier;
pub use resolver::CancellationToken;
pub use resolver::DataSourceProvider;
pub use resolver::ErrorEvent;
pub use resolver::FetchBatchResult;
pub use resolver::FetchError;
pub use resolver::FetchRequest;
pub use resolver::FetchResult;
pub use resolver::HooksRef;
pub use resolver::HttpProvider;
pub use resolver::InlineProvider;
pub use resolver::MemoryBackend;
pub use resolver::MissReason;
pub use resolver::NullHooks;
pub use resolver::Phase;
pub use resolver::ProgressEvent;
pub use resolver::ResolveOutcome;
pub use resolver::Resolver;
pub use resolver::ResolverHooks;
pub use resolver::ResolverRef;
pub use resolver::SharedRef;

Modules§

color
data
element
error
format
layout
params
Parameter resolution for ChartML.
pipeline
Three-stage rendering pipeline types (chartml 5.0 phase 2).
plugin
registry
resolver
Resolver: caching + dedup + dispatch layer between ChartML::fetch and the registered DataSourceProvider implementations (chartml 5.0 phase 3).
scales
shapes
spec
svg
ChartElement tree → SVG string serialization.
theme
Chart theme — colors, typography, and shape defaults for chart chrome.
transform

Structs§

ChartML
Main ChartML instance. Orchestrates parsing, data fetching, and rendering. Maintains source and parameter registries that persist across render calls, matching the JS ChartML class behavior.