bindingInfo.setTopNSummaryCol(col,agg)
| bindingInfo.getTopNSummaryCol(col) to obtain the binding information. |
Specifies the aggregate to be used for Top-N/Bottom-N filtering on a given field.
Example
Chart1.bindingInfo.setTopN("Company",3);
Chart1.bindingInfo.setTopNSummaryCol("Company","Max(Total)");

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