bindingInfo.isTopNReverse(col)

Returns the state of the Top-N/Bottom-N filter.

Parameter

col

Name of the filtered field

Return

Boolean

true: filter is bottom N
false: filter is top N

Example

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