Chart Flex


    
    xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
    height="600">
     
        import mx.collections.ArrayCollection; 
        [Bindable] 
        public var expenses:ArrayCollection = new ArrayCollection([ 
            {Month:"Jan", Revenue:1200, Expenses:500}, 
            {Month:"Feb", Revenue:1200, Expenses:550}, 
            {Month:"Mar", Revenue:1240, Expenses:475}, 
            {Month:"Apr", Revenue:1300, Expenses:600}, 
            {Month:"May", Revenue:1420, Expenses:575}, 
            {Month:"Jun", Revenue:1400, Expenses:600}, 
            {Month:"Jul", Revenue:1500, Expenses:600}, 
            {Month:"Aug", Revenue:1600, Expenses:750}, 
            {Month:"Sep", Revenue:1600, Expenses:735}, 
            {Month:"Oct", Revenue:1750, Expenses:750}, 
            {Month:"Nov", Revenue:1800, Expenses:800}, 
            {Month:"Dec", Revenue:2000, Expenses:850} 
        ]); 
      

    
        
    

    
        
            
        

        
            
                                    categoryField="Month" />
            

            
                                    displayName="Revenue" />