x2Title.text

Sets the title text for the secondary (top) X-axis.

Type

string

Example

Chart1.x2Title.text = "New Jersey Employees"

Either syntax below can be used in component script:

x2Title.text             // unqualified
Chart1.x2Title.text      // qualified

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