Chart Flex



  
     import mx.collections.ArrayCollection;
     [Bindable]
     public var myArray:ArrayCollection = new ArrayCollection([
        {Country:"A", GDP:1},
        {Country:"B", GDP:6},
        {Country:"C", GDP:4},
        {Country:"D", GDP:2}
     ]);

  
     
        
           
        

         
                
                    
                        
                        
                    

                

           

        
                           dataProvider="{myArray}"
                yField="GDP"
                xField="Country"
                displayName="Array"/>