module
viz
Charts: every one is a layout function (charts) in the same frame, which handles loading a src, errors, the legend, the tooltip, the source line and the table view.
Modules
- charts
- data
The data a chart draws: from
srcordata, whichever it was given, down to one x axis and some series. - plot
What a chart draws, independent of how: SVG normally, a canvas when there are too many marks for the DOM.
- scale
Scales: from data values to positions.
- source
Without the
vizfeature a component has nosrc, and none of the code for reading one comes along.
Structs
- Source
A component's
src, without thesourcesfeature: always absent.
Enums
Functions
chart
pub fn chart(name: &'static str, default_title: &'static str, layout: Layout) -> ComponentA chart component called name, drawn by layout. default_title names it when its data has no title.
needs_feature
pub fn needs_feature(name: &'static str, feature: &'static str) -> ComponentStands in for a chart its site didn't ask for: saying so on the page beats an unknown component, and leaves the download small.