function sumLabel(){ const point = this; const points = point.points; const validPoints = points.filter( (point) => point.isVisible() ); if(point == validPoints) { var cl = this.category; var sql = "map('"+cl+"','在管投资',1,2)"; var sql2 = "map('"+cl+"','在管投资',1,3)"; var value = FR.remoteEvaluate(sql); var value2 = FR.remoteEvaluate(sql2); var c=value+value2; return "<span style='color:#fc6600;font-size:13px;font-weight:bold'>"+c+"</span>"+"<br>"+ "<span style='color:#ffffff;font-size:9px;font-weight:bold'>"+this.value+"</span>" } else { return "<span style='color:#ffffff;font-size:9px;font-weight:bold'>"+this.value+"</span>"; }}