<a id="heraa" name="heraa"></a>
<div id="chartdiv" align="center" style=" display :none; cursor: default;padding: 3px; margin: 5px 8px; border: 1px solid #bbb;"> </div>
</div>
<!-- content end -->
<script type="text/javascript">
var depInfo = "<%=CostsCentertring %>";
function LookPic() {
$("#chartdiv").css("display", "");
var hbchart = null;
hbchart = new FusionCharts("../Include/Pie3D.swf", "ChartId", "580", "300", "0", "0");
---在前台页面拼参数
hbchart.setDataXML("<chart palette='2' caption='按成本中心占比统计' xAxisName='' yAxisName='' showValues='1' decimals='0' FormatNumber='1' FormatNumberScale='0' baseFont='宋体' baseFontSize ='12' baseFontColor ='000000'>" + depInfo + "</chart>");
if (hbchart != null)
hbchart.render("chartdiv");
window.location.href = "#heraa";
}
</script>