代码:
setAttr("T-shirt", result[0]); setAttr("pants", result[1]); setAttr("skirt", result[2]); setAttr("coat", result[3]);
result[i]是double类
前端JavaScript:
var series= [{ name: '销售额', data: [#(T-shirt??), #(pants??), #(skirt??), #(coat??)] }];
用于生成Highcharts图表的柱状图,这些double型参数好像传不了,图表显示不出来?怎么写才对?
项目:JFinal