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

            width="100%" showDataTips="true">
        
                            categoryField="Month" />
        

        
                            displayName="Profit" />
                            displayName="Expenses" />