bindingInfo.setTextField(col, type)
|
bindingInfo.getTextField() to obtain the binding information. |
Bind the specified field to a TextFrame (text coding).
Parameter
- col
-
Field to be used for text-coding
- type
-
One of the following:
Chart.STRING,Chart.DATE, orChart.NUMBER
Examples
Dimension (categorical) field
Chart1.bindingInfo.setTextField("Employee",Chart.STRING);

Measure (numerical) field
Chart1.bindingInfo.setTextField("Total",Chart.NUMBER);

Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.
|