决策报表柱状图使用的是单元格数据,在自定义标签里面定义如下代码不生效
function() { if (this > 0) return this ; else return this * (-1) ; }
this.value
要改成this.value
function() { if (this.value> 0) return this.value; else return this.value* (-1) ; }
function() { if (this > 0) { return this.value } else { return this.value * (-1); } }
function(){
if(this.value>0){
return this.value;
}else{
return this.value*(-1);
}