Skip to main content

render_chart

Function render_chart 

Source
pub fn render_chart(
    spec: &ChartSpec,
    format: ChartFormat,
    size: (u32, u32),
    look: ChartLook,
) -> Result<EvalValue>
Expand description

spec in format; size is the SVG’s and the PNG’s width and height.

§Errors

A PNG that cannot be drawn.