Skip to main content

chart

Function chart 

Source
pub async fn chart(
    session: &mut Session,
    form: &Form,
    values: &FormValues,
    request: &ChartRequest<'_>,
) -> Result<String, CommandError>
Expand description

The chart of a report form, as the text, SVG or PNG literal report-chart replies with.

ยงErrors

CommandError::Argument for an unknown commodity, CommandError::FormInvalid with one line per rejected field, or the server error.