ChartExportRequest.csv constructor

const ChartExportRequest.csv({
  1. required BaseChartConfig config,
  2. Map<String, dynamic>? jsonConfig,
  3. List<List<Object?>>? rows,
  4. List<String>? categoryLabels,
  5. String? filename,
  6. String delimiter = ',',
  7. String lineEnding = '\r\n',
  8. Duration? timeout,
  9. ChartExportCancellationToken? cancellationToken,
})

Implementation

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