Chart Flex


    
    xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"
    creationComplete="initLogging();" height="600">
    
        
    

     
         
        import mx.collections.ArrayCollection; 
        import mx.logging.targets.*; 
        import mx.logging.*; 
        [Bindable] 
        public var myData:ArrayCollection; 
        private function initLogging():void { 
            /* Create a target. */ 
            var logTarget:TraceTarget = new TraceTarget(); 
            /* Log only messages for the classes in the mx.rpc.* and 
            mx.messaging packages. */ 
            logTarget.filters=["mx.rpc.*","mx.messaging.*"]; 
            /* Log all log levels. */ 
            logTarget.level = LogEventLevel.ALL; 
            /* Add date, time, category, and log level to the output. */ 
            logTarget.includeDate = true; 
            logTarget.includeTime = true; 
            logTarget.includeCategory = true; 
            logTarget.includeLevel = true; 
            /* Begin logging. */ 
            Log.addTarget(logTarget); 
        } 
      
    

    
        
                    useProxy="false" result="myData=ArrayCollection(srv.lastResult.data.result)" />
    

            showDataTips="true">