Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

FusionChartsµÄXML±êÇ©ÊôÐÔ

FusionCharts µÄ XML±êÇ©ÊôÐÔÓÐÒ»ÏÂËÄÖÖÊý¾ÝÀàÐÍ
* Boolean - ²¼¶ûÀàÐÍ£¬Ö»ÄÜΪ1»òÕß0¡£ÀýÈ磺<graph showNames=’1′ >
* Number - Êý×ÖÀàÐÍ£¬Ö»ÄÜΪÊý×Ö¡£ÀýÈ磺<graph yAxisMaxValue=’200′ >
* String - ×Ö·û´®ÀàÐÍ£¬Ö»ÄÜΪ×Ö·û´®¡£ÀýÈ磺 <graph caption=’My Chart’ >
* Hex Color Code - Ê®Áù½øÖÆÑÕÉ«´úÂ룬ǰ±ßûÓÐ’#’.ÀýÈ磺 <graph bgColor=’FFFFDD’ >
XMLÖеıêÇ©ºÍÊôÐÔÓУº
<graph> Ëù¾ßÓеÄÊôÐÔ
flash±³¾°²ÎÊý£º
* bgColor=”HexColorCode” : ÉèÖÃflashµÄ±³¾°ÑÕÉ«
* bgAlpha=”NumericalValue(0-100)” : ÉèÖñ³¾°µÄ͸Ã÷¶È
* bgSWF=”Path of SWF File” : ÉèÖÃÒ»¸öÍⲿµÄFlash ΪflashµÄ±³¾°
ͼ±í±³¾°²ÎÊý£º
* canvasBgColor=”HexColorCode” : ÉèÖÃͼ±í±³¾°µÄÑÕÉ«
* canvasBaseColor=”HexColorCode” : ÉèÖÃͼ±í»ù²¿µÄÑÕÉ«
* canvasBaseDepth=”Numerical Value” : ÉèÖÃͼ±í»ù²¿µÄ¸ß¶È
* canvasBgDepth=”Numerical Value” : ÉèÖÃͼ±í±³¾°µÄÉî¶È
* showCanvasBg=”1/0″ : ÉèÖÃÊÇ·ñÏÔʾͼ±í±³¾°
* showCanvasBase=”1/0″ : ÉèÖÃÊÇ·ñÏÔʾͼ±í»ù²¿
ͼ±íºÍÖáµÄ±êÌâ
* caption=”String” : ͼ±íÉÏ·½µÄ±êÌâ
* subCaption=”String” : ͼ±íÉÏ·½µÄ¸±±êÌâ
* xAxisName= “String” : XÖáµÄÃû×Ö
* yAxisName= “String” : yÖáµÄÃû×Ö
ͼ±íÊýÁ¿ÖµµÄÏÞÖÆ
* yAxisMinValue=”value”: yÖá×îСֵ
* yAxisMaxValue=”value”: yÖÛ×î´óÖµ
ͨÓòÎÊý
* shownames=”1/0″ : ÉèÖÃÊÇ·ñÔÚxÖáÏÂÏÔʾ<set>ÀïÖ¸¶¨µÄname
* showValues=”1/0″ : ÉèÖÃÊÇ·ñÔÚÖùÐÍͼ»ò±ýÐÍͼÉÏÏÔʾÊý¾ÝµÄÖµ
* showLimits=”1/0″ : ÉèÖÃÊÇ·ñÔÚͼ±íµÄyÖá×ø±êÉÏÏÔʾ×î´ó×îСµÄÊý¾ÝÖµ
* rotateNames=”1/0″ : ÉèÖÃxÖáϵÄname ÊÇˮƽÏÔʾ»¹ÊÇ´¹Ö±ÏÔʾ
* animation=”1/0″ : ÉèÖÃÖùÐÍͼµÄÏÔʾÊÇ·ñÊǶ¯»­ÏÔʾ
×ÖÌåÊôÐÔ
* baseFont=”FontName” : ÉèÖÃ×ÖÌåÑùʽ
* baseFontSize=”FontSize” : ÉèÖÃ×ÖÌå´óС
* baseFontColor=”HexColorCode” : ÉèÖÃ×ÖÌå


Ïà¹ØÎĵµ£º

ASP.NET/XMLÉîÈë±à³Ì¼¼Êõ

ÕâÊǹØÓÚAsp.Net/XMLÉîÈë±à³ÌµÄ¼¼ÊõÊ飬×÷Õß¾«ÐÄÉè¼ÆÁË66¸öʵÀýÏêϸ½éÉÜÁË.Net   FrameworkÒÔ¼°XML¼¼ÊõÔÚ.Net   FrameworkµÄ±à³Ì·½·¨ºÍ¼¼ÇÉ¡£È«ÊéÓÉ12Õ¹¹³É£¬ÄÚÈÝ°üÀ¨.Netƽ̨µÄ½¨Á¢¡¢Asp.NetµÄWeb   Forms¡¢¿Ø¼þ¡¢Êý¾Ý·ÃÎÊ¡¢Web   Service¡¢Asp.NetµÄÉèÖú͸ú×Ù¡¢Asp.NetµÄ°²È« ......

vcʵÏÖxmlµÄ²Ù×÷


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:PMingLiU;
panos ......

ÊÖ´òÔ­xml±Ê¼ÇÊÖ³­±¾

1. <?xml version="1.0" encoding="GB2312" standalone="yes" ?>
       1.1 ÕâÊÇxmlµÄÎĵµÉùÃ÷£¬Ò»°ãλÓÚxmlÎļþµÄÊ×ÐС£
       1.2 Êéд¹æ·¶£º<?xmlΪһÌå Ö®¼ä²»ÄÜÓпոñ¡£
       1.3 encodingÊôÐÔ£¬Èç¹ ......

°ÑXMLDocumentת»»³Éxml×Ö·û´®

XMLDocumentÀàÌṩÁ˷ḻµÄÊôÐԺͷ½·¨£¬¿ÉÒÔ°ïÖúÎÒÃÇÇáËÉÍê³ÉxmlµÄ±à¼­¡£µ«ÊÇ£¬Íê³ÉºóµÄxmlºÜ¶àÇé¿öÏ¿ÉÄÜ»¹ÊÇÐèÒªÒÔ×Ö·û´®ÐÎʽ´«µÝ¡£XMLDocumentÓиöSave·½·¨£¬²»½ö¿ÉÒÔ±£´æXMLÎļþÖÁ´ÅÅÌ£¬»¹Äܽ«Æä±£´æÖÁÖ¸¶¨µÄÁ÷£¬È»ºó£¬¾ÍÄÜ´ÓÕâ¸öÁ÷£¨stream£©¶ÁÈ¡ËùÐèÒªµÄ×Ö·û´®ÁË¡£
XmlDocument doc = new XmlDocument();
...
.../ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ