Chart Flex




    
        import mx.charts.HitData;
        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}
            ]);
        public function dtFunc(hd:HitData):String {
            return hd.item.Month + ":$" +
            hd.item.Profit + "
";
        }
      

    
                    dataTipFunction="dtFunc">
            
                                    displayName="Month" />
            

            
                
            

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