bindingInfo.getColorField()

colorField to return the runtime ‘Color’ binding.

Returns the field bound to the ColorFrame (color coding).

Returns

String

Field name used for color-coding

Example

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