Skip to main content

render_svg

Function render_svg 

Source
pub fn render_svg(spec: &PlotSpec) -> Result<String, RenderError>
Expand description

Render spec as an SVG document.

ยงErrors

When the spec is invalid or the bundled font cannot load.