insightdock::charts::format_from_path

Infer OutputFormat from a file path extension.

Synopsis

Declared in <insightdock/export.h>
[[visibility]]
OutputFormat
format_from_path(std::string const& path);

Return Value

Detected format, or OutputFormat::Png if extension is unknown.

Parameters

Name Description
path File path (e.g. "chart.png", "out.pdf").

Created with MrDocs