bindingInfo.getTopNSummaryCol(col)

bindingInfo.setTopNSummaryCol(col,agg) to set the binding information.

Returns the aggregate used for Top-N/Bottom-N filtering on a specified field.

Parameter

col

Name of filtered field

Example

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