Skip to main content

chart_png

Function chart_png 

Source
pub async fn chart_png(
    session: &mut Session,
    form: &Form,
    values: &FormValues,
    kind: &str,
    size: ChartSize,
) -> Result<Vec<u8>, CommandError>
Expand description

The PNG bytes of a report form’s chart.

§Errors

As chart, or a reply that is not a bytes literal.