function sumLabel(){ const point = this; const points = point.points; const validPoints = points.filter( (point) => point.isVisible() ); if(point == validPoints) //把汇总值显示在第2个系列 { let value = 0; for(let i = 0; i < validPoints.length-1; i++) //求和的值包含的系列为从下往上数前2个系列 { value += validPoints.value; } return value; } else { return ""; }}-- -- #,##0.00 改这个格式