bindingInfo.setSizeField(col, type)
|
Bind the specified field to a SizeFrame (size coding).
Parameter
- col
-
Field to be used for size-coding
- type
-
One of the following:
Chart.STRING,Chart.DATE, orChart.NUMBER
Examples
Dimension (categorical) field
Chart1.bindingInfo.setSizeField("Employee",Chart.STRING);

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

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