function sumOfPoints() {
const point = this;
const points = this.points;
const len = points.length;
let sum = 0;
var result = '';
for (let i = 0; i < len; i++) {
if (point.isVisible()) {
result += "<font color='"+points[i].color+"'>●</font>" + points[i].seriesName +':'+ points[i].value+'</br>';
sum += points[i].value;
}
}
return result+'●求和:'+sum;
}