首页 >web前端 >html教程 >Flash饼状图统计代码_html/css_WEB-ITnose

Flash饼状图统计代码_html/css_WEB-ITnose

WBOY
WBOY原创
2016-06-24 11:44:00968浏览

index.html文件:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title></head><body style="text-align:center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="360" height="220" id="Pie2D" >  <param name="movie" value="Pie2D.swf?ChartNoDataText=111&PBarLoadingText=222&XMLLoadingText=333&ParsingDataText=444&RenderingChartText=555&LoadDataErrorText=666&InvalidXMLText=2222222222222" />  <param name="FlashVars" value="&dataURL=dataList.XML">  <param name="quality" value="high" />  <embed src="Pie2D.swf?ChartNoDataText=111&PBarLoadingText=222&XMLLoadingText=333&ParsingDataText=444&RenderingChartText=555&LoadDataErrorText=666&InvalidXMLText=2222222222222" flashVars="&dataURL=dataList.XML" quality="high" width="360" height="220" name="Pie2D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object><div style="text-align:center; font-weight:bold; font-size:24px;"><a style="color:#2dbdf1;"href="http://www.100sucai.com">www.100sucai.com</a></div></body></html>

  

dataList.XML文件

<chart showFCMenuItem='0' numberScaleUnit=' , ,万,千万' formatNumberScale='1' numberScaleValue='10000,1,1,1000' palette='4' bgColor='666666' showPercentageValues='0' use3DLighting='1' chartsshowShadow='0' showShadow='0' bgAlpha='0' baseFontSize='12' baseFontColor='000000' bgAngle='360' showBorder='0' pieRadius='80' toolTipSepChar=':  '  ><set  value='15' label='浙江省' color='#FF0000'  /><set  value='10' label='北京市' color='#00FFFF'  /><set  value='4' label='江苏省' color='#CACFBE'  /><set  value='12' label='黑龙江省' color='#FF8C00'  /><set  value='5' label='河北省' color='#1F8FA1'  /><set  value='3' label='其他' color='#1F8FA1'  /><styles><definition><style name='CaptionFont' type='font' bold='0' size='12'  /></definition><application><apply toObject='subcaption' styles='CaptionFont'  /></application></styles></chart>

  

效果图:

 

效果演示地址:www.100sucai.com/code/97.html

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn