value

  • Text Properties for general information about the Text component.

  • Add a KPI for information about displaying text aggregates.

Specifies the contents displayed by the Text component in cases when the component is bound to a data field (i.e., displaying an aggregate). If the Text component is not bound to a data field, the value property is undefined unless explicitly set in script.

Type

Number

Example

if (Text1.value > 10000) {
  Text1.value = 'Maximum exceeded';
}

Either syntax below can be used in component script:

value            // unqualified
Text1.value      // qualified

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