exportPng method
PNG bytes of the chart canvas (excludes overlay tooltips).
Implementation
Future<Uint8List> exportPng({double pixelRatio = 3}) async {
await _ensureFrame();
return ChartExport.toPng(repaintBoundaryKey, pixelRatio: pixelRatio);
}
PNG bytes of the chart canvas (excludes overlay tooltips).
Future<Uint8List> exportPng({double pixelRatio = 3}) async {
await _ensureFrame();
return ChartExport.toPng(repaintBoundaryKey, pixelRatio: pixelRatio);
}