insightdock::charts::ChartExporter::encode

Encode a chart to memory.

Synopsis

Declared in <insightdock/export.h>
static
ChartResult<std::vector<uint8_t>>
encode(
    Chart& chart,
    ExportOptions const& opts = {});

Return Value

ChartResult holding the encoded bytes on success, or a ChartError on failure (never returns an empty vector on success).

Parameters

Name Description
chart Chart to render.
opts Format and quality options.

Created with MrDocs