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", Income: 2000, Expenses: 1500, Profit: 500}, 
            {Month: "Feb", Income: 1000, Expenses: 200, Profit: 800}, 
            {Month: "Mar", Income: 1500, Expenses: 500, Profit: 1000} 
            ]); 
      

    
        
            
        

        
            
                
            

            
                                    categoryField="Month" />
            

            
                                    displayName="Income" />
                                    displayName="Expenses" />
                                    displayName="Profit" itemRenderer="mx.charts.renderers.ShadowBoxItemRenderer" />