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:20, Expenses:15, Amount:145},
      {Month:"Feb", Profit:1, Expenses:2, Amount:60},
      {Month:"Mar", Profit:15, Expenses:5, Amount:3}
      ]);
    
  
    
        @namespace mx "library://ns.adobe.com/flex/mx";
        mx|ColumnChart {
            chartSeriesStyles: PCCSeries1, PCCSeries2;
        }
        .PCCSeries1 {
            fill: #CCFF66;
        }
        .PCCSeries2 {
            fill: #CCFF99;
        }