bindingInfo.getCandleBindingField(measure)
| bindingInfo.setCandleBindingField(arr) to set the binding information. |
Returns the field used as the specified measure on a Candle Chart, together with associated binding information.
Parameter
- measure
-
The measure to return:
Chart.HIGH: // measure defining the high values Chart.LOW: // measure defining the low values Chart.OPEN: // measure defining the opening values Chart.CLOSE: // measure defining the closing values
Example
Chart1.bindingInfo.getCandleBindingField(Chart.LOW);
// returns (for example): lowPrice[lowPrice, null, Average, 0]
Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.
|