insightdock::charts::ExportOptions

Options controlling render quality and output format.

Synopsis

Declared in <insightdock/export.h>
struct ExportOptions;

Data Members

Name Description
format
jpeg_quality JPEG quality 1–100 (ignored for PNG/PDF).
pdf_backend Used by draw_pdf() and PDF save().
supersample Supersampling factor (1 = none, 2 = 2×, etc.).
svg_backend Used by SVG save()/encode().
vector_fallback Native output fallback policy.

Description

NOTE

supersample > 1 renders at higher resolution then downsamples for sharper PNG/JPEG, raster SVG and raster PDF output. Factors are clamped to [1, 8]. Built-in charts retain their logical layout and all pixel-space style sizes. Custom charts should implement draw() and clone() for the same behavior; render()-only clones receive scaled common options and must handle their own pixel-space styles. Supported for const and mutable charts.

Created with MrDocs