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] 
        private var expenses:Array = [ 
            {Month:"January", Profit:2000, Expenses:1500, Amount:450}, 
            {Month:"February", Profit:1000, Expenses:200, Amount:600}, 
            {Month:"March", Profit:1500, Expenses:500, Amount:300}, 
            {Month:"April", Profit:500, Expenses:300, Amount:500}, 
            {Month:"May", Profit:1000, Expenses:450, Amount:250}, 
            {Month:"June", Profit:2000, Expenses:500, Amount:700} 
        ]; 
      

    
        
        
        
        
        
        
        
        
    

    
        
    

            height="100%" width="100%">
        
            
        

                    paddingLeft="5" paddingRight="5" showDataTips="true"
            dataProvider="{expenses}">
            
                
            

            
                                    areaStroke="{s1}" areaFill="{sc1}" />
                                    areaStroke="{s2}" areaFill="{sc2}" />
                                    areaStroke="{s3}" areaFill="{sc3}" />