2 Replies Latest reply on Oct 25, 2007 10:51 AM by fcruz.primatics

    ShowDataEffect and LineSeries

    fcruz.primatics
      Im trying to create LineSeries via Actionscript but the following does not work:

      for(var i:int = 0; i<cNames.length; i++)
      {
      ls = new LineSeries();
      ls.displayName=scenarioNames .scenario.scenarioName;
      ls.setStyle("form", "curve");
      ls.setStyle("showDataEffect", interpolateIn);
      ls.yField=cNames
      ;
      lineSeriesArray.push(ls);
      lineChart.series =ls;
      }

      it looks like the form set style gets picked up but the showDataEffect does not. Can anybody tell me whats wrong w/ the code?

      BTW, the interpolateIn component is:
      <mx:SeriesInterpolate id="interpolateIn" duration="1000"/>
      copied from the component explorer.