charts property

ChartHelper? charts
getter/setter pair

Sets a Chart helper in the worksheet.

Workbook workbook = Workbook();
Worksheet sheet = workbook.worksheets[0];
ChartCollection charts = ChartCollection(sheet);
charts.add();
sheet.charts = charts;
List<int> bytes = workbook.saveAsStream();
File('ExcelEmptyChart.xlsx').writeAsBytes(bytes);
workbook.dispose();

Implementation

ChartHelper? charts;