0 Replies Latest reply on Apr 6, 2007 10:42 AM by tpeter2

    Application freezes when using setStyle() to assign an itemRenderer to a chart

      My application freezes when I try to set itemRenderer in ActionScript. It works fine when i use mxml, but it doesn't work using setStyle().

      Does anybody know what I am doing wrong?

      Here is how i use it in ActionScript....

      var bs:BarSeries= new BarSeries();
      chart.series = [bs];
      bs = new BarSeries();
      bs.xField = "revenue";
      chart.series[0] = bs;