日期:2014-05-16 浏览次数:20487 次
$(document).ready(function() {
FusionCharts.printManager.enabled(true);
var chartObj = new FusionCharts( 'swf/Column2D.swf', 'flash-chart', '500', '350');
chartObj.setJSONData({
"chart":{ "caption":"Company Revenue","showpercentvalues":"1" },
"data":[
{ "label":"移动2G投资", "value":"10" },
{ "label":"移动3G投资", "value":"20" },
{ "label":"3G通信收入", "value":"10" } ,
{ "label":"3G用户出账用户", "value":"20" } ,
{ "label":"2G出账用户", "value":"40" } ,
]
});
chartObj.render('column2D_1');
});
$str = "{
"chart":{ "caption":"Company Revenue","showpercentvalues":"1" },
"data":[
{ "label":"移动2G投资", "value":"10" },
{ "label":"移动3G投资", "value":"20" },
{ "label":"3G通信收入", "value":"10" } ,
{ "label":"3G用户出账用户", "value":"20" } ,
{ "label":"2G出账用户", "value":"40" } ,
]
}";
$(document).ready(function () {
$.getJSON('PHP文件地址' , function(data){
FusionCharts.printManager.enabled(true);
&