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§
- Http
Provider - Provider for
data: { url: "..." }shapes. Issues a GET viareqwest(works on both native and WASM with no feature-flag branching). - Inline
Provider - Provider for
data: { rows: [...] }shapes. Materializes the inline rows into aDataTableviaDataTable::from_rows. Empty rows produce an empty table — the same as the legacy inline path.