ChartExportRequest constructor
const
ChartExportRequest({
- required ChartExportFormat format,
- BaseChartConfig? config,
- Map<
String, dynamic> ? jsonConfig, - List<
List< ? rows,Object?> > - GlobalKey<
State< ? boundaryKey,StatefulWidget> > - List<
String> ? categoryLabels, - String? filename,
- String sheetName = 'Chart Data',
- String delimiter = ',',
- String lineEnding = '\r\n',
- double pixelRatio = 2.0,
- int jpegQuality = 90,
- Color jpegBackgroundColor = Colors.white,
- Duration? timeout,
- ChartExportCancellationToken? cancellationToken,
Implementation
const ChartExportRequest({
required this.format,
this.config,
this.jsonConfig,
this.rows,
this.boundaryKey,
this.categoryLabels,
this.filename,
this.sheetName = 'Chart Data',
this.delimiter = ',',
this.lineEnding = '\r\n',
this.pixelRatio = 2.0,
this.jpegQuality = 90,
this.jpegBackgroundColor = Colors.white,
this.timeout,
this.cancellationToken,
});