显示两个系列 function(){ var points = this.points; var value = this.name; for(var i = 0;i < points.length;i++) { value += ''+points[i].seriesName+':'+points[i].value; } return value; } ======================== 拼接\n,不用html解析 或者<br>,用html解析 function(){ var points = this.points; var value = this.name; for(var i = 0;i < points.length;i++) { value += '\n'+points[i].seriesName+':'+points[i].value; } return value; } |