首先引用js
<script src="../../js/FusionCharts.js" type="text/javascript"></script>
选择flash 饼状图
function NowResidentsParameter() { $.ajax({ type: "Post",url: "/Parameter/Count",data: “",contentType: "application/json; charset=utf-8",success: function (result) { //饼 var fusionChartPie = new FusionCharts('../../swf/Pie2D.swf','',450,450); fusionChartPie.setdataxML(result); fusionChartPie.render("div_RegistrationCount"); } }); }
原文链接:https://www.f2er.com/ajax/165226.html