Chart Flex



  
     import mx.collections.ArrayCollection;
     [Bindable]
     public var myArray:ArrayCollection = new ArrayCollection([
        {Country:"A", GDP:1},
        {Country:"B", GDP:6},
        {Country:"C", GDP:4},
        {Country:"D", GDP:2}
     ]);
     [Bindable]
     public var myArray2:ArrayCollection = new ArrayCollection([
        {Country:"A", GDP:1},
        {Country:"B", GDP:2},
        {Country:"C", GDP:3},
        {Country:"D", GDP:4}
     ]);

  
     
        
           
        

        
                           dataProvider="{myArray}"
                yField="GDP"
                xField="Country"
                displayName="Array"/>
                           dataProvider="{myArray2}"
                yField="GDP"
                xField="Country"
                displayName="Another Array"/>