yFields
| Property is read-only. It cannot be set in script. |
Returns the names of the query fields (as an array) that are currently assigned to the Y-axis binding at runtime. This property is read-only. Use bindingInfo.yFields to assign fields to the Y-axis.
Example
if (Chart1.yFields[0] == 'Quantity Purchased') {
Gauge1.visible = true;
}
else {
Gauge1.visible = false;
}
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |