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

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

WBOY
發布: 2016-06-24 11:44:00
原創
973 人瀏覽過

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

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板