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

WBOY
Lepaskan: 2016-06-24 11:44:00
asal
941 orang telah melayarinya

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>
Salin selepas log masuk

  

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>
Salin selepas log masuk

  

效果图:

 

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

Label berkaitan:
sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan