使用format函数进行格式化-https://help.fanruan.com/finereport/doc-view-824.html?source=4#
function() {
var vanchart = this.series.vanchart, series = vanchart.series;
if (!vanchart.seriesOfType) {
series = series.column;
}
var ser; for (var i = series.length - 1; i >= 0; i--)
{
if ((ser = series[i]).visible && this.points[i].getTargetValue() != 0)
{ break; } }
if (ser && ser == this.series)
{
var points = this.points, value = 0;
for (var i = 0, len = points.length; i < len; i++) {
if (points[i].series.visible) {
value += points[i].getTargetValue()
}
} return FR.contentFormat(value, "#.##"); } else { return ''; } }