【发布时间】:2017-11-09 12:44:11
【问题描述】:
首先,在 icCube 报告的数据渲染面板中,我在 Value 字段中使用了context.cumulativeCol(); 来创建我的累积图。
现在,由于我的数据格式不太适合我的应用程序(我有诸如 '4.547473508864641e-13' 之类的值,我想将其格式化为 0.00),我尝试向函数添加参数:
var col = context.getColumnIndex();
var measure = context.getMeasures();
var property = "FORMATTED_VALUE";
return context.cumulativeCol(col, measure, property);
但我无法获得正确的输出。 我该怎么做?
【问题讨论】: