bindingInfo.isDiscrete(col)

Returns the state of the specified column, designated as ‘discrete’ or not.

Parameter

col

Name of field to test for discrete

Return

Boolean

true: Field is set as discrete
false: Field is not set as discrete

Example

var dis = Chart1.bindingInfo.isDiscrete("Order Num");
Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.