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
ParameterDescription
referenceTop-left chart anchor cell.
chartChart to insert.
Throws
  • XlsxException if the reference or chart is invalid.
Example
chart = Chart({"type": "line"})
sheet.insertChart("C1", chart)