案例里有Top N 脚本,if(!isNaN(param['TextParam1')) {
var col = Table1.binding.getCol(0);
col.sortRank=parseInt(param['TextParam1');
Table1.binding.setCol(0, col);
}
if(!isNaN(param['TextParam1')) {
var col = 图表1.binding.getYCol(0)
col.sortRank=parseInt(param['TextParam1');
图表1.binding.setYCol(0, col)
}
输入负数求bottom,sortRank满足不了,应该怎么写?
|