Chart
class in package klyn.io.xlsx

    public class Chart extends Object:

Object
└ Chart

XLSX chart definition.

The initial implementation supports the line chart API needed by the spreadsheet export scenario. Series values use the standard Excel formula syntax, for example `=Sheet1!$A$1:$A$6`.

@example ```klyn import klyn.io.xlsx

chart = Chart({"type": "line"}) chart.addSeries({"values": "=Data!$A$1:$A$6"})

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | type `type as String:` | Chart type.

Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | Chart `Chart(options as Map<String, Object> = null):` | Creates a chart from an option map.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | _getChartIndex `_getChartIndex() as Int:` | No summary.
public | _setChartIndex `_setChartIndex(index as Int) as Void:` | No summary.
public | addSeries `addSeries(options as Map<String, Object>) as Void:` | Adds a data series.

Methods inherited from Object: fromJson, toDict, toJson, toString, toXml