bindingInfo.getTopN(col)

bindingInfo.setTopN(col, N) to set the binding information.

Returns the number (N) of top or bottom groups being filtered for the specified field.

Parameter

col

Name of filtered field

Example

var N = Chart1.bindingInfo.getTopN("Company");
Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.