Class: CApplicationAPI

chartme#CApplicationAPI()

new CApplicationAPI()

Methods

(static) exportJPG()

TEST
Prerequisites: Server connection
Exports the whole application to a JPG files in one ZIP folder.
You can set options like page sizes later.

(static) exportPDF()

TEST
Prerequisites: Server connection
Exports the whole application to a single PDF file.
You can set options like page sizes later.

(static) exportPPT()

TEST
Prerequisites: Server connection
Exports the whole application to a single PowerPoint file.
You can set options like page sizes later.

(static) onHierarchyClicked()

On Hierarchy Clicked Event
Properties:
Name Type Description
onHierarchyClicked module:chartme#CApplicationAPI.onHierarchyClicked This function will be thrown, when the user clicked on a hierarchy element in the application

Type Definitions

hierarchyData

Chart-me Application Options
Defines the options for the whole Chart-me Application object
Type:
  • object
Properties:
Name Type Description
id string The ID of the CMDXF Data
type Enum The type of the clicked reason
Properties
Name Type Description
collapse string The element is expanded and will be collapsed
expand string The element is collapsed and will be expanded
dimension object The dimension of the clicked member
Properties
Name Type Description
key string The dimension key
text string The dimension text
member object The clicked member
Properties
Name Type Description
key string The member key
text string The member text
informations object The additional member information - depends on the CMDXF data

onHierarchyClicked(hierarchyData)

On Load Chart-me Application Ready Function
This function will be thrown, when the Chart-me Application initialization process will be done.
Parameters:
Name Type Description
hierarchyData module:chartme#CApplicationAPI.hierarchyData All necessary information of the clicked member