0 Replies Latest reply on Apr 4, 2008 4:48 PM by flashharry!

    iterate over and access pieSeries chart item

    flashharry! Level 1
      HI ALL

      Ok iterating over column chart series does not work with pie series.
      The code I use for column series is below, I want the same for pieseries . I also want to be able to select a piece of a pie chart within code. If a user click a pie chart item, I have have it rotate and expand to show data. I want to do the same in AS. Select pie chart item rotate it, expand it and select it.

      private function findSeries(lbl:String):ColumnSeries{
      var series:ColumnSeries = new ColumnSeries()
      for(var i:int=0;i<colChart.series.length;i++){
      var tmpSeries:ColumnSeries = colChart.series ;
      if(tmpSeries.displayName == lbl)
      series = tmpSeries;
      return series;