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

flex chart µÄÏà¹ØÊôÐÔ×÷ÓÃ


1.       chart£º×ÜÌå¿ØÖÆ
2.      
series£º¶¨ÒåʲôÑùµÄÊý¾ÝÀ´Õ¹Ê¾£¬x,yÖá·Ö±ðÏÔʾʲôÊý¾Ý¡£ËüÊǰüº¬ÏàÓ¦µÄseriesItemµÄArray¡£SeriesItem·â×°Á˼«Öµ
µã£¬Ìî³ä·½Ê½£¬xyÊý¾ÝµÈ¡£
3.       series ÖÐdisplayNameÊôÐÔ¿ØÖÆtooltip
4.       barest->barseries, columnset->columnset
5.       categoryAxis½«Ä³ÁÐÊý¾ÝÓ³Éäµ½ÖáÉÏ
linerAxis×Ô¶¨ÒåÖáÊý¾Ý£¬×î´óÖµºÍ×îСֵ
logAxisÓöÔÊýÐÎʽ
datetimeAxis
6.       ͨ¹ýaxixrender¸ü¸ÄÖáµÄÍâ¹Ûspecified by the horizontalAxisRenderers
or verticalAxisRenderers
7.       chartdataµÄÊý¾ÝÔ´£º
scriptblock£¬xml£¬remoteobject£¬webservice£¬Httpservice£¬MXML
Êý¾ÝÔ´ÀàÐÍ£º
£¨1£©static Array
private var expenses:Array = [
        {Month:"January",Profit:2000,Expenses:1500,Amount:450},
        {Month:"February",Profit:1000,Expenses:200,Amount:600},
        {Month:"March",Profit:1500,Expenses:500,Amount:300},
        {Month:"April",Profit:500,Expenses:300,Amount:500},
        {Month:"May",Profit:1000,Expenses:450,Amount:250},
        {Month:"June",Profit:2000,Expenses:500,Amount:700}
     ];
£¨1£©       MXML£º
<mx:Array id="expenses">
     <mx:Object
        Month="January"
        Profit="2000"
        Expenses="1500"
        Amount="450"
     />
    


Ïà¹ØÎĵµ£º

Flex Æô¶¯»ù±¾Á÷³Ì


First, enough bytes for frame 1 are streamed down to the Flash
Player.
The Flash Player executes those bytes by creating a SystemManager
instance.
SystemManager instruct the Flash Player to stop at the end of frame
1.
SystemManager then goes on to create the Preloader which creates the ......

netbeans + flex µÚÒ»¸öDEMO

  Ê×ÏȽ¨Ò»¸önetbeansµÄjava webÏîÄ¿
È»ºó´ÓÍøÉϰÉblazeds.war ÏÂÔØÏÂÀ´ÓÃrar ½âѹ °Ñweb-inf Ìæ»»µôÔÚnetbeans\web ÏÂÃæµÄweb-infÖеÄÈ«²¿Îļþ
È»ºó ²¿ÊðÏÂ
ÔÚ´ò¿ªflex builder н¨Ò»¸öflex project Ð´ÉÏÃû×ÖºÍÏîĿ·¾¶
ÔÚApplication server type Ñ¡ÖÐj2ee
µã»÷ ÏÂÒ»²½
È»ºó Root folderÑ¡ÖÐnet ......

Flex ÖÐÐèÒª¼ÇסµÄһЩ¶«Î÷

Ò»¡¢Application³£ÓõÄʼþ
initialize=============>³õʼ»¯
createcomplate==========>ÔªËØ¼ÓÔØÍê
initialize·¢ÉúÔÚcreatecomplate֮ǰ¡£
¶þ¡¢Êý¾ÝÇëÇó˵Ã÷
HTTPService==========>httpÊý¾ÝÇëÇó¡£
SOAP(Simple Object Access Protocal)=======> webService
AMF(Adobe Action Message Format)========&g ......

Flexʼþ»úÖÆ»ù´¡(Ò»)

ºÜ¶à¿ª·¢ÈËÔ±¶¼ÖªµÀÈçºÎʹÓÃʼþ»úÖÆ£¬µ«È´²»Àí½âʼþ»úÖÆµÄ»ù±¾¹¤×÷Ô­Àí¡£ÔÚÕâÀïÎÒÃÇ̽ÌÖÒ»ÏÂActionScript 3µÄʼþ»úÖÆ(ÎÞÂÛÊÇÐÂÊÖ»¹ÊÇÀÏÊÖ£¬ÎÒÏàÐÅ¿´µ½×îºó¿Ï¶¨¶ÔÄãÓÐËù°ïÖú )¡£
1. Ê×ÏÈÀ´¿´Ò»ÏÂʼþ»úÖÆÖеö»ù±¾¸ÅÄ
event objects(ÕâÀïÎÒÃǹÃÇÒ½ÐËüʼþ¶ÔÏó)£ºËùÓеÄʼþ¶ÔÏó¶¼ÊÇflash.events.Event»òÕ߯ä×ÓÀà¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ