帆软报表(finereport) 组合地图 保持系列名和值居中

自定义JavaScript代码,使用HTML解析

function(){
var name = this.name;
var total = '<div style="100%;height:200%;">';
total += '<div align=center style="vertical-align:top;padding-bottom:1px;"> <span style="font-size:10px;color:'+name+'">'+FR.contentFormat(this.name, '')+'</span><br><span style="font-size:10px;">'+
FR.contentFormat(this.value, '#,##0')+'</span></div>';
total+='</div>';
return total; }

  

原文地址:https://www.cnblogs.com/Williamls/p/11136440.html