提示点使用js写的
function(){ var points = this.points; var value = "<b>"; for(var i = 0;i < points.length;i++) { if(points[i].series.visible){ if (points[i].seriesName==="无用" || (points[i].seriesName==="总装机容量" && points[i].value === '0')) {continue;} value +="<font></font>"+points[i].seriesName+':'+points[i].value+""+(points[i].seriesName==="总装机容量"?"兆瓦":"")+"<br>"; } } return value+"</font></b>" }; 实际效果两行上下有点挤,怎么让它两行中间留一行空白呢? |
最佳回答 |
||||
0
|
|