Skip to main content

Module builtin

Module builtin 

Source
Expand description

Built-in providers: InlineProvider and HttpProvider.

Both are pre-registered on ChartML::new() under their respective dispatch keys ("inline", "http"). Hosts can override either by calling register_provider("inline", ...) / register_provider("http", ...) with their own implementation — e.g., an HTTP provider that adds OAuth refresh.

Structs§

HttpProvider
Provider for data: { url: "..." } shapes. Issues a GET via reqwest (works on both native and WASM with no feature-flag branching).
InlineProvider
Provider for data: { rows: [...] } shapes. Materializes the inline rows into a DataTable via DataTable::from_rows. Empty rows produce an empty table — the same as the legacy inline path.