getTextID(title)

Localize a Dashboard for more information on localization.

Returns the Text ID assigned to the specified chart axis title. See setTextID(title, textID) to assign a Text ID using script.

Parameter

title

One of the following strings:

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

Example

Chart1.getTextID("X Axis Title");

Either syntax below can be used in component script:

getTextID             // unqualified
Chart1.getTextID      // qualified

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