fusioncharts导出图片和pdf(v3.3)

数据为XML:在chart元素上加"exportEnabled="1" exportAtClient="1" exportDialogMessage="正在生成..."

exportHandler="fcExporter3" exportFormats="JPG=生成JPG图片|PDF=生成PDF文件"" code

页面JS: component

//导出每一年度 本身分配 图 
		var myExportComponent3 = new FusionChartsExportObject('fcExporter3','/lgfczj/FusionCharts/Charts/FCExporter.swf');
		myExportComponent3.componentAttributes.btnColor = 'EAF4FD';
		myExportComponent3.componentAttributes.btnBorderColor = '0372AB';
		myExportComponent3.componentAttributes.btnFontFace = 'Verdana';
		myExportComponent3.componentAttributes.btnFontColor = '0372AB';
		myExportComponent3.componentAttributes.btnFontSize = '12';
		myExportComponent3.componentAttributes.btnsavetitle = '另存为';
		myExportComponent3.componentAttributes.btndisabledtitle = '右键生成图片';
		myExportComponent3.Render('exporterDiv3');
导入:FusionChartsExportComponent.js
相关文章
相关标签/搜索