Home > Web Front-end > HTML Tutorial > Flash pie chart statistics code_html/css_WEB-ITnose

Flash pie chart statistics code_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:44:00
Original
977 people have browsed it

index.html file:

<!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>
Copy after login

 

dataList.XML file

<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>
Copy after login

 

Rendering:

Effect demonstration address: www.100sucai.com/code/97.html

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template