shapeField

Property is read-only. It cannot be set in script.

Returns the name of the query field that is currently assigned to the ‘Shape’ binding (ShapeFrame) at runtime. This property is read-only. Use bindingInfo.setShapeField() to set the ‘Shape’ binding in script.

Type

String

Example

if (Chart1.shapeField == 'State') {
  StateSelectionList1.visible = true;
}
else {
  StateSelectionList1.visible = false;
}

Either syntax below can be used in component script:

shapeField           // unqualified
Chart1.shapeField    // qualified

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