bindingInfo.setTopNReverse(col, Boolean)
| bindingInfo.isTopNReverse(col) to obtain the binding information. |
Specifies whether filter should extract the top-N or the bottom-N groups based on an aggregate.
Example
Chart1.bindingInfo.setTopN("Company",3);
Chart1.bindingInfo.setTopNReverse("Company",true); // Bottom-N

Dashboard script that modifies bindingInfo should generally be placed in the onRefresh handler. See Add Dashboard Script.
|