ChartExportRequest.xlsxPayload constructor

const ChartExportRequest.xlsxPayload({
  1. required Map<String, dynamic> jsonConfig,
  2. List<String>? categoryLabels,
  3. String? filename,
  4. String sheetName = 'Chart Data',
  5. Duration? timeout,
  6. ChartExportCancellationToken? cancellationToken,
})

Implementation

const ChartExportRequest.xlsxPayload({
  required Map<String, dynamic> this.jsonConfig,
  this.categoryLabels,
  this.filename,
  this.sheetName = 'Chart Data',
  this.timeout,
  this.cancellationToken,
}) : format = ChartExportFormat.xlsx,
     config = null,
     rows = null,
     boundaryKey = null,
     delimiter = ',',
     lineEnding = '\r\n',
     pixelRatio = 2.0,
     jpegQuality = 90,
     jpegBackgroundColor = Colors.white;