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, or Chart.NUMBER

Examples

Dimension (categorical) field
Chart1.bindingInfo.setSizeField("Employee",Chart.STRING);

bindingInfoSetSizeDimension

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

bindingInfoSetSizeMeasure

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