0 Replies Latest reply on Jun 25, 2007 12:51 PM by redondo0001

    remove series from linechart array

    redondo0001
      hi people.
      i need some help about this.

      i have a linechart with multiple series ... adding with dinamic whit this.

      private function addSeries():void {
      var ls:LineSeries = new LineSeries();
      ls.dataProvider = dataChartBig3;
      ls.yField = "preculti";
      for(var i:uint=0; i<dataXmlDown.length; i++){
      ls.displayName = dataXmlDown.getItemAt(i).nombre;
      }
      bigChart.dataProvider = ls.dataProvider;
      lineasAc.push(ls);
      bigChart.series = lineasAc;
      }

      how can i remove a "x" serie from that line chart ?