geoFields

Property is read-only. It cannot be set in script.
bindingInfo.geoFields to associate fields with the ‘Geographic’ binding.

Returns the names of the query fields (as an array) that are currently assigned to the ‘Geographic’ binding at runtime. This property is read-only.

Type

Array of Strings

Example

if (Chart1.geoFields[0] == 'State') {
  StateSelectionList1.visible = true;
}
else {
  StateSelectionList1.visible = false;
}

Either syntax below can be used in component script:

geoFields           // unqualified
Chart1.geoFields    // qualified

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