我想改成业绩显示完成率,基数和目标都显示数值,有大佬看下怎么修改JS么.function(){var points = this.points; var a = '完成率:'+ '<br/>'; var b;var c; var d; for(var i = 0, len = points.length; i < len; i++) { if(points.series.visible){ if(this.points.seriesName=="业绩") b = FR.contentFormat(this.points.value, '#0.00'); if(this.points.seriesName=="年初基数") c = FR.contentFormat(this.points.value, '#0.00'); else if(this.points.seriesName=="目标") d= FR.contentFormat(this.points.value, '#0.00'); } } a+=FR.contentFormat( (b-c)/(d-c) *100, '#0.00')+ '%'; return a; }