new CChartAPI()
Methods
(static) getInformations() → {object}
In Development
Returns the Chart-me Chart informations of this object
Returns the Chart-me Chart informations of this object
Returns:
Chart informations
- Type
- object
(static) new()
In Development
Creates a new initialized Chart-me Chart
Creates a new initialized Chart-me Chart
(static) open(savedString)
In Development
Opens Chart-me Chart
Opens Chart-me Chart
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
savedString |
string | "" | A Chart-me Chart string representation (e.g. file: .cmchart) |
(static) save() → {string}
In Development
Returns the Chart-me Chart saved representation
Returns the Chart-me Chart saved representation
Returns:
Saved String
- Type
- string
(static) setData(dataType, data)
Sets CMDXF Data to the Chart-me Chart Object
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
dataType |
string | "cmdxf" | The datatype of the data to be set |
data |
module:chartme.CMDXF | {} | Thedata to been set |
(static) setSettings(settings)
Sets multiple settings to the chart
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
settings |
object | "{}" | The settings to been set. It must match one of the stylesheet settings |