Style Flex




    
        import mx.collections.ArrayCollection;
        [Bindable]
        public var expenses:ArrayCollection = new ArrayCollection([
            {Month:"Jan", Income:2000, Expenses:1500},
            {Month:"Feb", Income:1000, Expenses:200},
            {Month:"Mar", Income:1500, Expenses:500}
            ]);
        /*
        Style properties on series that affect data labels:
        fontFamily; fontSize; fontStyle; fontWeight;
        labelPosition; labelRotation; labelSizeLimit
        */
      

    
        .incomeSeries { 
            fontSize:9; 
            fontWeight:bold; 
            labelPosition:inside;
            labelAlign:top; 
        } 
        .expensesSeries { 
            fontSize:8; 
            labelPosition:inside;
            labelAlign:middle; 
         }
    

    
                    showDataTips="true">
            
                                    categoryField="Month" />
            

            
                
            

            
                                    displayName="Income" styleName="incomeSeries" />
                                    displayName="Expenses" styleName="expensesSeries" />