Skip to main content

Module report_form

Module report_form 

Source
Expand description

Report forms submitted through submit-form, drawn by report-chart.

Structs§

ChartRequest
How a chart is drawn: its kind (bar, line or stacked), format, size and look.

Functions§

chart
The chart of a report form, as the text, SVG or PNG literal report-chart replies with.
chart_call
The report-chart call for form’s values.
chart_png
The PNG bytes of a report form’s chart.
csv
The category report as the CSV text report-csv replies with.
csv_call
The report-csv call for the category report form’s values.
png_from_literal
The PNG bytes of the #"…" literal a PNG report-chart replies with.
terminal_chart
The chart for a terminal: the kitty-graphics PNG when kitty, else text.

Type Aliases§

ChartSize
The width and height, in pixels, of a raster or vector chart.