2 Replies Latest reply on Feb 27, 2008 9:42 PM by san00001

    piechart radius problem

      I am generating dynamic piecharts in flex.Depends upon the datas the radius of pichart is changing.If the value is higher the charts are apperaing larger,if the value is small then charts are displaying in smaller size.I want to give fixed radius.I used OuterRadius property in pieseries but its not working.is there any other way?pls help me.
        • 1. Re: piechart radius problem
          Gregory Lafrance Level 6
          Can you provide simplified code example. The following code has fixed size pie chart no matter what the data values are.

          <?xml version="1.0"?>
          <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml">
          import mx.collections.ArrayCollection;
          public var expenses:ArrayCollection = new ArrayCollection([
          {Expense:"Taxes", Amount:12000},
          {Expense:"Rent", Amount:11000},
          {Expense:"Bills", Amount:1100},
          {Expense:"Car", Amount:4150},
          {Expense:"Gas", Amount:1100},
          {Expense:"Food", Amount:1200}
          <mx:Panel title="Pie Chart">
          <mx:PieChart id="myChart"

          • 2. Re: piechart radius problem
            san00001 Level 1
            The same problem is happening for bar and column chart.Actually i am generating charts dynamically.Depends upon the data the size of chart is changing