setTextID(title, textID)

Localize a Dashboard for more information on localization.

Assigns the specified textID to the specified chart title. The corresponding “getter” function is getTextID(title).

Parameter

title

One of the following strings:

'X Axis Title'
'Y Axis Title'
'Secondary X Axis Title'
'Secondary Y Axis Title'
textID

String identifier to be mapped in the SreeBundle localization file

Example

Chart1.setTextID("X Axis Title","XTitleID");

Either syntax below can be used in component script:

setTextID             // unqualified
Chart1.setTextID      // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.