找到graphreportlist.ftl文件,修改showReport(data, tabName) 方法中 加入判断类型是否为pieif("${x['graph_type']}" == "pie"){
var arrNew = [];
$.map(data,function (n,i) {
arrNew.push(,n["${x['field_name']}"] * 1 || 0])
})
series.push({type: "${x['graph_type']}", name: "${x['graph_name']}", data: arrNew});
} 代码编辑器是真的难用
页:
1
[2]