Class: CPageAPI

chartme#CPageAPI()

new CPageAPI()

Methods

(static) getInformations() → {object}

In Development
Returns the Chart-me Page informations of this object
Returns:
Page informations
Type
object

(static) new()

In Development
Creates a new initialized Chart-me Page

(static) open(savedString)

In Development
Opens Chart-me Page
Parameters:
Name Type Default Description
savedString string "" A Chart-me Page string representation (e.g. file: .cmpage)

(static) save() → {string}

In Development
Returns the Chart-me Page saved representation
Returns:
Saved String
Type
string

(static) setData(dataType, data)

Sets CMDXF Data to the Chart-me Page 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 page
Parameters:
Name Type Default Description
settings object "{}" The settings to been set. It must match one of the stylesheet settings