Chart Flex




  
    import mx.collections.ArrayCollection;
    import mx.graphics.Stroke;
    [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 changeStroke(e:Event):void {
      var s:Stroke = new Stroke(0x001100,2);
      s.alpha = .5;
      s.color = 0x0000FF;
      har1.setStyle("axisStroke",s);
      var1.setStyle("axisStroke",s);
    }
    

      alpha=".25" caps="square" />
  
    
      
                  categoryField="Month" />
      

      
        
          {baseAxisStroke}
        
      

      
        
          {baseAxisStroke}
        
      

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

    
    
  
      label="Change Stroke" />