exportPdfFromConfig method
Future<Uint8List>
exportPdfFromConfig(
- ChartConfig config, {
- double pixelRatio = 3,
- PdfPageFormat pageFormat = PdfPageFormat.a4,
Convenience: export using config title / subtitle when not overridden.
Implementation
Future<Uint8List> exportPdfFromConfig(
ChartConfig config, {
double pixelRatio = 3,
PdfPageFormat pageFormat = PdfPageFormat.a4,
}) {
return exportPdf(
title: config.title,
subtitle: config.subtitle,
pixelRatio: pixelRatio,
pageFormat: pageFormat,
);
}