bindingInfo.getShapeField()

bindingInfo.setShapeField() to set the binding information.

Returns the field bound to the ShapeFrame (shape coding).

Returns

String

Field name used for shape-coding

Example

var sfield = Chart1.bindingInfo.getShapeField();
Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.