klyn.io.xlsx.Worksheet.insertChart
method
public insertChart(reference as String, chart as Chart) as Void:
Description

Inserts a chart anchored at a cell.

Parameters
  • reference Top-left chart anchor cell.
  • chart Chart to insert.
Throws
  • XlsxException if the reference or chart is invalid.
Example
chart = Chart({"type": "line"})
sheet.insertChart("C1", chart)