exportChart method

void exportChart(
  1. String format
)

Requests an export. The bytes arrive on the widget's onExport.

Format availability is platform-dependent; see the support matrix. An unavailable format reports export-unsupported through onError.

Implementation

void exportChart(String format) {
  _bridge?.requestExport(format);
}